Error relaying ACK to the same IP but different port

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Error relaying ACK to the same IP but different port

Gustavo Mistrinelli
Hello, I have a schema composed by OpenSIPS (10.20.200.1:5060) and B2BUA-Asterisk (10.20.200.1:5070) ,

Here goes a call flow from a hardphone (10.10.115.113) to a Conference Number located in another server (Asterisk: 192.168.0.1)
I found an issue, see timeframe 0.028, you can see OpenSIPS sending an ACK to itself at the same port(5060) when it should be to 5070, Then B2BUA send again 200OK to OpenSIPS..and go on...
If I put B2BUA in another server using and same port (5070) it works fine.. :S

|Time     | 10.10.115.113     | 10.20.200.1           |
|0.000    |         INVITE SDP ( telephone-event)     |SIP From: [hidden email] [hidden email]
|         |(5060)   ------------------>  (5060)       |
|0.000    |         407 Proxy Authentication Required |SIP Status
|         |(5060)   <------------------  (5060)       |
|0.004    |         ACK       |                       |SIP Request
|         |(5060)   ------------------>  (5060)       |
|0.009    |         INVITE SDP ( telephone-event)     |SIP From: sip:user1@10.20.200.1 [hidden email]
|         |(5060)   ------------------>  (5060)       |
|0.009    |         100 Trying|                       |SIP Status
|         |(5060)   <------------------  (5060)       |
|0.012    |                   |         INVITE SDP ( telephone-event)SIP Request
|         |                   |(5060)   ------------------>(5070)
|0.012    |                   |         100 Trying|SIP Status
|         |                   |(5070)   ------------------>(5060)
|0.013    |                   |         200 OK SDP ( telephone-event)SIP Status
|         |                   |(5070)   ------------------>(5060)
|0.013    |         200 OK SDP ( telephone-event)     |SIP Status
|         |(5060)   <------------------  (5060)       |
|0.027    |         ACK       |                       |SIP Request
|         |(5060)   ------------------>  (5060)       |
|0.028    |                   |         ACK           |SIP Request
|         |                   |(5060)   ------------------>(5060)
|1.021    |                   |         200 OK SDP ( telephone-event)SIP Status
|         |                   |(5070)   ------------------>(5060)
|1.021    |         200 OK SDP ( telephone-event)     |SIP Status
|         |(5060)   <------------------  (5060)       |
|1.038    |         ACK       |                       |SIP Request
|         |(5060)   ------------------>  (5060)       |
|1.038    |                   |         ACK           |SIP Request
|         |                   |(5060)   ------------------>(5060)
|2.021    |                   |         200 OK SDP ( telephone-event)SIP Status
|         |                   |(5070)   ------------------>(5060)
|2.021    |         200 OK SDP ( telephone-event)     |SIP Status
|         |(5060)   <------------------  (5060)       |
|2.036    |         ACK       |                       |SIP Request
|         |(5060)   ------------------>  (5060)       |
|2.036    |                   |         ACK           |SIP Request
|         |                   |(5060)   ------------------>(5060)
|4.021    |                   |         200 OK SDP ( telephone-event)SIP Status
|         |                   |(5070)   ------------------>(5060)
|4.021    |         200 OK SDP ( telephone-event)     |SIP Status
|         |(5060)   <------------------  (5060)       |
|4.032    |         ACK       |                       |SIP Request
|         |(5060)   ------------------>  (5060)       |
|4.032    |                   |         ACK           |SIP Request
|         |                   |(5060)   ------------------>(5060)
|8.021    |                   |         200 OK SDP ( telephone-event)SIP Status
|         |                   |(5070)   ------------------>(5060)
|8.021    |         200 OK SDP ( telephone-event)     |SIP Status
|         |(5060)   <------------------  (5060)       |
|8.033    |         ACK       |                       |SIP Request
|         |(5060)   ------------------>  (5060)       |
|8.034    |                   |         ACK           |SIP Request
|         |                   |(5060)   ------------------>(5060)
|12.021   |                   |         200 OK SDP ( telephone-event)SIP Status
|         |                   |(5070)   ------------------>(5060)

Thanks in advance,
--
Gustavo Mistrinelli

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Error relaying ACK to the same IP but different port

Adrian Georgescu
Gustavo,

If you post your configuration you score more chances to get useful help from somebody. What you have just showed can have an infinite number of reasons without a configuration.

Adrian

