[OpenSIPS-Users] nathelper config
Nick
nick_chang at ezmobo.com
Fri Oct 14 04:15:32 CEST 2011
Hello
It's my log , network is wifi.
U 2011/10/14 10:08:47.915408 220.130.6.175:42666 -> 10.10.12.91:5060
REGISTER sip:10.10.12.91 SIP/2.0.
Via: SIP/2.0/UDP
192.168.20.138:42666;branch=z9hG4bK-d8754z-576dcc7c71542267-1---d8754z-;rport.
Max-Forwards: 70.
Contact: <sip:0918139019 at 192.168.20.138:42666;rinstance=be6e671f5385125d>.
To: "Victoria"<sip:0918139019 at 10.10.12.91>.
From: "Victoria"<sip:0918139019 at 10.10.12.91>;tag=6315e97a.
Call-ID: MmQ4NjgzMjA5MTI1NWNmNGYwMTYxNmVmNDZhNzczNmM..
CSeq: 1 REGISTER.
Expires: 3600.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,
SUBSCRIBE, INFO.
User-Agent: eyeBeam release 1102u stamp 52345.
Content-Length: 0.
.
#
U 2011/10/14 10:08:47.917211 10.10.12.91:5060 -> 220.130.6.175:42666
SIP/2.0 200 OK.
Via: SIP/2.0/UDP
192.168.20.138:42666;branch=z9hG4bK-d8754z-576dcc7c71542267-1---d8754z-;rport=42666;received=220.130.6.175.
To:
"Victoria"<sip:0918139019 at 10.10.12.91>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.5910.
From: "Victoria"<sip:0918139019 at 10.10.12.91>;tag=6315e97a.
Call-ID: MmQ4NjgzMjA5MTI1NWNmNGYwMTYxNmVmNDZhNzczNmM..
CSeq: 1 REGISTER.
Contact:
<sip:0918139019 at 220.130.6.175:42666;rinstance=be6e671f5385125d>;expires=3600.
Server: OpenSIPS (1.7.0-tls (x86_64/linux)).
Content-Length: 0.
.
#
U 2011/10/14 10:08:47.917216 10.10.12.91:5060 -> 220.130.6.175:42666
SIP/2.0 200 OK.
Via: SIP/2.0/UDP
192.168.20.138:42666;branch=z9hG4bK-d8754z-576dcc7c71542267-1---d8754z-;rport=42666;received=220.130.6.175.
To:
"Victoria"<sip:0918139019 at 10.10.12.91>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.5910.
From: "Victoria"<sip:0918139019 at 10.10.12.91>;tag=6315e97a.
Call-ID: MmQ4NjgzMjA5MTI1NWNmNGYwMTYxNmVmNDZhNzczNmM..
CSeq: 1 REGISTER.
Contact:
<sip:0918139019 at 220.130.6.175:42666;rinstance=be6e671f5385125d>;expires=3600.
Server: OpenSIPS (1.7.0-tls (x86_64/linux)).
Content-Length: 0.
.
#
U 2011/10/14 10:08:48.060931 220.130.6.175:42666 -> 10.10.12.91:5060
REGISTER sip:10.10.12.91 SIP/2.0.
Via: SIP/2.0/UDP
192.168.20.138:42666;branch=z9hG4bK-d8754z-735ce61941084920-1---d8754z-;rport.
Max-Forwards: 70.
Contact:
<sip:0918139019 at 192.168.20.138:42666;rinstance=be6e671f5385125d>;expires=0.
To: "Victoria"<sip:0918139019 at 10.10.12.91>.
From: "Victoria"<sip:0918139019 at 10.10.12.91>;tag=6315e97a.
Call-ID: MmQ4NjgzMjA5MTI1NWNmNGYwMTYxNmVmNDZhNzczNmM..
CSeq: 2 REGISTER.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,
SUBSCRIBE, INFO.
User-Agent: eyeBeam release 1102u stamp 52345.
Content-Length: 0.
.
#
U 2011/10/14 10:08:48.063148 10.10.12.91:5060 -> 220.130.6.175:42666
SIP/2.0 200 OK.
Via: SIP/2.0/UDP
192.168.20.138:42666;branch=z9hG4bK-d8754z-735ce61941084920-1---d8754z-;rport=42666;received=220.130.6.175.
To:
"Victoria"<sip:0918139019 at 10.10.12.91>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.c345.
From: "Victoria"<sip:0918139019 at 10.10.12.91>;tag=6315e97a.
Call-ID: MmQ4NjgzMjA5MTI1NWNmNGYwMTYxNmVmNDZhNzczNmM..
CSeq: 2 REGISTER.
Server: OpenSIPS (1.7.0-tls (x86_64/linux)).
Content-Length: 0.
.
#
U 2011/10/14 10:08:48.063154 10.10.12.91:5060 -> 220.130.6.175:42666
SIP/2.0 200 OK.
Via: SIP/2.0/UDP
192.168.20.138:42666;branch=z9hG4bK-d8754z-735ce61941084920-1---d8754z-;rport=42666;received=220.130.6.175.
To:
"Victoria"<sip:0918139019 at 10.10.12.91>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.c345.
From: "Victoria"<sip:0918139019 at 10.10.12.91>;tag=6315e97a.
Call-ID: MmQ4NjgzMjA5MTI1NWNmNGYwMTYxNmVmNDZhNzczNmM..
CSeq: 2 REGISTER.
Server: OpenSIPS (1.7.0-tls (x86_64/linux)).
Content-Length: 0.
.
#
U 2011/10/14 10:08:48.283855 220.130.6.175:42666 -> 10.10.12.91:5060
REGISTER sip:10.10.12.91 SIP/2.0.
Via: SIP/2.0/UDP
192.168.20.138:42666;branch=z9hG4bK-d8754z-c377db439c185879-1---d8754z-;rport.
Max-Forwards: 70.
Contact: <sip:0918139019 at 220.130.6.175:42666;rinstance=1d92f0291f2b12fd>.
To: "Victoria"<sip:0918139019 at 10.10.12.91>.
From: "Victoria"<sip:0918139019 at 10.10.12.91>;tag=6315e97a.
Call-ID: MmQ4NjgzMjA5MTI1NWNmNGYwMTYxNmVmNDZhNzczNmM..
CSeq: 3 REGISTER.
Expires: 3600.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,
SUBSCRIBE, INFO.
User-Agent: eyeBeam release 1102u stamp 52345.
Content-Length: 0.
.
#
U 2011/10/14 10:08:48.285106 10.10.12.91:5060 -> 220.130.6.175:42666
SIP/2.0 200 OK.
Via: SIP/2.0/UDP
192.168.20.138:42666;branch=z9hG4bK-d8754z-c377db439c185879-1---d8754z-;rport=42666;received=220.130.6.175.
To:
"Victoria"<sip:0918139019 at 10.10.12.91>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.14b6.
From: "Victoria"<sip:0918139019 at 10.10.12.91>;tag=6315e97a.
Call-ID: MmQ4NjgzMjA5MTI1NWNmNGYwMTYxNmVmNDZhNzczNmM..
CSeq: 3 REGISTER.
Contact:
<sip:0918139019 at 220.130.6.175:42666;rinstance=1d92f0291f2b12fd>;expires=3600.
Server: OpenSIPS (1.7.0-tls (x86_64/linux)).
Content-Length: 0.
.
#
U 2011/10/14 10:08:48.285111 10.10.12.91:5060 -> 220.130.6.175:42666
SIP/2.0 200 OK.
Via: SIP/2.0/UDP
192.168.20.138:42666;branch=z9hG4bK-d8754z-c377db439c185879-1---d8754z-;rport=42666;received=220.130.6.175.
To:
"Victoria"<sip:0918139019 at 10.10.12.91>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.14b6.
From: "Victoria"<sip:0918139019 at 10.10.12.91>;tag=6315e97a.
Call-ID: MmQ4NjgzMjA5MTI1NWNmNGYwMTYxNmVmNDZhNzczNmM..
CSeq: 3 REGISTER.
Contact:
<sip:0918139019 at 220.130.6.175:42666;rinstance=1d92f0291f2b12fd>;expires=3600.
Server: OpenSIPS (1.7.0-tls (x86_64/linux)).
Content-Length: 0.
.
#
U 2011/10/14 10:08:48.406438 220.130.6.175:42666 -> 10.10.12.91:5060
SUBSCRIBE sip:0918139019 at 10.10.12.91 SIP/2.0.
Via: SIP/2.0/UDP
192.168.20.138:42666;branch=z9hG4bK-d8754z-7362643f5a66414c-1---d8754z-;rport.
Max-Forwards: 70.
Contact: <sip:0918139019 at 220.130.6.175:42666>.
To: "Victoria"<sip:0918139019 at 10.10.12.91>.
From: "Victoria"<sip:0918139019 at 10.10.12.91>;tag=272ba105.
Call-ID: NjM1MDEzMjMxNzUwZThkZjJiMmVkOWIyOWVjYmNlZDc..
CSeq: 1 SUBSCRIBE.
Expires: 300.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,
SUBSCRIBE, INFO.
User-Agent: eyeBeam release 1102u stamp 52345.
Event: message-summary.
Content-Length: 0.
.
#
U 2011/10/14 10:08:48.408186 10.10.12.91:5060 -> 220.130.6.175:42666
SUBSCRIBE sip:0918139019 at 220.130.6.175:42666;rinstance=1d92f0291f2b12fd
SIP/2.0.
Record-Route: <sip:10.10.12.91;lr;ftag=272ba105>.
Via: SIP/2.0/UDP 10.10.12.91;branch=z9hG4bKfc3b.8baa0cc6.0.
Via: SIP/2.0/UDP
192.168.20.138:42666;received=220.130.6.175;branch=z9hG4bK-d8754z-7362643f5a66414c-1---d8754z-;rport=42666.
Max-Forwards: 69.
Contact: <sip:0918139019 at 220.130.6.175:42666>.
To: "Victoria"<sip:0918139019 at 10.10.12.91>.
From: "Victoria"<sip:0918139019 at 10.10.12.91>;tag=272ba105.
Call-ID: NjM1MDEzMjMxNzUwZThkZjJiMmVkOWIyOWVjYmNlZDc..
CSeq: 1 SUBSCRIBE.
Expires: 300.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,
SUBSCRIBE, INFO.
User-Agent: eyeBeam release 1102u stamp 52345.
Event: message-summary.
Content-Length: 0.
P-hint: usrloc applied.
.
#
U 2011/10/14 10:08:48.408191 10.10.12.91:5060 -> 220.130.6.175:42666
SUBSCRIBE sip:0918139019 at 220.130.6.175:42666;rinstance=1d92f0291f2b12fd
SIP/2.0.
Record-Route: <sip:10.10.12.91;lr;ftag=272ba105>.
Via: SIP/2.0/UDP 10.10.12.91;branch=z9hG4bKfc3b.8baa0cc6.0.
Via: SIP/2.0/UDP
192.168.20.138:42666;received=220.130.6.175;branch=z9hG4bK-d8754z-7362643f5a66414c-1---d8754z-;rport=42666.
Max-Forwards: 69.
Contact: <sip:0918139019 at 220.130.6.175:42666>.
To: "Victoria"<sip:0918139019 at 10.10.12.91>.
From: "Victoria"<sip:0918139019 at 10.10.12.91>;tag=272ba105.
Call-ID: NjM1MDEzMjMxNzUwZThkZjJiMmVkOWIyOWVjYmNlZDc..
CSeq: 1 SUBSCRIBE.
Expires: 300.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,
SUBSCRIBE, INFO.
User-Agent: eyeBeam release 1102u stamp 52345.
Event: message-summary.
Content-Length: 0.
P-hint: usrloc applied.
.
#
U 2011/10/14 10:08:48.528791 220.130.6.175:42666 -> 10.10.12.91:5060
SIP/2.0 489 Event Package Not Supported.
Via: SIP/2.0/UDP 10.10.12.91;branch=z9hG4bKfc3b.8baa0cc6.0.
Via: SIP/2.0/UDP
192.168.20.138:42666;received=220.130.6.175;branch=z9hG4bK-d8754z-7362643f5a66414c-1---d8754z-;rport=42666.
To: "Victoria"<sip:0918139019 at 10.10.12.91>;tag=072abe54.
From: "Victoria"<sip:0918139019 at 10.10.12.91>;tag=272ba105.
Call-ID: NjM1MDEzMjMxNzUwZThkZjJiMmVkOWIyOWVjYmNlZDc..
CSeq: 1 SUBSCRIBE.
User-Agent: eyeBeam release 1102u stamp 52345.
Content-Length: 0.
.
#
U 2011/10/14 10:08:48.529684 10.10.12.91:5060 -> 220.130.6.175:42666
SIP/2.0 489 Event Package Not Supported.
Via: SIP/2.0/UDP
192.168.20.138:42666;received=220.130.6.175;branch=z9hG4bK-d8754z-7362643f5a66414c-1---d8754z-;rport=42666.
To: "Victoria"<sip:0918139019 at 10.10.12.91>;tag=072abe54.
From: "Victoria"<sip:0918139019 at 10.10.12.91>;tag=272ba105.
Call-ID: NjM1MDEzMjMxNzUwZThkZjJiMmVkOWIyOWVjYmNlZDc..
CSeq: 1 SUBSCRIBE.
User-Agent: eyeBeam release 1102u stamp 52345.
Content-Length: 0.
.
#
U 2011/10/14 10:08:48.529689 10.10.12.91:5060 -> 220.130.6.175:42666
SIP/2.0 489 Event Package Not Supported.
Via: SIP/2.0/UDP
192.168.20.138:42666;received=220.130.6.175;branch=z9hG4bK-d8754z-7362643f5a66414c-1---d8754z-;rport=42666.
To: "Victoria"<sip:0918139019 at 10.10.12.91>;tag=072abe54.
From: "Victoria"<sip:0918139019 at 10.10.12.91>;tag=272ba105.
Call-ID: NjM1MDEzMjMxNzUwZThkZjJiMmVkOWIyOWVjYmNlZDc..
CSeq: 1 SUBSCRIBE.
User-Agent: eyeBeam release 1102u stamp 52345.
Content-Length: 0.
.
#
U 2011/10/14 10:09:18.082133 220.130.6.175:42666 -> 10.10.12.91:5060
.
.
..............
It's my iphone through 3G.
U 2011/10/14 10:10:56.341633 111.81.162.148:57721 -> 10.10.12.91:5060
REGISTER sip:10.10.12.91 SIP/2.0.
Via: SIP/2.0/UDP 111.81.162.148:57721;branch=z9hG4bK1405598310;rport.
From: <sip:0939723377 at 10.10.12.91>;tag=20320274.
To: <sip:0939723377 at 10.10.12.91>.
Contact:
<sip:0939723377 at 111.81.162.148:57721;transport=udp>;expires=3200;+g.oma.sip-im;language="en,fr";+g.3gpp.smsip;+g.oma.sip-im.large-message;audio;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-application.ims.iari.gsma-vs";+g.3gpp.cs-voice.
Call-ID: 8c9d7b20-ed9e-8984-5c57-ddcd0362a1d8.
CSeq: 1576808498 REGISTER.
Content-Length: 0.
Max-Forwards: 70.
Authorization: Digest
username="0939723377",realm="61.63.47.140",nonce="",uri="sip:10.10.12.91",response="".
Allow: INVITE, ACK, CANCEL, BYE, MESSAGE, OPTIONS, NOTIFY, PRACK,
UPDATE, REFER.
Privacy: none.
P-Access-Network-Info: ADSL;utran-cell-id-3gpp=00000000.
User-Agent: IM-client/OMA1.0 ios-ngn-stack/v00 (doubango r000).
P-Preferred-Identity: <sip:0939723377 at 10.10.12.91>.
Supported: path.
.
#
U 2011/10/14 10:10:56.342045 111.81.162.148:57721 -> 10.10.12.91:5060
REGISTER sip:10.10.12.91 SIP/2.0.
Via: SIP/2.0/UDP 111.81.162.148:57721;branch=z9hG4bK1405598310;rport.
From: <sip:0939723377 at 10.10.12.91>;tag=20320274.
To: <sip:0939723377 at 10.10.12.91>.
Contact:
<sip:0939723377 at 111.81.162.148:57721;transport=udp>;expires=3200;+g.oma.sip-im;language="en,fr";+g.3gpp.smsip;+g.oma.sip-im.large-message;audio;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-application.ims.iari.gsma-vs";+g.3gpp.cs-voice.
Call-ID: 8c9d7b20-ed9e-8984-5c57-ddcd0362a1d8.
CSeq: 1576808498 REGISTER.
Content-Length: 0.
Max-Forwards: 70.
Authorization: Digest
username="0939723377",realm="61.63.47.140",nonce="",uri="sip:10.10.12.91",response="".
Allow: INVITE, ACK, CANCEL, BYE, MESSAGE, OPTIONS, NOTIFY, PRACK,
UPDATE, REFER.
Privacy: none.
P-Access-Network-Info: ADSL;utran-cell-id-3gpp=00000000.
User-Agent: IM-client/OMA1.0 ios-ngn-stack/v00 (doubango r000).
P-Preferred-Identity: <sip:0939723377 at 10.10.12.91>.
Supported: path.
.
#
U 2011/10/14 10:10:56.343011 10.10.12.91:5060 -> 111.81.162.148:57721
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 111.81.162.148:57721;branch=z9hG4bK1405598310;rport=57721.
From: <sip:0939723377 at 10.10.12.91>;tag=20320274.
To: <sip:0939723377 at 10.10.12.91>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.1790.
Call-ID: 8c9d7b20-ed9e-8984-5c57-ddcd0362a1d8.
CSeq: 1576808498 REGISTER.
Contact: <sip:0939723377 at 111.81.162.148:57721;transport=udp>;expires=3200.
Server: OpenSIPS (1.7.0-tls (x86_64/linux)).
Content-Length: 0.
.
#
U 2011/10/14 10:10:56.343016 10.10.12.91:5060 -> 111.81.162.148:57721
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 111.81.162.148:57721;branch=z9hG4bK1405598310;rport=57721.
From: <sip:0939723377 at 10.10.12.91>;tag=20320274.
To: <sip:0939723377 at 10.10.12.91>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.1790.
Call-ID: 8c9d7b20-ed9e-8984-5c57-ddcd0362a1d8.
CSeq: 1576808498 REGISTER.
Contact: <sip:0939723377 at 111.81.162.148:57721;transport=udp>;expires=3200.
Server: OpenSIPS (1.7.0-tls (x86_64/linux)).
Content-Length: 0.
.
#
U 2011/10/14 10:10:56.343132 10.10.12.91:5060 -> 111.81.162.148:57721
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 111.81.162.148:57721;branch=z9hG4bK1405598310;rport=57721.
From: <sip:0939723377 at 10.10.12.91>;tag=20320274.
To: <sip:0939723377 at 10.10.12.91>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.1790.
Call-ID: 8c9d7b20-ed9e-8984-5c57-ddcd0362a1d8.
CSeq: 1576808498 REGISTER.
Contact: <sip:0939723377 at 111.81.162.148:57721;transport=udp>;expires=3200.
Server: OpenSIPS (1.7.0-tls (x86_64/linux)).
Content-Length: 0.
.
#
U 2011/10/14 10:10:56.343135 10.10.12.91:5060 -> 111.81.162.148:57721
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 111.81.162.148:57721;branch=z9hG4bK1405598310;rport=57721.
From: <sip:0939723377 at 10.10.12.91>;tag=20320274.
To: <sip:0939723377 at 10.10.12.91>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.1790.
Call-ID: 8c9d7b20-ed9e-8984-5c57-ddcd0362a1d8.
CSeq: 1576808498 REGISTER.
Contact: <sip:0939723377 at 111.81.162.148:57721;transport=udp>;expires=3200.
Server: OpenSIPS (1.7.0-tls (x86_64/linux)).
Content-Length: 0.
When I used 3G call to wifi .
Now, I can't see any video and listen voice.
Thanks for your support.
Nick
On 2011年10月13日 22:28, Andrew Pogrebennyk wrote:
> Nick,
> There is not enough information in your email to give you a suggestion.
> Please collect the sip trace with ngrep; you need to verify that IP
> address in SDP c-line is changed to the address of your proxy in both
> directions. Looking at your config I don't see calls to rtpproxy_offer()
> To check the NAT status of the callee tell usrloc to load it into flag
> 6: modparam("usrloc", "nat_bflag", 6)
> Then if any of the caller, callee are behind NAT, call rtpproxy_offer in
> request route and rtpproxy_answer in reply route. Do not expect that
> both parties will be behind NAT at the same time and it will work well.
>
> On 10/13/2011 01:15 PM, Nick wrote:
>> Hello Andrew
>>
>> Thanks.
>> I installed rtpproxy server OK. And then, I started opensips server OK.
>>
>> I have two iphone 4, I want to test sip and video.
>> Network setting, one is wifi, other is 3G
>>
>> 3G wifi
>> iphone -----> opensips<- NAT device<----- iphone
>>
>>
>> I can see wifi video and listen voice in my 3G network. But I can't see
>> 3G video and listen voice in my wifi network.
>>
>> Can you give me any suggest??
>>
>> Thanks advance.
>> Nick
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list