[Freeswitch-users] No audio after Remote SDP:

Mark Campbell-Smith mcampbellsmith at gmail.com
Tue Jan 5 03:07:50 PST 2010


OK.. I have looked at this some more...   Below is the syslog from the SPA3102:

THIS WORKS
Jan  5 21:18:17 92.xx.xx.xx [0]->124.xxx.xxx.xxx:442(544)
Jan  5 21:18:17 92.xx.xx.xx REGISTER sip:myddns.dydns.org:442 SIP/2.0
Via: SIP/2.0/TLS 92.xx.xx.xx:5069;branch=z9hG4bK-7b7ebbf9  From: 2001
<sip:2001 at myddns.dydns.org:442>;tag=b69c38c549e24c42o0  To: 2001
<sip:2001 at myddns.dydns.org:442>  Call-ID:
e6b918dc-71d58fe3 at 192.168.1.3  CSeq: 44358 REGISTER  Max-Forwards: 70
Contact: 2001 <sip:2001 at 92.xx.xx.xx:5069;transport=tls>;expires=600
User-Agent: Linksys/SPA3102-5.1.10(GW)  Content-Length: 0  Allow: ACK,
BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER  Supported:
x-sipura, replaces
Jan  5 21:18:17 92.xx.xx.xx
Jan  5 21:18:17 92.xx.xx.xx
Jan  5 21:18:17 92.xx.xx.xx [0]<<124.xxx.xxx.xxx:442(658)
Jan  5 21:18:17 92.xx.xx.xx [0]<<124.xxx.xxx.xxx:442(658)
Jan  5 21:18:17 92.xx.xx.xx SIP/2.0 401 Unauthorized  Via: SIP/2.0/TLS
92.xx.xx.xx:5069;branch=z9hG4bK-7b7ebbf9;rport=5069  From: 2001
<sip:2001 at myddns.dydns.org:442>;tag=b69c38c549e24c42o0  To: 2001
<sip:2001 at myddns.dydns.org:442>;tag=Bav1HeBr3jm3B  Call-ID:
e6b918dc-71d58fe3 at 192.168.1.3  CSeq: 44358 REGISTER  User-Agent:
FreeSWITCH-mod_sofia/1.0.trunk-16131  Allow: INVITE, ACK, BYE, CANCEL,
OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH,
SUBSCRIBE  Supported: timer, precondition, path, replaces
WWW-Authenticate: Digest realm="myddns.dydns.org",
nonce="a4128380-f9e3-11de-99eb-53ce5686ac9a", algorithm=MD5,
qop="auth"  Content-Length: 0
Jan  5 21:18:17 92.xx.xx.xx
Jan  5 21:18:17 92.xx.xx.xx
Jan  5 21:18:17 92.xx.xx.xx [0]->124.xxx.xxx.xxx:442(782)
Jan  5 21:18:17 92.xx.xx.xx [0]->124.xxx.xxx.xxx:442(782)
Jan  5 21:18:17 92.xx.xx.xx REGISTER sip:myddns.dydns.org:442 SIP/2.0
Via: SIP/2.0/TLS 92.xx.xx.xx:5069;branch=z9hG4bK-18f00822  From: 2001
<sip:2001 at myddns.dydns.org:442>;tag=b69c38c549e24c42o0  To: 2001
<sip:2001 at myddns.dydns.org:442>  Call-ID:
e6b918dc-71d58fe3 at 192.168.1.3  CSeq: 44359 REGISTER  Max-Forwards: 70
Authorization: Digest
username="2001",realm="myddns.dydns.org",nonce="a4128380-f9e3-11de-99eb-53ce5686ac9a",uri="sip:myddns.dydns.org:442",algorithm=MD5,response="324ee93184ae202be4a209f5a9255229",qop=auth,nc=00000001,cnonce="804844b"
 Contact: 2001 <sip:2001 at 92.xx.xx.xx:5069;transport=tls>;expires=600
User-Agent: Linksys/SPA3102-5.1.10(GW)  Content-Length: 0  Allow: ACK,
BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER  Supported:
x-sipura, replaces

THIS DOES NOT WORK
Jan  5 22:05:48 92.xxx.xxx.xxx REGISTER sip:myddns.dydns.org:442
SIP/2.0  Via: SIP/2.0/TLS 192.168.1.3:5070;branch=z9hG4bK-faf8477a
From: 2001 <sip:2001 at myddns.dydns.org:442>;tag=b065057e3ed0befdo0  To:
2001 <sip:2001 at myddns.dydns.org:442>  Call-ID:
e6b918dc-71d58fe3 at 192.168.1.3  CSeq: 44435 REGISTER  Max-Forwards: 70
Contact: 2001 <sip:2001 at 192.168.1.3:5070;transport=tls>;expires=600
User-Agent: Linksys/SPA3102-5.1.10(GW)  Content-Length: 0  Allow: ACK,
BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER  Supported:
x-sipura, replaces
Jan  5 22:05:48 92.xxx.xxx.xxx SIP/2.0 401 Unauthorized  Via:
SIP/2.0/TLS 192.168.1.3:5070;branch=z9hG4bK-faf8477a;received=92.xxx.xxx.xxx;rport=5070
 From: 2001 <sip:2001 at myddns.dydns.org:442>;tag=b065057e3ed0befdo0
