Sorry for the delay. Christmas stuff! I have put the log at http://pastebin.freeswitch.org/11632
The SPA3102 has remote IP address 11.11.11.11 (in the log), and internal ip address 192.168.1.3 My local ATA has external IP address 124.11.11.11 (in the log) and internal ip address 192.168.1.120 I have all these set: > • Handle VIA received: yes > • Handle VIA rport: yes > • Insert VIA received: yes > • Insert VIA rport: yes > • Substitute VIA Addr: yes > • Send Resp To Src Port: yes > • STUN Enable: Choose yes. > • STUN Server: stun.freeswitch.org When I set 'Nat Mapping Enable' under tab Line 1 in the SPA3102, I get the following trace. This is all I see and then registration fails. freeswi...@internal> recv 545 bytes from tls/[11.11.11.11]:56886 at 11:12:22.924395: ------------------------------------------------------------------------ REGISTER sip:myddns.dydns.org:442 SIP/2.0 Via: SIP/2.0/TLS 192.168.1.3:442;branch=z9hG4bK-4c71dcba;rport From: 2001 <sip:[email protected]:442>;tag=2f998bc591c1321o0 To: 2001 <sip:[email protected]:442> Call-ID: [email protected] CSeq: 35409 REGISTER Max-Forwards: 70 Contact: 2001 <sip:[email protected]:442;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 ------------------------------------------------------------------------ send 678 bytes to tls/[11.11.11.11]:56886 at 11:12:22.972012: ------------------------------------------------------------------------ SIP/2.0 401 Unauthorized Via: SIP/2.0/TLS 192.168.1.3:442;branch=z9hG4bK-4c71dcba;rport=56886;received=11.11.11.11 From: 2001 <sip:[email protected]:442>;tag=2f998bc591c1321o0 To: 2001 <sip:[email protected]:442>;tag=07c0ymHUv7KXH Call-ID: [email protected] CSeq: 35409 REGISTER User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-15490 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="35a9849e-f07d-11de-88a5-dbc3ffce4ce8", algorithm=MD5, qop="auth" Content-Length: 0 ------------------------------------------------------------------------ ------------------------------------------------------------------------ Thanks! On Tue, Dec 22, 2009 at 2:03 AM, Brian West <[email protected]> wrote: > Can you get me siptraces please. > /b > On Dec 20, 2009, at 5:54 PM, Mark Campbell-Smith wrote: > > Thanks Brian and Gad, > > I have stun set and if I do a 'sofia status profile internal', I see > the external IP address of the 3102 ATA, so I assume that stun is > working correctly on the SPA3102. > > These are the options that I have set (according to the 3102 manual). > > • Handle VIA received: yes > • Handle VIA rport: yes > • Insert VIA received: yes > • Insert VIA rport: yes > • Substitute VIA Addr: yes > • Send Resp To Src Port: yes > • STUN Enable: Choose yes. > • STUN Server: stun.freeswitch.org > > I assume that is all is needed? > > > _______________________________________________ > FreeSWITCH-users mailing list > [email protected] > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > _______________________________________________ FreeSWITCH-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
