Hi, I solved using the dialog and the received port. But is there any other option ?
Andrei On Fri, Apr 12, 2013 at 11:10 PM, Andrei Grav <[email protected]> wrote: > Hi, > > I am facing some strange situation. > Opensips is listening on multiple ports on a single public IP 193.xx.xx.20 > on ports: 5060, 26999, 36999 > Asterisk is on 193.xx.xx.24:5060 > > Sometimes Opensips respond from 5060 to a 200OK instead received port. > > > U 188.xx.xx.173:53929 -> 193.xx.xx.20:26999 > SIP/2.0 200 OK. > Via: SIP/2.0/UDP > 193.xx.xx.20:26999;received=193.xx.xx.20;branch=z9hG4bK46cd.df220482.1. > Via: SIP/2.0/UDP > 193.xx.xx.24:5060;rport=5060;received=193.xx.xx.24;branch=z9hG4bK218bf88e. > Record-Route: > <sip:193.xx.xx.20:26999;lr;r2=on;ftag=as61ef6194;did=49d.46da2342>. > Record-Route: <sip:193.xx.xx.20;lr;r2=on;ftag=as61ef6194;did=49d.46da2342>. > Call-ID: [email protected]. > From: "User" <sip:[email protected]>;tag=as61ef6194. > To: <sip:[email protected]>;tag=Yab-MAmXkF5lAQq2E6QpifQ8xa9xDoU7. > CSeq: 102 INVITE. > Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, > MESSAGE, OPTIONS. > Contact: <sip:[email protected]:53929;ob>. > Supported: replaces, 100rel, timer, norefersub. > Content-Type: application/sdp. > Content-Length: 294. > . > v=0. > o=- 3574781465 3574781466 IN IP4 188.xx.xx.173. > s=pjmedia. > c=IN IP4 188.xx.xx.173. > t=0 0. > m=audio 4006 RTP/AVP 18 101. > c=IN IP4 188.xx.xx.173. > a=rtcp:4007 IN IP4 188.xx.xx.173. > a=sendrecv. > a=rtpmap:18 G729/8000. > a=fmtp:18 annexb=no. > a=rtpmap:101 telephone-event/8000. > a=fmtp:101 0-15. > > > U 193.xx.xx.20:5060 -> 188.xx.xx.173:53929 > ACK sip:[email protected]:53929;ob SIP/2.0. > Via: SIP/2.0/UDP 193.xx.xx.20:26999;branch=z9hG4bK46cd.df220482.3. > Via: SIP/2.0/UDP > 193.xx.xx.24:5060;rport=5060;received=193.xx.xx.24;branch=z9hG4bK63fbcba6. > Max-Forwards: 69. > From: "User" <sip:[email protected]>;tag=as61ef6194. > To: <sip:[email protected]>;tag=Yab-MAmXkF5lAQq2E6QpifQ8xa9xDoU7. > Contact: <sip:[email protected]:5060>. > Call-ID: [email protected]. > CSeq: 102 ACK. > User-Agent: PBX. > Content-Length: 0. > . > > > the last response should send the response from port 26999 to be ok ... or > the call is hanged up after 32 seconds > U 193.xx.xx.20:26999 -> 188.xx.xx.173:53929 > > any advice ? > > Thank you, > Andrei >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