To: 2001 <sip:2001 at myddns.dydns.org:442>;tag=N51jvyeca9Umj  Call-ID:
e6b918dc-71d58fe3 at 192.168.1.3  CSeq: 44435 REGISTER  User-Agent:
FreeSWITCH-mod_sofia/1.0.trunk-16131  Allow: INVITE, ACK, BYE, CANCEL,
OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH,
SUBSCRIBE  Supported: timer, precondition, path, replaces
WWW-Authenticate: Digest realm="myddns.dydns.org",
nonce="476097b0-f9ea-11de-99fd-53ce5686ac9a", algorithm=MD5,
qop="auth"  Content-Length: 0
Jan  5 22:05:48 92.xxx.xxx.xxx
Jan  5 22:05:48 92.xxx.xxx.xxx
Jan  5 22:05:58 92.xxx.xxx.xxx [0]->124.xxx.xxx.xxx:442(783)
Jan  5 22:05:58 92.xxx.xxx.xxx [0]->124.xxx.xxx.xxx:442(783)
Jan  5 22:05:58 92.xxx.xxx.xxx REGISTER sip:myddns.dydns.org:442
SIP/2.0  Via: SIP/2.0/TLS 92.xxx.xxx.xxx:5070;branch=z9hG4bK-bfc992b3
From: 2001 <sip:2001 at myddns.dydns.org:442>;tag=b065057e3ed0befdo0  To:
2001 <sip:2001 at myddns.dydns.org:442>  Call-ID:
e6b918dc-71d58fe3 at 192.168.1.3  CSeq: 44436 REGISTER  Max-Forwards: 70
Authorization: Digest
username="2001",realm="myddns.dydns.org",nonce="476097b0-f9ea-11de-99fd-53ce5686ac9a",uri="sip:myddns.dydns.org:442",algorithm=MD5,response="466ea78ac2ccddca991a5c3d4d021bed",qop=auth,nc=00000001,cnonce="ebd80711"
 Contact: 2001 <sip:2001 at 92.xxx.xxx.xxx:5070;transport=tls>;expires=600
 User-Agent: Linksys/SPA3102-5.1.10(GW)  Content-Length: 0  Allow:
ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER  Supported:
x-sipura, replaces


The difference was a hard coded external IP address in the first
session that worked.  However I can't have it set like this as the IP
address is not static.

The second REGISTER in the Not Working session seems to be ignored by
FreeSwitch (I don't see it in the logs of FS either).   Is there
something in this Register that causes FS to ignore it?

Thanks
On Sun, Jan 3, 2010 at 10:19 AM, Mark Campbell-Smith
<mcampbellsmith at gmail.com> wrote:
> I have a Linksys SPA3102, NAT'd on the internet (remotely) and
> connected to my FS on the otherside of the world, which is also
> natted.  A PAP2T is connected on the same subnet as the FS.  The 3102
> registers successfully and a call can be set up from the PAP2 to the
> 3102.
>
> However, after FS receives the Remote SDP the audio stops (ring tone
> stops in my case)
>
> The FS router is upnp enabled.  The SPA3102 router is NOT upnp enabled
> (SPA3102 does not support upnp anyway I think).
>
>
>
> On Sun, Jan 3, 2010 at 3:03 AM, Brian West <brian at freeswitch.org> wrote:
>> Are you behind a nat-pmp/upnp router?
>> /b
>> On Jan 2, 2010, at 1:30 AM, Mark Campbell-Smith wrote:
>>
>> Hi!
>>
>> Both are auto-nat:
>>    <param name="ext-rtp-ip" value="auto-nat"/>
>>    <param name="ext-sip-ip" value="auto-nat"/>
>>
>> FreeSWITCH Version 1.0.trunk (15490)
>>
>> However, isn't it the IP address that is reported by the remote
>> SPA3102 that is incorrect?  Or?
>>
>> On Thu, Dec 31, 2009 at 7:21 AM, Brian West <brian at freeswitch.org> wrote:
>>
>> show me the ext-rtp-ip and ext-sip-ip settings you're using along with SVN
>> rev please.
>>
>> /b
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>




More information about the FreeSWITCH-users mailing list