On Nov 13, 2008, at 6:02 PM, Gustavo Mistrinelli wrote:

Hello, I have a schema composed by OpenSIPS (10.20.200.1:5060) and B2BUA-Asterisk (10.20.200.1:5070) ,

Here goes a call flow from a hardphone (10.10.115.113) to a Conference Number located in another server (Asterisk: 192.168.0.1)
I found an issue, see timeframe 0.028, you can see OpenSIPS sending an ACK to itself at the same port(5060) when it should be to 5070, Then B2BUA send again 200OK to OpenSIPS..and go on...
If I put B2BUA in another server using and same port (5070) it works fine.. :S

|Time     | 10.10.115.113     | 10.20.200.1           |
|0.000    |         INVITE SDP ( telephone-event)     |SIP From: [hidden email] [hidden email]
|         |(5060)   ------------------>  (5060)       |
|0.000    |         407 Proxy Authentication Required |SIP Status
|         |(5060)   <------------------  (5060)       |
|0.004    |         ACK       |                       |SIP Request
|         |(5060)   ------------------>  (5060)       |
|0.009    |         INVITE SDP ( telephone-event)     |SIP From: sip:user1@10.20.200.1 [hidden email]
|         |(5060)   ------------------>  (5060)       |
|0.009    |         100 Trying|                       |SIP Status
|         |(5060)   <------------------  (5060)       |
|0.012    |                   |         INVITE SDP ( telephone-event)SIP Request
|         |                   |(5060)   ------------------>(5070)
|0.012    |                   |         100 Trying|SIP Status
|         |                   |(5070)   ------------------>(5060)
|0.013    |                   |         200 OK SDP ( telephone-event)SIP Status
|         |                   |(5070)   ------------------>(5060)
|0.013    |         200 OK SDP ( telephone-event)     |SIP Status
|         |(5060)   <------------------  (5060)       |
|0.027    |         ACK       |                       |SIP Request
|         |(5060)   ------------------>  (5060)       |
|0.028    |                   |         ACK           |SIP Request
|         |                   |(5060)   ------------------>(5060)
|1.021    |                   |         200 OK SDP ( telephone-event)SIP Status
|         |                   |(5070)   ------------------>(5060)
|1.021    |         200 OK SDP ( telephone-event)     |SIP Status
|         |(5060)   <------------------  (5060)       |
|1.038    |         ACK       |                       |SIP Request
|         |(5060)   ------------------>  (5060)       |
|1.038    |                   |         ACK           |SIP Request
|         |                   |(5060)   ------------------>(5060)
|2.021    |                   |         200 OK SDP ( telephone-event)SIP Status
|         |                   |(5070)   ------------------>(5060)
|2.021    |         200 OK SDP ( telephone-event)     |SIP Status
|         |(5060)   <------------------  (5060)       |
|2.036    |         ACK       |                       |SIP Request
|         |(5060)   ------------------>  (5060)       |
|2.036    |                   |         ACK           |SIP Request
|         |                   |(5060)   ------------------>(5060)
|4.021    |                   |         200 OK SDP ( telephone-event)SIP Status
|         |                   |(5070)   ------------------>(5060)
|4.021    |         200 OK SDP ( telephone-event)     |SIP Status
|         |(5060)   <------------------  (5060)       |
|4.032    |         ACK       |                       |SIP Request
|         |(5060)   ------------------>  (5060)       |
|4.032    |                   |         ACK           |SIP Request
|         |                   |(5060)   ------------------>(5060)
|8.021    |                   |         200 OK SDP ( telephone-event)SIP Status
|         |                   |(5070)   ------------------>(5060)
|8.021    |         200 OK SDP ( telephone-event)     |SIP Status
|         |(5060)   <------------------  (5060)       |
|8.033    |         ACK       |                       |SIP Request
|         |(5060)   ------------------>  (5060)       |
|8.034    |                   |         ACK           |SIP Request
|         |                   |(5060)   ------------------>(5060)
|12.021   |                   |         200 OK SDP ( telephone-event)SIP Status
|         |                   |(5070)   ------------------>(5060)

Thanks in advance,
--
Gustavo Mistrinelli
_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Error relaying ACK to the same IP but different port

