linphone-users
[Top][All Lists]
Advanced

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

Re: [Linphone-users] Problem with Proxy since version ~3.2


From: Guillaume Beraudo
Subject: Re: [Linphone-users] Problem with Proxy since version ~3.2
Date: Fri, 9 Aug 2013 09:32:00 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Hi,


Your version of exosip may be old and buggy.

You may try to update exosip and recompile your version of linphone.
Or better, clone linphone from git and new sip stack belle-sip.

You may also try our new "linux universal bundle" at
https://www.linphone.org/snapshots/linux/rootfs7.tar.gz

Guillaume


On Wed, Aug 07, 2013 at 06:40:28PM +0200, Florian Eyben wrote:
> Thanks for your reply Guillaume!
> 
> I've tried with calling a fully qualified URI.
> 
> Config:
> SIP id: sip:address@hidden
> Proxy:  mydyndnsname
> Route:  mydyndnsname
> 
> Fromt the log, registration fails first, but then succeeds.
> 
> Calling sip:address@hidden (log below), when I just call a user
> name, e.g. 08003301000 nothing happens, no further log messages appear.
> Here is the log for the sip URI (with IPs and personal names replaced):
> 
> 
> message: oRTP-0.20.0 initialized.
> message: assigning PCMU/8000 payload type number 0
> message: assigning GSM/8000 payload type number 3
> message: assigning PCMA/8000 payload type number 8
> message: assigning speex/8000 payload type number 110
> message: assigning speex/16000 payload type number 111
> message: assigning speex/32000 payload type number 112
> message: assigning telephone-event/8000 payload type number 101
> message: assigning G722/8000 payload type number 9
> message: assigning H263/90000 payload type number 34
> message: assigning theora/90000 payload type number 97
> message: assigning H263-1998/90000 payload type number 98
> message: assigning MP4V-ES/90000 payload type number 99
> message: assigning H264/90000 payload type number 102
> message: assigning VP8/90000 payload type number 103
> message: assigning x-snow/90000 payload type number 96
> message: assigning iLBC/8000 payload type number 100
> message: assigning AMR/8000 payload type number 104
> message: assigning AMR-WB/16000 payload type number 105
> message: assigning 1015/8000 payload type number 106
> message: assigning G726-16/8000 payload type number 107
> message: assigning G726-24/8000 payload type number 108
> message: assigning G726-32/8000 payload type number 109
> message: assigning G726-40/8000 payload type number 113
> message: assigning AAL2-G726-16/8000 payload type number 114
> message: assigning AAL2-G726-24/8000 payload type number 115
> message: assigning AAL2-G726-32/8000 payload type number 116
> message: assigning AAL2-G726-40/8000 payload type number 117
> message: assigning SILK/8000 payload type number 118
> message: assigning SILK/12000 payload type number 119
> message: assigning SILK/16000 payload type number 120
> message: assigning SILK/24000 payload type number 121
> message: assigning G729/8000 payload type number 18
> message: Mediastreamer2 2.8.2 (git: 2.8.1-5-g7114083) starting.
> message: Registering all soundcard handlers
> message: Card 'ALSA: default device' added
> warning: Could not attach mixer to card: Das Argument ist ungültig
> message: Card 'ALSA: HDA ATI SB' added
> warning: Could not attach mixer to card: Das Argument ist ungültig
> warning: Strange, sound card HDA NVidia does not seems to be capable of
> anything, retrying with plughw...
> warning: Strange, sound card HDA NVidia seems totally unusable.
> message: Card 'ALSA: HDA NVidia' added
> message: Card 'PulseAudio: default' added
> message: New PulseAudio context state: PA_CONTEXT_CONNECTING
> message: New PulseAudio context state: PA_CONTEXT_FAILED
> message: Registering all webcam handlers
> message: Webcam StaticImage: Static picture added
> message: Loading ms plugins fron [/usr/lib/mediastreamer/plugins]
> message: Loading plugin /usr/lib/mediastreamer/plugins/libmsx264.so.0.0.0...
> message: ms264-1.4.2 plugin registered.
> message: Plugin loaded (/usr/lib/mediastreamer/plugins/libmsx264.so.0.0.0)
> message: Loading plugin
> /usr/lib/mediastreamer/plugins/libmsbcg729.so.0.0.0...
> message:  libmsbcg729 1.0.0 plugin loaded
> message: Plugin loaded (/usr/lib/mediastreamer/plugins/libmsbcg729.so.0.0.0)
> message: Loading plugin /usr/lib/mediastreamer/plugins/libmsamr.so.0.0.0...
> message: libmsamr 0.0.1 plugin loaded
> message: Plugin loaded (/usr/lib/mediastreamer/plugins/libmsamr.so.0.0.0)
> message: ms_init() done
> message: Cannot open directory /usr/lib/liblinphone/plugins: Datei oder
> Verzeichnis nicht gefunden
> message: linphone_core_set_playback_gain_db(): no active call.
> message: Adding new codec L16/44100 with fmtp
> message: getaddrinfo returned the following addresses:
> message: 0.0.0.0 port 5060
> message: eXosip: Reseting timer to 10s before waking up!
> message: New local ip address is MYHOST_LOCALIP_EXTERNAL
> message: Network state is now [UP]
> message: getaddrinfo returned the following addresses:
> message: 0.0.0.0 port 5060
> message: Local interface to reach 87.98.157.38 is MYHOST_LOCALIP_EXTERNAL.
> message: eXosip: Reseting timer to 10s before waking up!
> message: allocating transaction ressource 1 971472840
> message: allocating NICT context
> message: eXosip_dnsutils_naptr_lookup: About to ask for 'mydyndnsname NAPTR'
> error: eXosip_dnsutils_naptr_lookup: res_query failed ('mydyndnsname NAPTR')
> message: DNS resolution with mydyndnsname:5060
> message: getaddrinfo returned the following addresses:
> message: XXXXXXXXXXXX port 5060
> message: Message sent: (to dest=XXXXXXXXX:5060)
> REGISTER sip:fritz.box SIP/2.0
> Via: SIP/2.0/UDP MYHOST_LOCALIP_EXTERNAL:5060;rport;branch=z9hG4bK1273345911
> From: <sip:address@hidden>;tag=106611126
> To: <sip:address@hidden>
> Call-ID: 971472840
> CSeq: 1 REGISTER
> Contact: <sip:address@hidden;line=7dd0230c792003d>
> Max-Forwards: 70
> User-Agent: Linphone/3.5.2 (eXosip2/3.6.0)
> Expires: 600
> Content-Length: 0
> 
> 
> message: eXosip option set: dns cache added:mydyndnsname -> XXXXXXXXXX
> message: cb_sndregister (id=1)
> message: eXosip: timer sec:0 usec:509975!
> message: allocating transaction ressource 2 1209979720
> message: allocating NICT context
> message: eXosip_dnsutils_naptr_lookup: About to ask for 'fritz.box NAPTR'
> error: eXosip_dnsutils_naptr_lookup: res_query failed ('fritz.box NAPTR')
> message: DNS resolution with fritz.box:5060
> message: getaddrinfo failure. fritz.box:5060 (-5)
> message: cb_transport_error (id=2)
> message: cb_nict_kill_transaction (id=2)
> message: eXosip: timer sec:0 usec:499536!
> message: linphone process event get a message 31
> 
> warning: other_request_reply(): Receiving response to unknown request.
> message: Received message:
> SIP/2.0 401 Unauthorized
> Via: SIP/2.0/UDP
> MYHOST_LOCALIP_EXTERNAL:5060;rport=5060;branch=z9hG4bK1273345911
> From: <sip:address@hidden>;tag=106611126
> To: <sip:address@hidden>;tag=2F070A338389766C
> Call-ID: 971472840
> CSeq: 1 REGISTER
> WWW-Authenticate: Digest realm="fritz.box", nonce="D13288AEB62E0905"
> User-Agent: AVM FRITZ!Box Fon WLAN 7390 84.05.50 (Dec 11 2012)
> Content-Length: 0
> 
> 
> message: Message received from: XXXXXXX:5060
> message: Message received from: XXXXXXX:5060
> message: MESSAGE REC. CALLID:971472840
> message: Message received from: XXXXXXXXXX:5060
> message: cb_rcv4xx (id=1)
> message: eXosip: timer sec:5 usec:10000!
> message: linphone process event get a message 2
> 
> message: REGISTRATION_FAILURE
> 
> message: auth_requested() for realm="fritz.box", username=123
> message: auth_requested(): authenticating realm="fritz.box", username=123
> message: Authentication info for username [123], id[123], realm
> ["fritz.box"] added to eXosip
> message: Contact address updated to <sip:address@hidden>
> message: INFO: authinfo: "fritz.box" "fritz.box"
> message: allocating transaction ressource 3 971472840
> message: allocating NICT context
> message: eXosip_default_action() done
> message: eXosip option set: dns cache used:mydyndnsname -> XXXXXXXXX
> message: DNS resolution with mydyndnsname:5060
> message: getaddrinfo returned the following addresses:
> message: XXXXXXXXXXXXX port 5060
> message: Message sent: (to dest=XXXXXXXXXXXX:5060)
> REGISTER sip:fritz.box SIP/2.0
> Via: SIP/2.0/UDP MYHOST_LOCALIP_EXTERNAL:5060;rport;branch=z9hG4bK1551983604
> From: <sip:address@hidden>;tag=106611126
> To: <sip:address@hidden>
> Call-ID: 971472840
> CSeq: 2 REGISTER
> Contact: <sip:address@hidden;line=7dd0230c792003d>
> Authorization: Digest username="123", realm="fritz.box",
> nonce="D13288AEB62E0905", uri="sip:fritz.box",
> response="25709f5dfc9f2f97e0cc51f843f07e95", algorithm=MD5
> Max-Forwards: 70
> User-Agent: Linphone/3.5.2 (eXosip2/3.6.0)
> Expires: 600
> Content-Length: 0
> 
> 
> message: eXosip option set: dns cache updated:mydyndnsname -> XXXXXXXXXXXX
> message: cb_sndregister (id=3)
> message: eXosip: timer sec:0 usec:509993!
> message: Received message:
> SIP/2.0 200 OK
> Via: SIP/2.0/UDP
> MYHOST_LOCALIP_EXTERNAL:5060;rport=5060;branch=z9hG4bK1551983604
> From: <sip:address@hidden>;tag=106611126
> To: <sip:address@hidden>;tag=ECCEF79AAC6E351D
> Call-ID: 971472840
> CSeq: 2 REGISTER
> Contact: <sip:address@hidden;line=7dd0230c792003d>;expires=300
> User-Agent: AVM FRITZ!Box Fon WLAN 7390 84.05.50 (Dec 11 2012)
> Supported: 100rel,replaces,timer
> Allow-Events: telephone-event,refer,reg
> Allow:
> INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH
> Accept: application/sdp, multipart/mixed
> Accept-Encoding: identity
> Content-Length: 0
> 
> 
> message: Message received from: XXXXXXXXXX:5060
> message: Message received from: XXXXXXXXXX:5060
> message: MESSAGE REC. CALLID:971472840
> message: Message received from: XXXXXXXXXX:5060
> message: cb_rcv2xx (id=3)
> message: eXosip: timer sec:4 usec:958328!
> message: linphone process event get a message 1
> 
> message: "fritz.box"/123 authentication works.
> message: Register has up to date contact, doing nothing.
> message: Overriding default proxy setting for this call:
> message: The used identity will be sip:address@hidden
> message: Local interface to reach 87.98.157.38 is MYHOST_LOCALIP_EXTERNAL.
> message: Notifying all friends that we are in status 5
> message: Sending stun requests...
> message: STUN test result: local audio port maps to
> MYHOST_LOCALIP_EXTERNAL:7078
> message: NAT is symmetric for audio port
> error: getaddrinfo(): Zu diesem Hostnamen gehört keine Adresse
> 
> message: Call 0x11d0820: moving from state LinphoneCallIdle to
> LinphoneCallOutgoingInit
> message: Contact has been fixed using proxy to
> <sip:address@hidden>
> warning: cannot set noise gate mode to [0] because no volume send
> message: allocating transaction ressource 4 1326188394
> message: allocating ICT context
> message: eXosip_dnsutils_naptr_lookup: About to ask for 'fritz.box NAPTR'
> error: eXosip_dnsutils_naptr_lookup: res_query failed ('fritz.box NAPTR')
> message: Call 0x11d0820: moving from state LinphoneCallOutgoingInit to
> LinphoneCallOutgoingProgress
> message: DNS resolution with fritz.box:5060
> message: getaddrinfo failure. fritz.box:5060 (-5)
> message: cb_transport_error (id=4)
> message: cb_nict_kill_transaction (id=4)
> message: eXosip: timer sec:2 usec:644267!
> message: cb_nict_kill_transaction (id=1)
> message: eXosip: timer sec:0 usec:49309!
> message: cb_nict_kill_transaction (id=3)
> message: eXosip: Reseting timer to 10s before waking up!
> message: eXosip: remove a call
> message: free transaction ressource 4 1326188394
> message: free ict ressource
> message: free transaction ressource 1 971472840
> message: free nict ressource
> message: keep alive: 5
> message: eXosip: Keep Alive sent on UDP!
> message: eXosip: Reseting timer to 10s before waking up!
> message: eXosip: Reseting timer to 10s before waking up!
> message: linphone process event get a message 26
> 
> message: CALL_RELEASED
> 
> message: Filter usage statistics:
> message: Name Count Time/tick (ms) CPU Usage
> message: MSSpeexEC 0 0 0
> message: MSRtpSend 0 0 0
> message: Call 0x11d0820: moving from state LinphoneCallOutgoingProgress to
> LinphoneCallError
> message: Resetting the current call
> message: Notifying all friends that we are in status 1
> message: Call 0x11d0820: moving from state LinphoneCallError to
> LinphoneCallReleased
> message: Cleaning cid 1
> message: keep alive: 0
> message: eXosip: Keep Alive sent on UDP!
> message: eXosip: Reseting timer to 10s before waking up!
> 
> 
> 
> 2013/8/7 Guillaume Beraudo <address@hidden>
> Hi,
> 
> You should either enter:
> - a username like 'toto' or '12345' which will be rewritten the domain;
> - an ip like 'sip:1.1.1.1';
> - a fully qualified sip uri like 'sip:address@hidden'.
> 
> 
> Be sure that sip proxy and route works perfectly.
> Your config is correct.
> 
> 
> With logs we may help you further.
> 
> Cheers,
> 
> Guillaume
> 
> On Wed, Aug 07, 2013 at 04:00:02PM +0200, Florian Eyben wrote:
> > Hi linphone community,
> >
> > I've been using linphone very successfully together with a fritz.box, but
> > in the recent versions of linphone (3.2.something and beyond I believe)
> > something has totally been broken.
> >
> > I have configured a sip account as:
> > identity:  sip:address@hidden
> > proxy:    sip:address@hidden
> > route:    sip:address@hidden
> >
> > This config has worked in the past... I've also tried several variants of
> > proxy and sip, with or without the 123 as user name...
> > The host fritz.box of course does not exist on my network (this is why I'm
> > using the proxy option), but it is the registration realm that the sip
> > server (the fritz box) expects for a successful registration. i'm also
> > seeing that the account has successfully been registered.
> >
> > When I make a call with just a number nothing happens (no message at all
> in
> > the debug log) - the used to work with an older version.
> > When I append @fritz.box it tries to resolve fritz.box locally, but
> doesn't
> > use the proxy:
> > error: eXosip_dnsutils_naptr_lookup: res_query failed ('fritz.box NAPTR')
> >
> > I also get while I type the sip url:
> > error: Cannot create LinphoneAddress, bad uri address@hidden
> >
> > To me it seems that someone has updated the way that linphone treats the
> > numbers and sip URIs (possibly to make it conform to some standard), but
> > thereby has totally broken it - at least when using a proxy like I do.
> >
> > It's a real pitty (still persists in the 3.5.2 version - precise PPA),
> > since linphone was the only program which worked perfectly out of the box
> > with my settings, and has stopped now due to some update which seems not
> > reasonable to me
> >
> > Please advise on how to solve the issue!
> >
> > Best,
> > Florian
> 
> > _______________________________________________
> > Linphone-users mailing list
> > address@hidden
> > https://lists.nongnu.org/mailman/listinfo/linphone-users
> 
> 
> _______________________________________________
> Linphone-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/linphone-users

> _______________________________________________
> Linphone-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/linphone-users




reply via email to

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