[OpenSIPS-Users] opensips tcp problem

Muhammad Shahzad Shafi shahzad at voip-demos.com
Wed Jul 31 01:29:48 CEST 2013


 

Either destination is off line or you do not have NAT keep-alive
enabled, resulting relay failure. Make sure you have NAT Helper and / or
NAT Traversal module enabled and configured correctly for NAT handing.


Thank you. 

On 2013-07-30 17:17, Jason Sia wrote: 

> I installed
opensips 1.8. I used the default configuration. I have two clients one
is an android phone using native sip client, and the other one x-lite. I
can call x-lite to phone but not the other way around. How do I fix it?

> 
> Here is a sample of the logs: I think it does not allow the TCP
connection. Is NAT a problem here? I use a vps to host the opensips.
>

> U 2013/07/29 18:23:52.994331 49.144.184.97:41998 [1] ->
198.23.160.81:5060 [2]
> INVITE sip:639195015475 at 198.23.160.81 [3]
SIP/2.0.
> Via: SIP/2.0/UDP 192.168.0.107:41998;branch=z9hG4bK-d8754z-

> 2999840441d3d05a-1---d8754z-;rport.
> Max-Forwards: 70.
> Contact:
<sip:639178864952 at 49.144.184.97:41998 [4]>.
> To:
<sip:639195015475 at 198.23.160.81 [5]>.
> From:
"639178864952"<sip:639178864952 at 198.23.160.81 [6]>;tag=1b3b463c.
>
Call-ID: NjhmYzk0ODZhNWVmOGE5MTU4ZWExM2Q5NjI1NDVhODg.
> CSeq: 1
INVITE.
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY,
MESSAGE, SUBSCRIBE, INFO.
> Content-Type: application/sdp.
> Supported:
replaces.
> User-Agent: X-Lite release 4.5.3 stamp 70576.
>
Content-Length: 357.
> .
> v=0.
> o=- 1375107832761441 1 IN IP4
192.168.0.107.
> s=X-Lite 4 release 4.5.3 stamp 70576.
> c=IN IP4
192.168.0.107.
> t=0 0.
> m=audio 53084 RTP/AVP 123 9 0 8 97 100 98
101.
> a=rtpmap:123 opus/48000/2.
> a=fmtp:123 useinbandfec=1.
>
a=rtpmap:97 speex/8000.
> a=rtpmap:100 speex/16000.
> a=rtpmap:98
ILBC/8000.
> a=rtpmap:101 telephone-event/8000.
> a=fmtp:101 0-15.
>
a=sendrecv.
> 
> U 2013/07/29 18:23:52.994422 198.23.160.81:5060 [7] ->
49.144.184.97:41998 [8]
> SIP/2.0 407 Proxy Authentication Required.
>
Via: SIP/2.0/UDP
192.168.0.107:41998;received=49.144.184.97;branch=z9hG4bK-d8754z-2999840441d3d05a-1---d8754z-;rport=41998.
>
To: <sip:639195015475 at 198.23.160.81
[9]>;tag=80403214130c49515b8f7d7842a4c119.ef65.
> From:
"639178864952"<sip:639178864952 at 198.23.160.81 [10]>;tag=1b3b463c.
>
Call-ID: NjhmYzk0ODZhNWVmOGE5MTU4ZWExM2Q5NjI1NDVhODg.
> CSeq: 1
INVITE.
> Proxy-Authenticate: Digest realm="198.23.160.81",
nonce="51f67b16000000fae8c70592af760c78fa39cd43f84c1a6b".
> Server:
OpenSIPS (1.8.3-notls (x86_64/linux)).
> Content-Length: 0.
> .
> 
> U
2013/07/29 18:23:53.299025 49.144.184.97:41998 [11] ->
198.23.160.81:5060 [12]
> ACK sip:639195015475 at 198.23.160.81 [13]
SIP/2.0.
> Via: SIP/2.0/UDP
192.168.0.107:41998;branch=z9hG4bK-d8754z-2999840441d3d05a-1---d8754z-;rport.
>
Max-Forwards: 70.
> To: <sip:639195015475 at 198.23.160.81
[14]>;tag=80403214130c49515b8f7d7842a4c119.ef65.
> From:
"639178864952"<sip:639178864952 at 198.23.160.81 [15]>;tag=1b3b463c.
>
Call-ID: NjhmYzk0ODZhNWVmOGE5MTU4ZWExM2Q5NjI1NDVhODg.
> CSeq: 1 ACK.
>
Content-Length: 0.
> .
> 
> U 2013/07/29 18:23:53.317842
49.144.184.97:41998 [16] -> 198.23.160.81:5060 [17]
> INVITE
sip:639195015475 at 198.23.160.81 [18] SIP/2.0.
> Via: SIP/2.0/UDP
192.168.0.107:41998;branch=z9hG4bK-d8754z-1cfc096228010333-1---d8754z-;rport.
>
Max-Forwards: 70.
> Contact: <sip:639178864952 at 49.144.184.97:41998
[19]>.
> To: <sip:639195015475 at 198.23.160.81 [20]>.
> From:
"639178864952"<sip:639178864952 at 198.23.160.81 [21]>;tag=1b3b463c.
>
Call-ID: NjhmYzk0ODZhNWVmOGE5MTU4ZWExM2Q5NjI1NDVhODg.
> CSeq: 2
INVITE.
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY,
MESSAGE, SUBSCRIBE, INFO.
> Content-Type: application/sdp.
>
Proxy-Authorization: Digest
username="639178864952",realm="198.23.160.81",nonce="51f67b16000000fae8c70592af760c78fa39cd43f84c1a6b",uri="sip:639195015475 at 198.23.160.81
[22]",response="1605e4e6b20dbbd6be5917c94dd3961e",algorithm=MD5.
>
Supported: replaces.
> User-Agent: X-Lite release 4.5.3 stamp 70576.
>
Content-Length: 357.
> .
> v=0.
> o=- 1375107832761441 1 IN IP4
192.168.0.107.
> s=X-Lite 4 release 4.5.3 stamp 70576.
> c=IN IP4
192.168.0.107.
> t=0 0.
> m=audio 53084 RTP/AVP 123 9 0 8 97 100 98
101.
> a=rtpmap:123 opus/48000/2.
> a=fmtp:123 useinbandfec=1.
>
a=rtpmap:97 speex/8000.
> a=rtpmap:100 speex/16000.
> a=rtpmap:98
ILBC/8000.
> a=rtpmap:101 telephone-event/8000.
> a=fmtp:101 0-15.
>
a=sendrecv.
> 
> U 2013/07/29 18:23:53.318191 198.23.160.81:5060 [23] ->
49.144.184.97:41998 [24]
> SIP/2.0 100 Giving a try.
> Via: SIP/2.0/UDP
192.168.0.107:41998;received=49.144.184.97;branch=z9hG4bK-d8754z-1cfc096228010333-1---d8754z-;rport=41998.
>
To: <sip:639195015475 at 198.23.160.81 [25]>.
> From:
"639178864952"<sip:639178864952 at 198.23.160.81 [26]>;tag=1b3b463c.
>
Call-ID: NjhmYzk0ODZhNWVmOGE5MTU4ZWExM2Q5NjI1NDVhODg.
> CSeq: 2
INVITE.
> Server: OpenSIPS (1.8.3-notls (x86_64/linux)).
>
Content-Length: 0.
> .
> 
> U 2013/07/29 18:24:03.328456
198.23.160.81:5060 [27] -> 49.144.184.97:41998 [28]
> SIP/2.0 477 Send
failed (477/TM).
> Via: SIP/2.0/UDP
192.168.0.107:41998;received=49.144.184.97;branch=z9hG4bK-d8754z-1cfc096228010333-1---d8754z-;rport=41998.
>
To: <sip:639195015475 at 198.23.160.81
[29]>;tag=eb0b3ccde0b882baee99bc071578cb61-d8d9.
> From:
"639178864952"<sip:639178864952 at 198.23.160.81 [30]>;tag=1b3b463c.
>
Call-ID: NjhmYzk0ODZhNWVmOGE5MTU4ZWExM2Q5NjI1NDVhODg.
> CSeq: 2
INVITE.
> Server: OpenSIPS (1.8.3-notls (x86_64/linux)).
>
Content-Length: 0.
> .
> 
> U 2013/07/29 18:24:03.582094
49.144.184.97:41998 [31] -> 198.23.160.81:5060 [32]
> ACK
sip:639195015475 at 198.23.160.81 [33] SIP/2.0.
> Via: SIP/2.0/UDP
192.168.0.107:41998;branch=z9hG4bK-d8754z-1cfc096228010333-1---d8754z-;rport.
>
Max-Forwards: 70.
> To: <sip:639195015475 at 198.23.160.81
[34]>;tag=eb0b3ccde0b882baee99bc071578cb61-d8d9.
> From:
"639178864952"<sip:639178864952 at 198.23.160.81 [35]>;tag=1b3b463c.
>
Call-ID: NjhmYzk0ODZhNWVmOGE5MTU4ZWExM2Q5NjI1NDVhODg.
> CSeq: 2 ACK.
>
Content-Length: 0.