Gustavo Mistrinelli
You're right Adrian, I've pasted my confing here (http://pastebin.com/m7ce61f09)
It's large, and it has not "friendly" comments, but may be you can see if there are logics error.
Be free to ask if you need more explanation about this issue.

Thank you

Gustavo
On Thu, Nov 13, 2008 at 3:12 PM, Adrian Georgescu <[hidden email]> wrote:
Gustavo,

If you post your configuration you score more chances to get useful help from somebody. What you have just showed can have an infinite number of reasons without a configuration.

Adrian

On Nov 13, 2008, at 6:02 PM, Gustavo Mistrinelli wrote:

Hello, I have a schema composed by OpenSIPS (10.20.200.1:5060) and B2BUA-Asterisk (10.20.200.1:5070) ,

Here goes a call flow from a hardphone (10.10.115.113) to a Conference Number located in another server (Asterisk: 192.168.0.1)
I found an issue, see timeframe 0.028, you can see OpenSIPS sending an ACK to itself at the same port(5060) when it should be to 5070, Then B2BUA send again 200OK to OpenSIPS..and go on...
If I put B2BUA in another server using and same port (5070) it works fine.. :S

|Time     | 10.10.115.113     | 10.20.200.1           |
|0.000    |         INVITE SDP ( telephone-event)     |SIP From: [hidden email] [hidden email]
|         |(5060)   ------------------>  (5060)       |
|0.000    |         407 Proxy Authentication Required |SIP Status
|         |(5060)   <------------------  (5060)       |
|0.004    |         ACK       |                       |SIP Request
|         |(5060)   ------------------>  (5060)       |
|0.009    |         INVITE SDP ( telephone-event)     |SIP From: sip:user1@10.20.200.1 [hidden email]
|         |(5060)   ------------------>  (5060)       |
|0.009    |         100 Trying|                       |SIP Status
|         |(5060)   <------------------  (5060)       |
|0.012    |                   |         INVITE SDP ( telephone-event)SIP Request
|         |                   |(5060)   ------------------>(5070)
|0.012    |                   |         100 Trying|SIP Status
|         |                   |(5070)   ------------------>(5060)
|0.013    |                   |         200 OK SDP ( telephone-event)SIP Status
|         |                   |(5070)   ------------------>(5060)
|0.013    |         200 OK SDP ( telephone-event)     |SIP Status
|         |(5060)   <------------------  (5060)       |
|0.027    |         ACK       |                       |SIP Request
|         |(5060)   ------------------>  (5060)       |
|0.028    |                   |         ACK           |SIP Request
|         |                   |(5060)   ------------------>(5060)
|1.021    |                   |         200 OK SDP ( telephone-event)SIP Status
|         |                   |(5070)   ------------------>(5060)
|1.021    |         200 OK SDP ( telephone-event)     |SIP Status
|         |(5060)   <------------------  (5060)       |
|1.038    |         ACK       |                       |SIP Request
|         |(5060)   ------------------>  (5060)       |
|1.038    |                   |         ACK           |SIP Request
|         |                   |(5060)   ------------------>(5060)
|2.021    |                   |         200 OK SDP ( telephone-event)SIP Status
|         |                   |(5070)   ------------------>(5060)
|2.021    |         200 OK SDP ( telephone-event)     |SIP Status
|         |(5060)   <------------------  (5060)       |
|2.036    |         ACK       |                       |SIP Request
|         |(5060)   ------------------>  (5060)       |
|2.036    |                   |         ACK           |SIP Request
|         |                   |(5060)   ------------------>(5060)
|4.021    |                   |         200 OK SDP ( telephone-event)SIP Status
|         |                   |(5070)   ------------------>(5060)
|4.021    |         200 OK SDP ( telephone-event)     |SIP Status
|         |(5060)   <------------------  (5060)       |
|4.032    |         ACK       |                       |SIP Request
|         |(5060)   ------------------>  (5060)       |
|4.032    |                   |         ACK           |SIP Request
|         |                   |(5060)   ------------------>(5060)
|8.021    |                   |         200 OK SDP ( telephone-event)SIP Status
|         |                   |(5070)   ------------------>(5060)
|8.021    |         200 OK SDP ( telephone-event)     |SIP Status
|         |(5060)   <------------------  (5060)       |
|8.033    |         ACK       |                       |SIP Request
|         |(5060)   ------------------>  (5060)       |
|8.034    |                   |         ACK           |SIP Request
|         |                   |(5060)   ------------------>(5060)
|12.021   |                   |         200 OK SDP ( telephone-event)SIP Status
|         |                   |(5070)   ------------------>(5060)

Thanks in advance,
--
Gustavo Mistrinelli
_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users