[OpenSER-Users] NAT + STUN

Marc LEURENT lftsy at free.fr
Thu Aug 2 12:45:51 CEST 2007


STUN seems to be working

In openserctl ul show, I have:
AOR:: 103	Contact:: sip:103 at 82.127.0.79:1028;user=phone Q=
AOR:: 101	Contact:: sip:101 at 82.127.0.79:1313;user=phone Q=


And tcpdump -i eth0 -n port 5060 returns:
13:47:44.375374 IP 88.191.45.91.5060 > 82.127.0.79.1027: SIP, length: 241
13:47:44.375396 IP 88.191.45.91.5060 > 82.127.0.79.1312: SIP, length: 241
13:47:44.422471 IP 82.127.0.79.1027 > 88.191.45.91.5060: SIP, length: 276
13:47:44.426415 IP 82.127.0.79.1312 > 88.191.45.91.5060: SIP, length: 275


And my ngrep returns


#
U 88.191.45.91:5060 -> 82.127.0.79:1027
OPTIONS sip:82.127.0.79:1027 SIP/2.0.
Via: SIP/2.0/UDP 88.191.45.91:5060;branch=0.
From: sip:pinger at sd-7501.dedibox.fr;tag=7ad21f92.
To: sip:82.127.0.79:1027.
Call-ID: 90f2eea1-5c41f342-a91 at 88.191.45.91.
CSeq: 1 OPTIONS.
Content-Length: 0.
.

#
U 88.191.45.91:5060 -> 82.127.0.79:1312
OPTIONS sip:82.127.0.79:1312 SIP/2.0.
Via: SIP/2.0/UDP 88.191.45.91:5060;branch=0.
From: sip:pinger at sd-7501.dedibox.fr;tag=8ad21f92.
To: sip:82.127.0.79:1312.
Call-ID: 90f2eea1-6c41f342-a91 at 88.191.45.91.
CSeq: 1 OPTIONS.
Content-Length: 0.
.

#
U 82.127.0.79:1027 -> 88.191.45.91:5060
SIP/2.0 481 CallLeg/Transaction Does Not Exist.
Via: SIP/2.0/UDP 88.191.45.91:5060;branch=0.
From: <sip:pinger at sd-7501.dedibox.fr>;tag=7ad21f92.
To: <sip:82.127.0.79:1027>;tag=c0a80101-1db9be2.
Call-ID: 90f2eea1-5c41f342-a91 at 88.191.45.91.
CSeq: 1 OPTIONS.
Content-Length: 0.
.

#
U 82.127.0.79:1312 -> 88.191.45.91:5060
SIP/2.0 481 CallLeg/Transaction Does Not Exist.
Via: SIP/2.0/UDP 88.191.45.91:5060;branch=0.
From: <sip:pinger at sd-7501.dedibox.fr>;tag=8ad21f92.
To: <sip:82.127.0.79:1312>;tag=c0a80101-573ff0.
Call-ID: 90f2eea1-6c41f342-a91 at 88.191.45.91.
CSeq: 1 OPTIONS.
Content-Length: 0.






Iñaki Baz Castillo a écrit :
> El Thursday 02 August 2007 12:25:07 Marc LEURENT escribió:
>> #
>> U 82.127.0.79:1312 -> 88.191.45.91:5060
>> BYE sip:103 at 82.127.0.79:1027 SIP/2.0.
>> Via: SIP/2.0/UDP 82.127.0.79:1313;branch=z9hG4bK8030359792092547043.
>> From: "101"<sip:101 at sip.leurent.eu:5060;user=phone>;tag=c0a80101-4c5eed.
>> To: <sip:103 at sip.leurent.eu:5060;user=phone>;tag=c0a80101-1d0bb0d.
>> Call-ID: 66464a0-c0a80101-0-1f at 192.168.95.4.
>> CSeq: 2 BYE.
>> Max-Forwards: 70.
>> Route: <sip:88.191.45.91:5060;lr=on;ftag=c0a80101-4c5eed>.
>> User-Agent: THOMSON ST2030 hw0 fw1.50 00-0E-50-4E-AF-AE.
>> Content-Length: 0.
> 
> What more is after this message?
> Did you try tcpdump to monitorize to with IP:port are the messages sent?
> 




More information about the Users mailing list