Hi Ahmed, Asterisk is confused (by sending the request pending reply to second CALL - csesq 2) because it never received an ACK for the reply it sent for the first call (cseq 1). What is strange is that I do not see any ACK neither from OpenSIPS to Asterisk, nor from UAC to OpenSIPS....Could you verify this?
What version of opensips are you using and how are you sending the call from OpenSIPS to Asterisk (what function are you using)? Regards, Bogdan Ahmed Munir wrote: > Hi, > > Thanks for reply. I'm sorry for not adding further information > previously, well there is no firewall involve in it because iptables > service is stop and about the traces, I'm listing down the traces below; > > Where xx.xx.2.137 is OpenSIPs IP, yy.yy.179.54 is Asterisk IP and > yy.yy.176.22 is UAC IP > > > U yy.yy.176.22:9782 -> xx.xx.2.137:5060 > INVITE sip:[email protected] SIP/2.0. > To: <sip:[email protected]>. > From: 3225555025<sip:[email protected]>;tag=ff6e2a00. > Via: SIP/2.0/UDP > yy.yy.176.22:9782;branch=z9hG4bK-d87543-388987748-1--d87543-;rport. > Call-ID: b95db141291c3838. > CSeq: 1 INVITE. > Contact: <sip:[email protected]:9782>. > Max-Forwards: 70. > Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, > SUBSCRIBE, INFO. > Content-Type: application/sdp. > User-Agent: eyeBeam release 3007n stamp 17816. > Content-Length: 286. > . > v=0. > o=- 1386156 1386539 IN IP4 yy.yy.176.22. > s=eyeBeam. > c=IN IP4 yy.yy.176.22. > t=0 0. > m=audio 9784 RTP/AVP 0 8 101. > a=alt:1 1 : F2F04F20 000000D5 yy.yy.176.22 9784. > a=alt:2 3 : F2C6E608 0000001F 192.168.0.168 9784. > a=fmtp:101 0-15. > a=rtpmap:101 telephone-event/8000. > a=sendrecv. > > > U xx.xx.2.137:5060 -> yy.yy.179.54:5060 > INVITE sip:[email protected]:5060 SIP/2.0. > To: <sip:[email protected]>. > From: 3225555025<sip:[email protected]>;tag=ff6e2a00. > Via: SIP/2.0/UDP xx.xx.2.137;branch=z9hG4bK-d87543-388987748-1--d87543-. > Via: SIP/2.0/UDP > yy.yy.176.22:9782;received=yy.yy.176.22;branch=z9hG4bK-d87543-388987748-1--d87543-;rport=9782. > Call-ID: b95db141291c3838. > CSeq: 1 INVITE. > Contact: <sip:[email protected]:9782>. > Max-Forwards: 69. > Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, > SUBSCRIBE, INFO. > Content-Type: application/sdp. > User-Agent: eyeBeam release 3007n stamp 17816. > Content-Length: 286. > . > v=0. > o=- 1386156 1386539 IN IP4 yy.yy.176.22. > s=eyeBeam. > c=IN IP4 yy.yy.176.22. > t=0 0. > m=audio 9784 RTP/AVP 0 8 101. > a=alt:1 1 : F2F04F20 000000D5 yy.yy.176.22 9784. > a=alt:2 3 : F2C6E608 0000001F 192.168.0.168 9784. > a=fmtp:101 0-15. > a=rtpmap:101 telephone-event/8000. > a=sendrecv. > > > U xx.xx.2.137:5060 -> yy.yy.176.22:9782 > SIP/2.0 100 Giving a try. > To: <sip:[email protected]>. > From: 3225555025<sip:[email protected]>;tag=ff6e2a00. > Via: SIP/2.0/UDP > yy.yy.176.22:9782;branch=z9hG4bK-d87543-388987748-1--d87543-;rport=9782. > Call-ID: b95db141291c3838. > CSeq: 1 INVITE. > Server: OpenSIPS (1.6.0-notls (i386/linux)). > Content-Length: 0. > . > > > U xx.xx.2.137:5060 -> yy.yy.179.54:5060 > INVITE sip:[email protected]:5060 SIP/2.0. > To: <sip:[email protected]>. > From: 3225555025<sip:[email protected]>;tag=ff6e2a00. > Via: SIP/2.0/UDP xx.xx.2.137;branch=z9hG4bK2d48.760e5071.0. > Via: SIP/2.0/UDP > yy.yy.176.22:9782;received=yy.yy.176.22;branch=z9hG4bK-d87543-388987748-1--d87543-;rport=9782. > Call-ID: b95db141291c3838. > CSeq: 1 INVITE. > Contact: <sip:[email protected]:9782>. > Max-Forwards: 69. > Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, > SUBSCRIBE, INFO. > Content-Type: application/sdp. > User-Agent: eyeBeam release 3007n stamp 17816. > Content-Length: 286. > . > v=0. > o=- 1386156 1386539 IN IP4 yy.yy.176.22. > s=eyeBeam. > c=IN IP4 yy.yy.176.22. > t=0 0. > m=audio 9784 RTP/AVP 0 8 101. > a=alt:1 1 : F2F04F20 000000D5 yy.yy.176.22 9784. > a=alt:2 3 : F2C6E608 0000001F 192.168.0.168 9784. > a=fmtp:101 0-15. > a=rtpmap:101 telephone-event/8000. > a=sendrecv. > > > U yy.yy.179.54:5060 -> xx.xx.2.137:5060 > SIP/2.0 407 Proxy Authentication Required. > Via: SIP/2.0/UDP > xx.xx.2.137;branch=z9hG4bK-d87543-388987748-1--d87543-;received=xx.xx.2.137. > Via: SIP/2.0/UDP > yy.yy.176.22:9782;received=yy.yy.176.22;branch=z9hG4bK-d87543-388987748-1--d87543-;rport=9782. > From: 3225555025<sip:[email protected]>;tag=ff6e2a00. > To: <sip:[email protected]>;tag=as70d2441c. > Call-ID: b95db141291c3838. > CSeq: 1 INVITE. > User-Agent: Asterisk PBX. > Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. > Supported: replaces. > Proxy-Authenticate: Digest algorithm=MD5, realm="sip.vopium.com > <http://sip.vopium.com>", nonce="2db539d6". > Content-Length: 0. > . > > > U xx.xx.2.137:5060 -> yy.yy.176.22:9782 > SIP/2.0 407 Proxy Authentication Required. > Via: SIP/2.0/UDP > yy.yy.176.22:9782;received=yy.yy.176.22;branch=z9hG4bK-d87543-388987748-1--d87543-;rport=9782. > From: 3225555025<sip:[email protected]>;tag=ff6e2a00. > To: <sip:[email protected]>;tag=as70d2441c. > Call-ID: b95db141291c3838. > CSeq: 1 INVITE. > User-Agent: Asterisk PBX. > Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. > Supported: replaces. > Proxy-Authenticate: Digest algorithm=MD5, realm="sip.vopium.com > <http://sip.vopium.com>", nonce="2db539d6". > Content-Length: 0. > . > > > U yy.yy.179.54:5060 -> xx.xx.2.137:5060 > OPTIONS sip:xx.xx.2.137 SIP/2.0. > Via: SIP/2.0/UDP yy.yy.179.54:5060;branch=z9hG4bK1a11087c;rport. > From: "asterisk" <sip:[email protected]>;tag=as29a3b619. > To: <sip:xx.xx.2.137>. > Contact: <sip:[email protected]>. > Call-ID: [email protected]. > CSeq: 102 OPTIONS. > User-Agent: Asterisk PBX. > Max-Forwards: 70. > Date: Mon, 04 Jan 2010 06:39:18 GMT. > Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. > Supported: replaces. > Content-Length: 0. > . > > U yy.yy.176.22:9782 -> xx.xx.2.137:5060 > ACK sip:[email protected] SIP/2.0. > To: <sip:[email protected]>;tag=as70d2441c. > From: 3225555025<sip:[email protected]>;tag=ff6e2a00. > Via: SIP/2.0/UDP > yy.yy.176.22:9782;branch=z9hG4bK-d87543-388987748-1--d87543-;rport. > Call-ID: b95db141291c3838. > CSeq: 1 ACK. > Content-Length: 0. > . > > > U yy.yy.176.22:9782 -> xx.xx.2.137:5060 > INVITE sip:[email protected] SIP/2.0. > To: <sip:[email protected]>. > From: 3225555025<sip:[email protected]>;tag=ff6e2a00. > Via: SIP/2.0/UDP > yy.yy.176.22:9782;branch=z9hG4bK-d87543-934705935-1--d87543-;rport. > Call-ID: b95db141291c3838. > CSeq: 2 INVITE. > Contact: <sip:[email protected]:9782>. > Max-Forwards: 70. > Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, > SUBSCRIBE, INFO. > Content-Type: application/sdp. > Proxy-Authorization: Digest > username="3225555025",realm="sip.vopium.com > <http://sip.vopium.com>",nonce="2db539d6",uri="sip:[email protected]",response="c38bf526c78f4ed5bf393716eed7c581",algorithm=MD5. > User-Agent: eyeBeam release 3007n stamp 17816. > Content-Length: 286. > . > v=0. > o=- 1386156 1386539 IN IP4 yy.yy.176.22. > s=eyeBeam. > c=IN IP4 yy.yy.176.22. > t=0 0. > m=audio 9784 RTP/AVP 0 8 101. > a=alt:1 1 : F2F04F20 000000D5 yy.yy.176.22 9784. > a=alt:2 3 : F2C6E608 0000001F 192.168.0.168 9784. > a=fmtp:101 0-15. > a=rtpmap:101 telephone-event/8000. > a=sendrecv. > > > U xx.xx.2.137:5060 -> yy.yy.179.54:5060 > INVITE sip:[email protected]:5060 SIP/2.0. > To: <sip:[email protected]>. > From: 3225555025<sip:[email protected]>;tag=ff6e2a00. > Via: SIP/2.0/UDP xx.xx.2.137;branch=z9hG4bK-d87543-934705935-1--d87543-. > Via: SIP/2.0/UDP > yy.yy.176.22:9782;received=yy.yy.176.22;branch=z9hG4bK-d87543-934705935-1--d87543-;rport=9782. > Call-ID: b95db141291c3838. > CSeq: 2 INVITE. > Contact: <sip:[email protected]:9782>. > Max-Forwards: 69. > Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, > SUBSCRIBE, INFO. > Content-Type: application/sdp. > Proxy-Authorization: Digest > username="3225555025",realm="sip.vopium.com > <http://sip.vopium.com>",nonce="2db539d6",uri="sip:[email protected]",response="c38bf526c78f4ed5bf393716eed7c581",algorithm=MD5. > User-Agent: eyeBeam release 3007n stamp 17816. > Content-Length: 286. > . > v=0. > o=- 1386156 1386539 IN IP4 yy.yy.176.22. > s=eyeBeam. > c=IN IP4 yy.yy.176.22. > t=0 0. > m=audio 9784 RTP/AVP 0 8 101. > a=alt:1 1 : F2F04F20 000000D5 yy.yy.176.22 9784. > a=alt:2 3 : F2C6E608 0000001F 192.168.0.168 9784. > a=fmtp:101 0-15. > a=rtpmap:101 telephone-event/8000. > a=sendrecv. > > > U xx.xx.2.137:5060 -> yy.yy.176.22:9782 > SIP/2.0 100 Giving a try. > To: <sip:[email protected]>. > From: 3225555025<sip:[email protected]>;tag=ff6e2a00. > Via: SIP/2.0/UDP > yy.yy.176.22:9782;branch=z9hG4bK-d87543-934705935-1--d87543-;rport=9782. > Call-ID: b95db141291c3838. > CSeq: 2 INVITE. > Server: OpenSIPS (1.6.0-notls (i386/linux)). > Content-Length: 0. > . > > > U xx.xx.2.137:5060 -> yy.yy.179.54:5060 > INVITE sip:[email protected]:5060 SIP/2.0. > To: <sip:[email protected]>. > From: 3225555025<sip:[email protected]>;tag=ff6e2a00. > Via: SIP/2.0/UDP xx.xx.2.137;branch=z9hG4bKfc48.bfbb73b4.0. > Via: SIP/2.0/UDP > yy.yy.176.22:9782;received=yy.yy.176.22;branch=z9hG4bK-d87543-934705935-1--d87543-;rport=9782. > Call-ID: b95db141291c3838. > CSeq: 2 INVITE. > Contact: <sip:[email protected]:9782>. > Max-Forwards: 69. > Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, > SUBSCRIBE, INFO. > Content-Type: application/sdp. > Proxy-Authorization: Digest > username="3225555025",realm="sip.vopium.com > <http://sip.vopium.com>",nonce="2db539d6",uri="sip:[email protected]",response="c38bf526c78f4ed5bf393716eed7c581",algorithm=MD5. > User-Agent: eyeBeam release 3007n stamp 17816. > Content-Length: 286. > . > v=0. > o=- 1386156 1386539 IN IP4 yy.yy.176.22. > s=eyeBeam. > c=IN IP4 yy.yy.176.22. > t=0 0. > m=audio 9784 RTP/AVP 0 8 101. > a=alt:1 1 : F2F04F20 000000D5 yy.yy.176.22 9784. > a=alt:2 3 : F2C6E608 0000001F 192.168.0.168 9784. > a=fmtp:101 0-15. > a=rtpmap:101 telephone-event/8000. > a=sendrecv. > > > U xx.xx.2.137:5060 -> yy.yy.179.54:5060 > INVITE sip:[email protected]:5060 SIP/2.0. > To: <sip:[email protected]>. > From: 3225555025<sip:[email protected]>;tag=ff6e2a00. > Via: SIP/2.0/UDP xx.xx.2.137;branch=z9hG4bK2d48.760e5071.0. > Via: SIP/2.0/UDP > yy.yy.176.22:9782;received=yy.yy.176.22;branch=z9hG4bK-d87543-388987748-1--d87543-;rport=9782. > Call-ID: b95db141291c3838. > CSeq: 1 INVITE. > Contact: <sip:[email protected]:9782>. > Max-Forwards: 69. > Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, > SUBSCRIBE, INFO. > Content-Type: application/sdp. > User-Agent: eyeBeam release 3007n stamp 17816. > Content-Length: 286. > . > v=0. > o=- 1386156 1386539 IN IP4 yy.yy.176.22. > s=eyeBeam. > c=IN IP4 yy.yy.176.22. > t=0 0. > m=audio 9784 RTP/AVP 0 8 101. > a=alt:1 1 : F2F04F20 000000D5 yy.yy.176.22 9784. > a=alt:2 3 : F2C6E608 0000001F 192.168.0.168 9784. > a=fmtp:101 0-15. > a=rtpmap:101 telephone-event/8000. > a=sendrecv. > > > U yy.yy.179.54:5060 -> xx.xx.2.137:5060 > SIP/2.0 491 Request Pending. > Via: SIP/2.0/UDP > xx.xx.2.137;branch=z9hG4bK-d87543-934705935-1--d87543-;received=xx.xx.2.137. > Via: SIP/2.0/UDP > yy.yy.176.22:9782;received=yy.yy.176.22;branch=z9hG4bK-d87543-934705935-1--d87543-;rport=9782. > From: 3225555025<sip:[email protected]>;tag=ff6e2a00. > To: <sip:[email protected]>;tag=as70d2441c. > Call-ID: b95db141291c3838. > CSeq: 2 INVITE. > User-Agent: Asterisk PBX. > Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. > Supported: replaces. > Content-Length: 0. > . > > > U xx.xx.2.137:5060 -> yy.yy.176.22:9782 > SIP/2.0 491 Request Pending. > Via: SIP/2.0/UDP > yy.yy.176.22:9782;received=yy.yy.176.22;branch=z9hG4bK-d87543-934705935-1--d87543-;rport=9782. > From: 3225555025<sip:[email protected]>;tag=ff6e2a00. > To: <sip:[email protected]>;tag=as70d2441c. > Call-ID: b95db141291c3838. > CSeq: 2 INVITE. > User-Agent: Asterisk PBX. > Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. > Supported: replaces. > Content-Length: 0. > . > > > U yy.yy.179.54:5060 -> xx.xx.2.137:5060 > SIP/2.0 503 Server error. > Via: SIP/2.0/UDP > xx.xx.2.137;branch=z9hG4bK2d48.760e5071.0;received=xx.xx.2.137. > Via: SIP/2.0/UDP > yy.yy.176.22:9782;received=yy.yy.176.22;branch=z9hG4bK-d87543-388987748-1--d87543-;rport=9782. > From: 3225555025<sip:[email protected]>;tag=ff6e2a00. > To: <sip:[email protected]>;tag=as70d2441c. > Call-ID: b95db141291c3838. > CSeq: 1 INVITE. > User-Agent: Asterisk PBX. > Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. > Supported: replaces. > Contact: <sip:[email protected]>. > Content-Length: 0. > . > U xx.xx.2.137:5060 -> yy.yy.179.54:5060 > ACK sip:[email protected]:5060 SIP/2.0. > Via: SIP/2.0/UDP xx.xx.2.137;branch=z9hG4bK2d48.760e5071.0. > From: 3225555025<sip:[email protected]>;tag=ff6e2a00. > Call-ID: b95db141291c3838. > To: <sip:[email protected]>;tag=as70d2441c. > CSeq: 1 ACK. > Max-Forwards: 70. > User-Agent: OpenSIPS (1.6.0-notls (i386/linux)). > Content-Length: 0. > . > > > U xx.xx.2.137:5060 -> yy.yy.176.22:9782 > SIP/2.0 500 Server error. > Via: SIP/2.0/UDP > yy.yy.176.22:9782;received=yy.yy.176.22;branch=z9hG4bK-d87543-388987748-1--d87543-;rport=9782. > From: 3225555025<sip:[email protected]>;tag=ff6e2a00. > To: <sip:[email protected]>;tag=as70d2441c. > Call-ID: b95db141291c3838. > CSeq: 1 INVITE. > User-Agent: Asterisk PBX. > Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. > Supported: replaces. > Contact: <sip:[email protected]>. > Content-Length: 0. > . > > > U yy.yy.176.22:9782 -> xx.xx.2.137:5060 > ACK sip:[email protected] SIP/2.0. > To: <sip:[email protected]>;tag=as70d2441c. > From: 3225555025<sip:[email protected]>;tag=ff6e2a00. > Via: SIP/2.0/UDP > yy.yy.176.22:9782;branch=z9hG4bK-d87543-934705935-1--d87543-;rport. > Call-ID: b95db141291c3838. > CSeq: 2 ACK. > Content-Length: 0. > . > > Kindly help me to resolve this problem. > > > > Date: Fri, 1 Jan 2010 19:15:00 +0530 > From: ram <[email protected] <mailto:[email protected]>> > Subject: Re: [OpenSIPS-Users] Need help for Call to another network > To: OpenSIPS users mailling list <[email protected] > <mailto:[email protected]>> > Message-ID: > > <[email protected] > <mailto:[email protected]>> > Content-Type: text/plain; charset="iso-8859-1" > > check any Firewall involved > > or use ngrep to track the packet > > Ram > > On Fri, Jan 1, 2010 at 6:17 PM, Ahmed Munir > <[email protected] <mailto:[email protected]>> wrote: > > > Hi, > > > > I've configured OpenSIPs + Asterisk machines, where OpenSIPs > forwards calls > > to Asterisk using dispatcher module. > > > > Call is made when OpenSIPs and Asterisk are configured on same > network i.e. > > xx.xx.2.137 IP of OpenSIPs and xx.xx.2.136 IP of Asterisk. > > But when I mention different network IP of Asterisk i.e. > yy.yy.179.54 to > > OpenSIPs, I'm getting error of Request Pending. Even same > configuration is > > set on yy.yy.179.137 Asterisk machine A as on xx.xx.2.136 > Asterisk machine > > B. > > > > Kindly advise me how can I resolve this issue/which part I need to > > configure. > > > > -- > > Regards, > > > > Ahmed Munir > > > > > > > > _______________________________________________ > > Users mailing list > > [email protected] <mailto:[email protected]> > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > > http://lists.opensips.org/pipermail/users/attachments/20100101/622a1c74/attachment-0001.htm > > ------------------------------ > > _______________________________________________ > Users mailing list > [email protected] <mailto:[email protected]> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > End of Users Digest, Vol 18, Issue 2 > ************************************ > > > > > -- > Regards, > > Ahmed Munir > > > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -- Bogdan-Andrei Iancu www.voice-system.ro _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
