Created attachment 31829 [details] log file Sending SMS using my voipbuster account used to work fine last time I checked (a while ago...) but seems broken with tp-sofiasip 0.5.18.
This is fixed in telepathy-sofiasip 0.5.19.
I upgraded to 0.5.19 and how have this error: (telepathy-sofiasip:8406): tp-glib/connection-DEBUG: channel_request_new: New channel request at 0x1729410: ctype=org.freedesktop.Telepathy.Channel.Type.Text htype=1 handle=2 suppress=0 ** (telepathy-sofiasip:8406): DEBUG: tpsip_text_factory_new_channel: object path /org/freedesktop/Telepathy/Connection/sofiasip/sip/gdesmott_40voipbuster_2ecom/TextChannel2 ** (telepathy-sofiasip:8406): DEBUG: tpsip_text_channel_class_init: enter ** (telepathy-sofiasip:8406): DEBUG: tpsip_text_channel_init: enter (telepathy-sofiasip:8406): tp-glib/connection-DEBUG: satisfy_request: completing queued request 0x1729410 with success, channel_type=org.freedesktop.Telepathy.Channel.Type.Text, handle_type=1, handle=2, suppress_handler=0 (telepathy-sofiasip:8406): tp-glib/connection-DEBUG: channel_request_free: Freeing channel request at 0x1729410: ctype=org.freedesktop.Telepathy.Channel.Type.Text htype=1 handle=2 suppress=0 ** (telepathy-sofiasip:8406): DEBUG: tpsip_text_channel_get_interfaces: enter ** (telepathy-sofiasip:8406): DEBUG: tpsip_text_channel_get_interfaces: enter ** (telepathy-sofiasip:8406): DEBUG: conn_get_alias: handle 1 got alias gdesmott@voipbuster.com ** (telepathy-sofiasip:8406): DEBUG: conn_get_alias: handle 2 got alias +32472450423@voipbuster.com ** (telepathy-sofiasip:8406): DEBUG: tpsip_text_channel_send: enter ** (telepathy-sofiasip:8406): DEBUG: tpsip_text_channel_send: message queued for delivery with timestamp 1260278550 send 505 bytes to udp/[77.72.169.129]:5060 at 13:22:30.176307: ------------------------------------------------------------------------ MESSAGE sip:+32472450423@voipbuster.com SIP/2.0 Via: SIP/2.0/UDP 172.22.64.192:59143;rport;branch=z9hG4bKHXv0j8jHK438N Max-Forwards: 70 From: <sip:gdesmott@voipbuster.com>;tag=F6v9U92Z1j98j To: <sip:+32472450423@voipbuster.com> Call-ID: 93e2ccbe-5e9f-122d-929d-001f161740ff CSeq: 124020928 MESSAGE User-Agent: Telepathy-SofiaSIP/0.5.19 sofia-sip/1.12.10 Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, UPDATE Supported: timer, 100rel Content-Type: text/plain Content-Length: 4 test ------------------------------------------------------------------------ recv 521 bytes from udp/[77.72.169.129]:5060 at 13:22:30.225885: ------------------------------------------------------------------------ SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 172.22.64.192:59143;rport;branch=z9hG4bKHXv0j8jHK438N From: <sip:gdesmott@voipbuster.com>;tag=F6v9U92Z1j98j To: <sip:+32472450423@voipbuster.com> Contact: sip:+32472450423@77.72.169.129:5060 Call-ID: 93e2ccbe-5e9f-122d-929d-001f161740ff CSeq: 124020928 MESSAGE Server: (Very nice Sip Registrar/Proxy Server) Allow: ACK,BYE,CANCEL,INVITE,REGISTER,OPTIONS,INFO,MESSAGE WWW-Authenticate: Digest realm="voipbuster.com",nonce="3394891750",algorithm=MD5 Content-Length: 0 ------------------------------------------------------------------------ ** (telepathy-sofiasip:8406): DEBUG: tpsip_connection_sofia_callback: event nua_r_message: 401 Unauthorized ** (telepathy-sofiasip:8406): DEBUG: tpsip_connection_sofia_callback: connection 0x1731110, refcount 1 ** (telepathy-sofiasip:8406): DEBUG: tpsip_connection_sofia_callback: dispatching to target 0x172dd20 (handle 0x172a940) ** (telepathy-sofiasip:8406): DEBUG: priv_handle_auth: response presents an authentication challenge ** (telepathy-sofiasip:8406): DEBUG: priv_handle_auth: using the primary auth credentials ** (telepathy-sofiasip:8406): DEBUG: priv_handle_auth: server authenticating user='gdesmott' realm="voipbuster.com" ** (telepathy-sofiasip:8406): DEBUG: tpsip_connection_sofia_callback: exit send 691 bytes to udp/[77.72.169.129]:5060 at 13:22:30.226662: ------------------------------------------------------------------------ MESSAGE sip:+32472450423@voipbuster.com SIP/2.0 Via: SIP/2.0/UDP 172.22.64.192:59143;rport;branch=z9hG4bKj6NSm33mgDtUH Max-Forwards: 70 From: <sip:gdesmott@voipbuster.com>;tag=gFp2X4K3yUZUe To: <sip:+32472450423@voipbuster.com> Call-ID: 93ea7b26-5e9f-122d-929d-001f161740ff CSeq: 124020929 MESSAGE User-Agent: Telepathy-SofiaSIP/0.5.19 sofia-sip/1.12.10 Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, UPDATE Supported: timer, 100rel Authorization: Digest username="gdesmott", realm="voipbuster.com", nonce="3394891750", algorithm=MD5, uri="sip:+32472450423@voipbuster.com", response="16dbf7df244d38577bda0c3476b0d7a2" Content-Type: text/plain Content-Length: 4 test ------------------------------------------------------------------------ recv 521 bytes from udp/[77.72.169.129]:5060 at 13:22:30.277522: ------------------------------------------------------------------------ SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 172.22.64.192:59143;rport;branch=z9hG4bKj6NSm33mgDtUH From: <sip:gdesmott@voipbuster.com>;tag=gFp2X4K3yUZUe To: <sip:+32472450423@voipbuster.com> Contact: sip:+32472450423@77.72.169.129:5060 Call-ID: 93ea7b26-5e9f-122d-929d-001f161740ff CSeq: 124020929 MESSAGE Server: (Very nice Sip Registrar/Proxy Server) Allow: ACK,BYE,CANCEL,INVITE,REGISTER,OPTIONS,INFO,MESSAGE WWW-Authenticate: Digest realm="voipbuster.com",nonce="3330369922",algorithm=MD5 Content-Length: 0 ------------------------------------------------------------------------ ** (telepathy-sofiasip:8406): DEBUG: tpsip_connection_sofia_callback: event nua_r_message: 401 Unauthorized ** (telepathy-sofiasip:8406): DEBUG: tpsip_connection_sofia_callback: connection 0x1731110, refcount 1 ** (telepathy-sofiasip:8406): DEBUG: tpsip_connection_sofia_callback: dispatching to target 0x172dd20 (handle 0x172a940) ** (telepathy-sofiasip:8406): DEBUG: priv_handle_auth: response presents an authentication challenge ** (telepathy-sofiasip:8406): DEBUG: priv_handle_auth: using the primary auth credentials ** (telepathy-sofiasip:8406): DEBUG: priv_handle_auth: server authenticating user='gdesmott' realm="voipbuster.com" ** (telepathy-sofiasip:8406): DEBUG: tpsip_connection_sofia_callback: exit ** (telepathy-sofiasip:8406): DEBUG: tpsip_connection_sofia_callback: event nua_r_message: 904 Operation has no matching challenge ** (telepathy-sofiasip:8406): DEBUG: tpsip_connection_sofia_callback: connection 0x1731110, refcount 1 ** (telepathy-sofiasip:8406): DEBUG: tpsip_connection_sofia_callback: dispatching to target 0x172dd20 (handle 0x172a940) ** (telepathy-sofiasip:8406): DEBUG: tpsip_connection_sofia_callback: exit
(In reply to comment #2) > I upgraded to 0.5.19 and how have this error: ... authentication failure. So you are able to register on the realm "voipbuster.com", but for messages, they requre some other credentials? Telepathy-SofiaSIP cannot deal with this now.
Yeah, I'm connected to the server and can make call but can't send messages.
Weird. Can't fix until I know what the heck they expect for authentication of MESSAGE requests specifically. Maybe, it's just their way to say that they don't allow messaging?
Created attachment 31851 [details] Ekiga log I tried with Ekiga and sending SMS worked fine. Attaching Ekiga log.
re-opening
Got it! The registrar wasn't configured in Empathy. I added it manually using mc-tool and it worked fine. Time to add a registrar option in the Empathy UI. :) Thanks for your help.
(In reply to comment #8) > Got it! The registrar wasn't configured in Empathy. I added it manually using > mc-tool and it worked fine. > > Time to add a registrar option in the Empathy UI. :) Err... you probably wanted to set the proxy-host parameter. 'registrar' should not be necessary if you use that.
When setting the proxy-host to sip1.voipbuster.com I don't have an error any more but don't receive the SMS. send 513 bytes to udp/[77.72.169.129]:5060 at 10:29:33.939655: ------------------------------------------------------------------------ MESSAGE sip:+32472450423@voipbuster.com SIP/2.0 Via: SIP/2.0/UDP 172.22.64.192:59110;rport;branch=z9hG4bKDS61D5HUta46H Max-Forwards: 70 From: <sip:gdesmott@voipbuster.com>;tag=Bc91gt3v33p8a To: <sip:+32472450423@voipbuster.com> Call-ID: 95947cad-5f50-122d-b8a1-001f161740ff CSeq: 124058829 MESSAGE User-Agent: Telepathy-SofiaSIP/0.5.19 sofia-sip/1.12.10 Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, UPDATE Supported: timer, 100rel Content-Type: text/plain Content-Length: 11 bbbbbbbbbbb ------------------------------------------------------------------------ recv 429 bytes from udp/[77.72.169.129]:5060 at 10:29:33.990947: ------------------------------------------------------------------------ SIP/2.0 200 Ok Via: SIP/2.0/UDP 172.22.64.192:59110;rport;branch=z9hG4bKDS61D5HUta46H From: <sip:gdesmott@voipbuster.com>;tag=Bc91gt3v33p8a To: <sip:+32472450423@voipbuster.com> Contact: sip:+32472450423@77.72.169.129:5060 Call-ID: 95947cad-5f50-122d-b8a1-001f161740ff CSeq: 124058829 MESSAGE Server: (Very nice Sip Registrar/Proxy Server) Allow: ACK,BYE,CANCEL,INVITE,REGISTER,OPTIONS,INFO,MESSAGE Content-Length: 0 ------------------------------------------------------------------------ I tried to re-set the registrar as I did yesterday and that doesn't work any more... :(
(In reply to comment #10) > When setting the proxy-host to sip1.voipbuster.com I don't have an error any > more but don't receive the SMS. That's odd, because the IP address and port is exactly as they were when the proxy was not specified. Try also to enable loose routing.
I enabled loose routing without changing the proxy-host and now I received the SMS. MESSAGE sip:+32472450423@voipbuster.com SIP/2.0 Via: SIP/2.0/UDP 172.22.64.192:40184;rport;branch=z9hG4bK6FDjQ4Nrmg9Na Route: <sip:sip.voipbuster.com:5060;lr> Max-Forwards: 70 From: <sip:gdesmott@voipbuster.com>;tag=4N2tHvH8D6Zac To: <sip:+32472450423@voipbuster.com> Call-ID: 3afd4452-5f53-122d-80ad-001f161740ff CSeq: 124059504 MESSAGE User-Agent: Telepathy-SofiaSIP/0.5.19 sofia-sip/1.12.10 Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, UPDATE Supported: timer, 100rel Content-Type: text/plain Content-Length: 5 ggggg ------------------------------------------------------------------------ recv 429 bytes from udp/[77.72.169.129]:5060 at 10:48:30.494517: ------------------------------------------------------------------------ SIP/2.0 200 Ok Via: SIP/2.0/UDP 172.22.64.192:40184;rport;branch=z9hG4bK6FDjQ4Nrmg9Na From: <sip:gdesmott@voipbuster.com>;tag=4N2tHvH8D6Zac To: <sip:+32472450423@voipbuster.com> Contact: sip:+32472450423@77.72.169.129:5060 Call-ID: 3afd4452-5f53-122d-80ad-001f161740ff CSeq: 124059504 MESSAGE Server: (Very nice Sip Registrar/Proxy Server) Allow: ACK,BYE,CANCEL,INVITE,REGISTER,OPTIONS,INFO,MESSAGE Content-Length: 0
(In reply to comment #12) > I enabled loose routing without changing the proxy-host and now I received the > SMS. \o/ So the verdict is: 'loose-routing' is an obscure parameter that makes a difference, and 'registrar' is a totally obscure parameter whose impact is still totally obscure (you can study Sofia-SIP sources for what it does, I never felt the need to).
(In reply to comment #10) > When setting the proxy-host to sip1.voipbuster.com I don't have an error any > more but don't receive the SMS. Actually I received them after a while. Maybe the server was just laggy?
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.