linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] Problem with host port, passwordless authenticatio


From: marco . wollschlaeger
Subject: [Linphone-developers] Problem with host port, passwordless authentication and remote configuration
Date: Mon, 24 Oct 2016 16:57:15 +0200

Hi,

I'm currently testing multipe mobile softphone/SIP clients for our telephony solution. Linphone was one of them and has the potential to be the one that is picked because of the remote provisioning feature. However, there are some things that are not optimal for our setup and I could not find a way to set it:

1) We normally don't use a password for the authentication because we are not connected to the internet (only intranet) and the devices still have to be authenticated to access the network. Linphone however seems to require a password or is it possible to use it without a password (for example via the remote provisioning)?

2)  Linphone can't get a connection to our server (with password enabled). The problem that i found is that we use a dedicated server (a host server, not a domain) for the sip registration which also uses a specific port. This seems to be a problem for Linphone as I am not able to set such a port in the settings. Here is an example trace of the SIP registration with Linphone and of Zoiper's SIP Softphone (which works):

-----------------------------------------------------------------------------------------------------------------------------------------------------
REGISTER sip:192.168.0.2:5068 SIP/2.0
Contact: <sip:address@hidden;app-id=622464153529;pn-type=google;pn-tok=622464153529>;+sip.instance="<urn:uuid:ac491bdb-e3f9-41e1-9954-8e5beeffa619>"
From: "ST123" <sip:address@hidden>;tag=77YCv2O~2
To: "ST123" <sip:address@hidden>
Via: SIP/2.0/UDP 192.168.1.47:5060;branch=z9hG4bK.H~wkd6mYY;rport
Expires: 60
Max-Forwards: 70
Call-ID: kzgM659xGC
CSeq: 1 REGISTER
Supported: replaces, outbound
Accept: application/sdp
Accept: text/plain
Accept: application/vnd.gsma.rcs-ft-http+xml
User-Agent: LinphoneAndroid/3.1.1 (belle-sip/1.4.2)
-----------------------------------------------------------------------------------------------------------------------------------------------------
REGISTER sip:192.168.0.2:5068;transport=UDP SIP/2.0
Contact: <sip:address@hidden:5060;rinstance=8855c909f9088b93;transport=UDP>
From: "ST123"<sip:address@hidden:5068;transport=UDP>;tag=7c339946
To: "ST123"<sip:address@hidden:5068;transport=UDP>
Via: SIP/2.0/UDP 192.168.1.47:5060;branch=z9hG4bK-524287-1---812baaafae02f067
Expires: 60
Max-Forwards: 70
Call-ID: KWifuDOQ6yU3MMmQxuKjUw..
CSeq: 1 REGISTER
Allow-Events: presence, kpml, talk
Content-Length: 0
User-Agent: Zoiper rv2.8.15
-----------------------------------------------------------------------------------------------------------------------------------------------------

The problem is the "From" and "To" sections of the registration as Linphone did not set the port (5068) of our server unlike Zoiper. Now the question is: Is there a way to set the port for "From" and "To" which is probably liked to the domain?

3) The last problem I have is with the remote provisioning feature. I cannot get a (complete) configuration running. It will just set some of the values but not all. Here is my XML file:

<?xml version="1.0" encoding="UTF-8"?>
<config xmlns="http://www.linphone.org/xsds/lpconfig.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.linphone.org/xsds/lpconfig.xsd lpconfig.xsd">
<section name="sip">
           <entry name="sip_port">5060</entry>         <entry name="guess_hostname">0</entry>
        <entry name="contact">&#60;sip:address@hidden:5068&#62;</entry>
        <entry name="inc_timeout">30</entry>
        <entry name="use_info">0</entry>
        <entry name="use_ipv6">0</entry>
            <entry name="use_rfc2833">1</entry>
        <entry name="default_proxy">0</entry>
        <entry name="register_only_when_network_is_up">1</entry>
        <entry name="auto_net_state_mon">1</entry>
        <entry name="sip_tcp_port">-1</entry>
        <entry name="sip_tls_port">-1</entry>
</section>
<section name="proxy_0">
        <entry name="reg_proxy">&#60;sip:192.168.1.4:5060;transport=udp&#62;</entry>
        <entry name="reg_route">&#60;sip:192.168.1.4:5060;transport=udp&#62;</entry>
    <entry name="reg_identity">sip:station123</entry>
    <entry name="reg_expires">60</entry>
        <entry name="reg_sendregister">1</entry>
        <entry name="publish">0</entry>
</section>
<section name="auth_info_0">
        <entry name="username">station123</entry>
        <entry name="userid">station123</entry>
        <entry name="password">123456789</entry>
</section>
 <section name="video">
    <entry name="enabled">0</entry>
    <entry name="show_local">0</entry>
</section>
</config>

It would also help, if there was a log file or if i could find the linphonerc on my android device so I could find the problem myself.

Thank you for your help!

Regards,
Marco Wollschl├Ąger
reply via email to

[Prev in Thread] Current Thread [Next in Thread]