-- 
Mit freundlichen Grüßen
Muhammad
Shahzad
-----------------------------------
CISCO Rich Media
Communication Specialist (CRMCS)
CISCO Certified Network Associate
(CCNA)
Cell: +49 176 99 83 10 85
MSN: shari_786pk at hotmail.com
Email:
shaheryarkh at googlemail.com
 

Links:
------
[1]
http://49.144.184.97:41998
[2] http://198.23.160.81:5060
[3]
mailto:sip%3A639195015475 at 198.23.160.81
[4]
http://sip:639178864952@49.144.184.97:41998
[5]
mailto:sip%3A639195015475 at 198.23.160.81
[6]
mailto:sip%3A639178864952 at 198.23.160.81
[7]
http://198.23.160.81:5060
[8] http://49.144.184.97:41998
[9]
mailto:sip%3A639195015475 at 198.23.160.81
[10]
mailto:sip%3A639178864952 at 198.23.160.81
[11]
http://49.144.184.97:41998
[12] http://198.23.160.81:5060
[13]
mailto:sip%3A639195015475 at 198.23.160.81
[14]
mailto:sip%3A639195015475 at 198.23.160.81
[15]
mailto:sip%3A639178864952 at 198.23.160.81
[16]
http://49.144.184.97:41998
[17] http://198.23.160.81:5060
[18]
mailto:sip%3A639195015475 at 198.23.160.81
[19]
http://sip:639178864952@49.144.184.97:41998
[20]
mailto:sip%3A639195015475 at 198.23.160.81
[21]
mailto:sip%3A639178864952 at 198.23.160.81
[22]
mailto:sip%3A639195015475 at 198.23.160.81
[23]
http://198.23.160.81:5060
[24] http://49.144.184.97:41998
[25]
mailto:sip%3A639195015475 at 198.23.160.81
[26]
mailto:sip%3A639178864952 at 198.23.160.81
[27]
http://198.23.160.81:5060
[28] http://49.144.184.97:41998
[29]
mailto:sip%3A639195015475 at 198.23.160.81
[30]
mailto:sip%3A639178864952 at 198.23.160.81
[31]
http://49.144.184.97:41998
[32] http://198.23.160.81:5060
[33]
mailto:sip%3A639195015475 at 198.23.160.81
[34]
mailto:sip%3A639195015475 at 198.23.160.81
[35]
mailto:sip%3A639178864952 at 198.23.160.81
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130731/10a84bc5/attachment-0001.htm>


More information about the Users mailing list