<font face="verdana,sans-serif">Hello community, <br><br>I'm having a weird error connecting my OpenSIPS with my Asterisk server, this is the scenario:<br><br>A (</font><font face="verdana,sans-serif"><a href="http://172.30.140.18:55063">172.30.140.18:55063</a></font><font face="verdana,sans-serif">) --> OpenSIPS (</font><font face="verdana,sans-serif"><a href="http://172.30.140.57:5060">172.30.140.57:5060</a></font><font face="verdana,sans-serif">) --> Asterisk (</font><font face="verdana,sans-serif"><a href="http://172.30.140.40:5060">172.30.140.40:5060</a></font><font face="verdana,sans-serif">) --> B<br>
<br>and now take a look at the traces:<br><br>U 2011/02/17 11:53:01.933871 <a href="http://172.30.140.18:55063">172.30.140.18:55063</a> -> <a href="http://172.30.140.57:5060">172.30.140.57:5060</a><br>INVITE <a href="mailto:sip%3A011887238976894563045@172.30.140.57">sip:011887238976894563045@172.30.140.57</a> SIP/2.0^@<br>
Via: SIP/2.0/UDP 172.30.140.18:55063;branch=z9hG4bK-d87543-2f38213d4413f513-1--d87543-;rport^@<br>Max-Forwards: 70^@<br>Contact: <<a href="http://sip:1000@172.30.140.18:55063">sip:1000@172.30.140.18:55063</a>>^@<br>
To: "011887238976894563045"<<a href="mailto:sip%3A011887238976894563045@172.30.140.57">sip:011887238976894563045@172.30.140.57</a>>^@<br>From: "1000"<<a href="mailto:sip%3A1000@172.30.140.57">sip:1000@172.30.140.57</a>>;tag=f8636d21^@<br>
Call-ID: NjM0ZDU0NmNkOTI2YWZmYjk4MzBlY2Y2ZmJhM2YxYjU.^@<br>CSeq: 2 INVITE^@<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO^@<br>Content-Type: application/sdp^@<br>Proxy-Authorization: Digest username="1000",realm="172.30.140.57",nonce="4d5cfe2b0000000225b0486d17b27e44f8d7c14d191f0ae7",uri="<a href="mailto:sip%3A011887238976894563045@172.30.140.57">sip:011887238976894563045@172.30.140.57</a>",response="6c7defa53d5c68c1f3d2b5fda8400be6",algorithm=MD5^@<br>
User-Agent: X-Lite release 1011s stamp 41150^@<br>Content-Length: 372^@<br>^@<br>v=0^@<br>o=- 2 2 IN IP4 172.30.140.18^@<br>s=CounterPath X-Lite 3.0^@<br>c=IN IP4 172.30.140.18^@<br>t=0 0^@<br>m=audio 50020 RTP/AVP 107 119 100 106 0 105 98 8 101^@<br>
a=fmtp:101 0-15^@<br>a=rtpmap:107 BV32/16000^@<br>a=rtpmap:119 BV32-FEC/16000^@<br>a=rtpmap:100 SPEEX/16000^@<br>a=rtpmap:106 SPEEX-FEC/16000^@<br>a=rtpmap:105 SPEEX-FEC/8000^@<br>a=rtpmap:98 iLBC/8000^@<br>a=rtpmap:101 telephone-event/8000^@<br>
a=sendrecv^@<br><br><br>U 2011/02/17 11:53:01.935400 <a href="http://172.30.140.57:5060">172.30.140.57:5060</a> -> <a href="http://172.30.140.40:5060">172.30.140.40:5060</a><br>INVITE <a href="mailto:sip%3A887238976894563045@172.30.140.40">sip:887238976894563045@172.30.140.40</a> SIP/2.0^@<br>
Record-Route: <sip:172.30.140.57;lr=on>^@<br>Via: SIP/2.0/UDP 172.30.140.57;branch=z9hG4bKbf24.2b64a8c2.0^@<br>Via: SIP/2.0/UDP 172.30.140.18:55063;received=172.30.140.18;branch=z9hG4bK-d87543-2f38213d4413f513-1--d87543-;rport=55063^@<br>
Max-Forwards: 69^@<br>Contact: <<a href="http://sip:1000@172.30.140.18:55063">sip:1000@172.30.140.18:55063</a>>^@<br>To: "011887238976894563045"<<a href="mailto:sip%3A011887238976894563045@172.30.140.57">sip:011887238976894563045@172.30.140.57</a>>^@<br>
From: "1000"<<a href="mailto:sip%3A1000@172.30.140.57">sip:1000@172.30.140.57</a>>;tag=f8636d21^@<br>Call-ID: NjM0ZDU0NmNkOTI2YWZmYjk4MzBlY2Y2ZmJhM2YxYjU.^@<br>CSeq: 2 INVITE^@<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO^@<br>
Content-Type: application/sdp^@<br>User-Agent: X-Lite release 1011s stamp 41150^@<br>Content-Length: 372^@<br>^@<br>v=0^@<br>o=- 2 2 IN IP4 172.30.140.18^@<br>s=CounterPath X-Lite 3.0^@<br>c=IN IP4 172.30.140.18^@<br>t=0 0^@<br>
m=audio 50020 RTP/AVP 107 119 100 106 0 105 98 8 101^@<br>a=fmtp:101 0-15^@<br>a=rtpmap:107 BV32/16000^@<br>a=rtpmap:119 BV32-FEC/16000^@<br>a=rtpmap:100 SPEEX/16000^@<br>a=rtpmap:106 SPEEX-FEC/16000^@<br>a=rtpmap:105 SPEEX-FEC/8000^@<br>
a=rtpmap:98 iLBC/8000^@<br>a=rtpmap:101 telephone-event/8000^@<br>a=sendrecv^@<br><br><br>U 2011/02/17 11:53:02.284379 <a href="http://172.30.140.40:5060">172.30.140.40:5060</a> -> <a href="http://172.30.140.57:5060">172.30.140.57:5060</a><br>
SIP/2.0 180 Ringing^@<br>Via: SIP/2.0/UDP 172.30.140.57;branch=z9hG4bKbf24.2b64a8c2.0;received=172.30.140.57^@<br>Via: SIP/2.0/UDP 172.30.140.18:55063;received=172.30.140.18;branch=z9hG4bK-d87543-2f38213d4413f513-1--d87543-;rport=55063^@<br>
Record-Route: <sip:172.30.140.57;lr=on>^@<br>From: "1000"<<a href="mailto:sip%3A1000@172.30.140.57">sip:1000@172.30.140.57</a>>;tag=f8636d21^@<br>To: "011887238976894563045"<<a href="mailto:sip%3A011887238976894563045@172.30.140.57">sip:011887238976894563045@172.30.140.57</a>>;tag=as2d96f902^@<br>
Call-ID: NjM0ZDU0NmNkOTI2YWZmYjk4MzBlY2Y2ZmJhM2YxYjU.^@<br>CSeq: 2 INVITE^@<br>User-Agent: Asterisk PBX^@<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY^@<br>Supported: replaces^@<br>Contact: <<a href="mailto:sip%3A887238976894563045@172.30.140.40">sip:887238976894563045@172.30.140.40</a>>^@<br>
Content-Length: 0^@<br>^@<br><br>#<br>U 2011/02/17 11:53:02.284672 <a href="http://172.30.140.57:5060">172.30.140.57:5060</a> -> <a href="http://172.30.140.18:55063">172.30.140.18:55063</a><br>SIP/2.0 180 Ringing^@<br>
Via: SIP/2.0/UDP 172.30.140.18:55063;received=172.30.140.18;branch=z9hG4bK-d87543-2f38213d4413f513-1--d87543-;rport=55063^@<br>Record-Route: <sip:172.30.140.57;lr=on>^@<br>From: "1000"<<a href="mailto:sip%3A1000@172.30.140.57">sip:1000@172.30.140.57</a>>;tag=f8636d21^@<br>
To: "011887238976894563045"<<a href="mailto:sip%3A011887238976894563045@172.30.140.57">sip:011887238976894563045@172.30.140.57</a>>;tag=as2d96f902^@<br>Call-ID: NjM0ZDU0NmNkOTI2YWZmYjk4MzBlY2Y2ZmJhM2YxYjU.^@<br>
CSeq: 2 INVITE^@<br>User-Agent: Asterisk PBX^@<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY^@<br>Supported: replaces^@<br>Contact: <<a href="mailto:sip%3A887238976894563045@172.30.140.40">sip:887238976894563045@172.30.140.40</a>>^@<br>
Content-Length: 0^@<br>^@<br><br>U 2011/02/17 11:53:03.298391 <a href="http://172.30.140.40:5060">172.30.140.40:5060</a> -> <a href="http://172.30.140.57:5060">172.30.140.57:5060</a><br>SIP/2.0 200 OK^@<br>Via: SIP/2.0/UDP 172.30.140.57;branch=z9hG4bKbf24.2b64a8c2.0;received=172.30.140.57^@<br>
Via: SIP/2.0/UDP 172.30.140.18:55063;received=172.30.140.18;branch=z9hG4bK-d87543-2f38213d4413f513-1--d87543-;rport=55063^@<br>Record-Route: <sip:172.30.140.57;lr=on>^@<br>From: "1000"<<a href="mailto:sip%3A1000@172.30.140.57">sip:1000@172.30.140.57</a>>;tag=f8636d21^@<br>
To: "011887238976894563045"<<a href="mailto:sip%3A011887238976894563045@172.30.140.57">sip:011887238976894563045@172.30.140.57</a>>;tag=as2d96f902^@<br>Call-ID: NjM0ZDU0NmNkOTI2YWZmYjk4MzBlY2Y2ZmJhM2YxYjU.^@<br>
CSeq: 2 INVITE^@<br>User-Agent: Asterisk PBX^@<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY^@<br>Supported: replaces^@<br>Contact: <<a href="mailto:sip%3A887238976894563045@172.30.140.40">sip:887238976894563045@172.30.140.40</a>>^@<br>
Content-Type: application/sdp^@<br>Content-Length: 240^@<br>^@<br>v=0^@<br>o=root 1966 1966 IN IP4 172.30.140.40^@<br>s=session^@<br>c=IN IP4 172.30.140.40^@<br>t=0 0^@<br>m=audio 18852 RTP/AVP 0 101^@<br>a=rtpmap:0 PCMU/8000^@<br>
a=rtpmap:101 telephone-event/8000^@<br>a=fmtp:101 0-16^@<br>a=silenceSupp:off - - - -^@<br>a=ptime:20^@<br>a=sendrecv^@<br><br>U 2011/02/17 11:53:03.298702 <a href="http://172.30.140.57:5060">172.30.140.57:5060</a> -> <a href="http://172.30.140.18:55063">172.30.140.18:55063</a><br>
SIP/2.0 200 OK^@<br>Via: SIP/2.0/UDP 172.30.140.18:55063;received=172.30.140.18;branch=z9hG4bK-d87543-2f38213d4413f513-1--d87543-;rport=55063^@<br>Record-Route: <sip:172.30.140.57;lr=on>^@<br>From: "1000"<<a href="mailto:sip%3A1000@172.30.140.57">sip:1000@172.30.140.57</a>>;tag=f8636d21^@<br>
To: "011887238976894563045"<<a href="mailto:sip%3A011887238976894563045@172.30.140.57">sip:011887238976894563045@172.30.140.57</a>>;tag=as2d96f902^@<br>Call-ID: NjM0ZDU0NmNkOTI2YWZmYjk4MzBlY2Y2ZmJhM2YxYjU.^@<br>
CSeq: 2 INVITE^@<br>User-Agent: Asterisk PBX^@<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY^@<br>Supported: replaces^@<br>Contact: <<a href="mailto:sip%3A887238976894563045@172.30.140.40">sip:887238976894563045@172.30.140.40</a>>^@<br>
Content-Type: application/sdp^@<br>Content-Length: 240^@<br>^@<br>v=0^@<br>o=root 1966 1966 IN IP4 172.30.140.40^@<br>s=session^@<br>c=IN IP4 172.30.140.40^@<br>t=0 0^@<br>m=audio 18852 RTP/AVP 0 101^@<br>a=rtpmap:0 PCMU/8000^@<br>
a=rtpmap:101 telephone-event/8000^@<br>a=fmtp:101 0-16^@<br>a=silenceSupp:off - - - -^@<br>a=ptime:20^@<br>a=sendrecv^@<br><br>#<br>U 2011/02/17 11:53:03.407685 <b><a href="http://172.30.140.18:55063">172.30.140.18:55063</a> -> <a href="http://172.30.140.57:5060">172.30.140.57:5060</a></b><br>
<b>ACK <a href="mailto:sip%3A887238976894563045@172.30.140.40">sip:887238976894563045@172.30.140.40</a> SIP/2.0^@<br>Via: SIP/2.0/UDP 172.30.140.18:55063;branch=z9hG4bK-d87543-521a2b0fde4fec7e-1--d87543-;rport^@</b><br>Max-Forwards: 70^@<br>
Route: <sip:172.30.140.57;lr>^@<br>Contact: <<a href="http://sip:1000@172.30.140.18:55063">sip:1000@172.30.140.18:55063</a>>^@<br>To: "011887238976894563045"<<a href="mailto:sip%3A011887238976894563045@172.30.140.57">sip:011887238976894563045@172.30.140.57</a>>;tag=as2d96f902^@<br>
From: "1000"<<a href="mailto:sip%3A1000@172.30.140.57">sip:1000@172.30.140.57</a>>;tag=f8636d21^@<br>Call-ID: NjM0ZDU0NmNkOTI2YWZmYjk4MzBlY2Y2ZmJhM2YxYjU.^@<br>CSeq: 2 ACK^@<br>Proxy-Authorization: Digest username="1000",realm="172.30.140.57",nonce="4d5cfe2b0000000225b0486d17b27e44f8d7c14d191f0ae7",uri="<a href="mailto:sip%3A011887238976894563045@172.30.140.57">sip:011887238976894563045@172.30.140.57</a>",response="6c7defa53d5c68c1f3d2b5fda8400be6",algorithm=MD5^@<br>
User-Agent: X-Lite release 1011s stamp 41150^@<br>Content-Length: 0^@<br><br>U 2011/02/17 11:53:03.407995 <b><a href="http://172.30.140.57:5060">172.30.140.57:5060</a> -> <a href="http://172.30.140.57:5060">172.30.140.57:5060</a></b><br>
<b>ACK sip:172.30.140.57;lr SIP/2.0^@<br>Via: SIP/2.0/UDP 172.30.140.57;branch=z9hG4bKbf24.2b64a8c2.2^@<br>Via: SIP/2.0/UDP 172.30.140.18:55063;received=172.30.140.18;branch=z9hG4bK-d87543-521a2b0fde4fec7e-1--d87543-;rport=55063^@</b><br>
Max-Forwards: 69^@<br>Contact: <<a href="http://sip:1000@172.30.140.18:55063">sip:1000@172.30.140.18:55063</a>>^@<br>To: "011887238976894563045"<<a href="mailto:sip%3A011887238976894563045@172.30.140.57">sip:011887238976894563045@172.30.140.57</a>>;tag=as2d96f902^@<br>
From: "1000"<<a href="mailto:sip%3A1000@172.30.140.57">sip:1000@172.30.140.57</a>>;tag=f8636d21^@<br>Call-ID: NjM0ZDU0NmNkOTI2YWZmYjk4MzBlY2Y2ZmJhM2YxYjU.^@<br>CSeq: 2 ACK^@<br>Proxy-Authorization: Digest username="1000",realm="172.30.140.57",nonce="4d5cfe2b0000000225b0486d17b27e44f8d7c14d191f0ae7",uri="<a href="mailto:sip%3A011887238976894563045@172.30.140.57">sip:011887238976894563045@172.30.140.57</a>",response="6c7defa53d5c68c1f3d2b5fda8400be6",algorithm=MD5^@<br>
User-Agent: X-Lite release 1011s stamp 41150^@<br>Content-Length: 0^@<br>^@<br><br>#<br>U 2011/02/17 11:53:03.408064 <b><a href="http://172.30.140.57:5060">172.30.140.57:5060</a> -> <a href="http://172.30.140.57:5060">172.30.140.57:5060</a></b><br>
<b>ACK sip:172.30.140.57;lr SIP/2.0^@<br>Via: SIP/2.0/UDP 172.30.140.57;branch=z9hG4bKbf24.2b64a8c2.2^@<br>Via: SIP/2.0/UDP 172.30.140.57;branch=z9hG4bKbf24.2b64a8c2.2^@<br>Via: SIP/2.0/UDP 172.30.140.18:55063;received=172.30.140.18;branch=z9hG4bK-d87543-521a2b0fde4fec7e-1--d87543-;rport=55063^@</b><br>
Max-Forwards: 68^@<br>Contact: <<a href="http://sip:1000@172.30.140.18:55063">sip:1000@172.30.140.18:55063</a>>^@<br>To: "011887238976894563045"<<a href="mailto:sip%3A011887238976894563045@172.30.140.57">sip:011887238976894563045@172.30.140.57</a>>;tag=as2d96f902^@<br>
From: "1000"<<a href="mailto:sip%3A1000@172.30.140.57">sip:1000@172.30.140.57</a>>;tag=f8636d21^@<br>Call-ID: NjM0ZDU0NmNkOTI2YWZmYjk4MzBlY2Y2ZmJhM2YxYjU.^@<br>CSeq: 2 ACK^@<br>Proxy-Authorization: Digest username="1000",realm="172.30.140.57",nonce="4d5cfe2b0000000225b0486d17b27e44f8d7c14d191f0ae7",uri="<a href="mailto:sip%3A011887238976894563045@172.30.140.57">sip:011887238976894563045@172.30.140.57</a>",response="6c7defa53d5c68c1f3d2b5fda8400be6",algorithm=MD5^@<br>
User-Agent: X-Lite release 1011s stamp 41150^@<br>Content-Length: 0^@<br><br>U 2011/02/17 11:53:03.408099 <b><a href="http://172.30.140.57:5060">172.30.140.57:5060</a> -> <a href="http://172.30.140.57:5060">172.30.140.57:5060</a></b><br>
<b>ACK sip:172.30.140.57;lr SIP/2.0^@<br>Via: SIP/2.0/UDP 172.30.140.57;branch=z9hG4bKbf24.2b64a8c2.2^@<br>Via: SIP/2.0/UDP 172.30.140.57;branch=z9hG4bKbf24.2b64a8c2.2^@<br>Via: SIP/2.0/UDP 172.30.140.57;branch=z9hG4bKbf24.2b64a8c2.2^@<br>
Via: SIP/2.0/UDP 172.30.140.18:55063;received=172.30.140.18;branch=z9hG4bK-d87543-521a2b0fde4fec7e-1--d87543-;rport=55063^</b>@<br>Max-Forwards: 67^@<br>Contact: <<a href="http://sip:1000@172.30.140.18:55063">sip:1000@172.30.140.18:55063</a>>^@<br>
To: "011887238976894563045"<<a href="mailto:sip%3A011887238976894563045@172.30.140.57">sip:011887238976894563045@172.30.140.57</a>>;tag=as2d96f902^@<br>From: "1000"<<a href="mailto:sip%3A1000@172.30.140.57">sip:1000@172.30.140.57</a>>;tag=f8636d21^@<br>
Call-ID: NjM0ZDU0NmNkOTI2YWZmYjk4MzBlY2Y2ZmJhM2YxYjU.^@<br>CSeq: 2 ACK^@<br>Proxy-Authorization: Digest username="1000",realm="172.30.140.57",nonce="4d5cfe2b0000000225b0486d17b27e44f8d7c14d191f0ae7",uri="<a href="mailto:sip%3A011887238976894563045@172.30.140.57">sip:011887238976894563045@172.30.140.57</a>",response="6c7defa53d5c68c1f3d2b5fda8400be6",algorithm=MD5^@<br>
User-Agent: X-Lite release 1011s stamp 41150^@<br>Content-Length: 0^@<br>^@<br><br>#<br>U 2011/02/17 11:53:03.408129 <b><a href="http://172.30.140.57:5060">172.30.140.57:5060</a> -> <a href="http://172.30.140.57:5060">172.30.140.57:5060</a></b><br>
<b>ACK sip:172.30.140.57;lr SIP/2.0^@<br>Via: SIP/2.0/UDP 172.30.140.57;branch=z9hG4bKbf24.2b64a8c2.2^@<br>Via: SIP/2.0/UDP 172.30.140.57;branch=z9hG4bKbf24.2b64a8c2.2^@<br>Via: SIP/2.0/UDP 172.30.140.57;branch=z9hG4bKbf24.2b64a8c2.2^@<br>
Via: SIP/2.0/UDP 172.30.140.57;branch=z9hG4bKbf24.2b64a8c2.2^@<br>Via: SIP/2.0/UDP 172.30.140.18:55063;received=172.30.140.18;branch=z9hG4bK-d87543-521a2b0fde4fec7e-1--d87543-;rport=55063^@</b><br>Max-Forwards: 66^@<br>Contact: <<a href="http://sip:1000@172.30.140.18:55063">sip:1000@172.30.140.18:55063</a>>^@<br>
To: "011887238976894563045"<<a href="mailto:sip%3A011887238976894563045@172.30.140.57">sip:011887238976894563045@172.30.140.57</a>>;tag=as2d96f902^@<br>From: "1000"<<a href="mailto:sip%3A1000@172.30.140.57">sip:1000@172.30.140.57</a>>;tag=f8636d21^@<br>
Call-ID: NjM0ZDU0NmNkOTI2YWZmYjk4MzBlY2Y2ZmJhM2YxYjU.^@<br>CSeq: 2 ACK^@<br>Proxy-Authorization: Digest username="1000",realm="172.30.140.57",nonce="4d5cfe2b0000000225b0486d17b27e44f8d7c14d191f0ae7",uri="<a href="mailto:sip%3A011887238976894563045@172.30.140.57">sip:011887238976894563045@172.30.140.57</a>",response="6c7defa53d5c68c1f3d2b5fda8400be6",algorithm=MD5^@<br>
User-Agent: X-Lite release 1011s stamp 41150^@<br>Content-Length: 0^@<br>.<br>.<br>.<br>.<br><br>This continues until the Asterisk retransmit the 200 OK, but then the same behavior, the Proxy sends the ACK from A to itself...what is happening? what should i check?<br>
</font>