3 Replies Last post: Dec 22, 2008 4:12 AM by Guest  
Guest

Dec 22, 2008 3:50 AM

[OpenSIPStack] Received response without transaction issue

Guest
1. Dec 22, 2008 4:00 AM in response to: Guest
Re: [OpenSIPStack] Received response without transaction issue
Hi Manoj,

The UA is definitely buggy. It is not sending a via branch parameter
which is required to match responses with transactions. 200 Ok was
relayed because of an uncaught condition. OpenSBC thought it was a 200
ok retransmission that is why it got promoted to the core layer. This
is a bug in OpenSBC that needs to be corrected. However, this will not
make the buggy UA work with OpenSBC either. I suggest you report this
to the vendor. One thing peculiar, the UA does send a via branch in
100 Trying.

Joegen

Manoj Joshi wrote:
Hello Joegen,

I think in this case my PC firewall is creating problem. I am verifying it
by testing from various places.

I have another problem though...The issue is like following..

OSBC does not forward Session progress message to SIP UA. However it
forwards 200 OK message. I checked the logs and found osbc prints following
on receiving session progress...
2008/12/22 07:24:51.656 DBG: [CID=0x0511] Finding transaction for SIP/2.0
183 Session Progress
2008/12/22 07:24:51.656 PWL: [CID=0x0000] Parser
TransactionId::operator=() - No Branch Paramemter in Via present in message
2008/12/22 07:24:51.656 DBG: [CID=0x0511] Setting Transaction ID to
s_9608_551d896705cd-0x0001|empty-branch|INVITE|1c18646|22580
2008/12/22 07:24:51.656 PWL: [CID=0x0000] Parser
TransactionId::operator=() - No Branch Paramemter in Via present in message
2008/12/22 07:24:51.656 DBG: [CID=0x0511] Event: Setting UA Core [Call] to
handle event INVITE
2008/12/22 07:24:51.656 DTL: [CID=0x0511] Event: ---> UnknownTransaction -
INVITE

I have attached the log. This log will be simple to read as it has only one
call log.

Please comment.

Regards,

Manoj

-----Original Message-----
From: joegen at opensipstack dot org [joegen dot baclor at gmail dot com]
Sent: Thursday, December 18, 2008 7:48 PM
To: opensipstack-devel at lists dot sourceforge dot net
Subject: Re: [OpenSIPStack] Received response without transaction issue

Ok now you are sure that the packets never arrive to your client. Now
run Ethereal in the OpenSBC box and see if ethereal shows the outbound
packets. If Etheareal shows it, then its a network problem. The fact
that some messages arrive and some don't points to a network problem.
Start looking in that direction. As far as the logs go, OpenSBC sends
the responses. I am sure if you snoop the packets traversing OpenSBC
NIC that you will see those packets being sent. It just never arrive to
the destination. There is nothing OpenSBC can do about this.

Manoj Joshi wrote:

In ethereal i do not see any response to Register requests. UA is sending
register again because its not getting response.

You can also try to register from ur place to my server...i can even
arrange

my SIP proxy to comminicate with ur OSBC (on ur machine).

Let me know.

-----Original Message-----
From: Joegen E. Baclor [joegen dot baclor at gmail dot com]
Sent: Thursday, December 18, 2008 6:24 PM
To: Manoj Joshi
Cc: opensipstack-devel at lists dot sourceforge dot net
Subject: Re: [OpenSIPStack] Received response without transaction issue

The log indicates that your UA is retransmitting the REGISTER even if
OpenSBC alredy sent a 200 OK for the registration. If ethereal shows
these messages in the wire, then this is a network problem.

Manoj Joshi wrote:

joegen,

As per our discussion, i tried to capture the packets on wireshark. To do

so

i configured UA to disable encryption. But now its not even registering.
I

have attached server logs. On UA side wireshark i do not see any response
from server. Please note that everything is same (OSBC and UA config)

except

now i am not using encryption.

Please comment on it.

Regards,

Manoj

-----Original Message-----
From: Manoj Joshi [manoj at ascenttelecom dot com]
Sent: Thursday, December 18, 2008 1:54 PM
To: jbaclor at solegysystems dot com
Cc: opensipstack-devel at lists dot sourceforge dot net
Subject: Re: [OpenSIPStack] Received response without transaction issue

trying is coming...i will check the ethreal and will let u know.

-----Original Message-----
From: Joegen E. Baclor [joegen dot baclor at gmail dot com]
Sent: Thursday, December 18, 2008 12:26 PM
To: Manoj Joshi
Cc: opensipstack-devel at lists dot sourceforge dot net
Subject: Re: [OpenSIPStack] Received response without transaction issue


i am getting "Trying" and "Bye" on SIP client

I doubt this very much. Based on the log you sent, your UA kept on
retransmitting the INVITE. This indicates that 100 Trying never made it
to the UA.

2008/12/17 21:49:04.210 INF: [CID=0x0621] >> sip:919811618189@216.176.181.108 SIP/2.0 SRC: 122.160.115.219:11765:UDP
enc=1 bytes=794
2008/12/17 21:49:04.726 INF: [CID=0x0621] >> sip:919811618189@216.176.181.108 SIP/2.0 SRC: 122.160.115.219:11765:UDP
enc=1 bytes=794
2008/12/17 21:49:05.726 INF: [CID=0x0621] >> sip:919811618189@216.176.181.108 SIP/2.0 SRC: 122.160.115.219:11765:UDP
enc=1 bytes=794
2008/12/17 21:49:07.726 INF: [CID=0x0621] >> sip:919811618189@216.176.181.108 SIP/2.0 SRC: 122.160.115.219:11765:UDP
enc=1 bytes=794

I would be looking how traffic looks in ethereal if I were you.

Manoj Joshi wrote:


I had tested it from two places (One behind NAT and other from Public

IP).

Also i am testing it from the place where SIP is not blocked at all.

Please


note that i am getting "Trying" and "Bye" on SIP client (as these

messages

are directly from OSBC). But i do not get "Session progress" and "200
OK"

Regards,

Manoj

--
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.552 / Virus Database: 270.9.19/1854 - Release Date:

12/17/2008

7:21 PM

-

--

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,

Nevada.

The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at

http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/

_______________________________________________
opensipstack-devel mailing list
opensipstack-devel at lists dot sourceforge dot net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel

--
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.552 / Virus Database: 270.9.19/1854 - Release Date:

12/17/2008

7:21 PM

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.9.19/1854 - Release Date:

12/17/2008 7:21 PM


--
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.552 / Virus Database: 270.9.19/1854 - Release Date:

12/17/2008

7:21 PM

----

SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.

The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at

http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/

_______________________________________________
opensipstack-devel mailing list
opensipstack-devel at lists dot sourceforge dot net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.9.19/1854 - Release Date:

12/17/2008 7:21 PM


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
opensipstack-devel mailing list
opensipstack-devel at lists dot sourceforge dot net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel

--
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.552 / Virus Database: 270.9.19/1854 - Release Date: 12/17/2008
7:21 PM


No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.9.19/1860 - Release Date: 12/21/2008 3:08 PM


_______________________________________________
opensipstack-devel mailing list
opensipstack-devel at lists dot sourceforge dot net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel
Guest
2. Dec 22, 2008 4:00 AM in response to: Guest
Re: [OpenSIPStack] Received response without transaction issue
From UA do u mean Caller or Callee?

-----Original Message-----
From: joegen at opensipstack dot org [joegen dot baclor at gmail dot com]
Sent: Monday, December 22, 2008 2:20 PM
To: Manoj Joshi
Cc: opensipstack-devel at lists dot sourceforge dot net
Subject: Re: [OpenSIPStack] Received response without transaction issue

Hi Manoj,

The UA is definitely buggy. It is not sending a via branch parameter
which is required to match responses with transactions. 200 Ok was
relayed because of an uncaught condition. OpenSBC thought it was a 200
ok retransmission that is why it got promoted to the core layer. This
is a bug in OpenSBC that needs to be corrected. However, this will not
make the buggy UA work with OpenSBC either. I suggest you report this
to the vendor. One thing peculiar, the UA does send a via branch in
100 Trying.

Joegen

Manoj Joshi wrote:

Hello Joegen,

I think in this case my PC firewall is creating problem. I am verifying it
by testing from various places.

I have another problem though...The issue is like following..

OSBC does not forward Session progress message to SIP UA. However it
forwards 200 OK message. I checked the logs and found osbc prints
following
on receiving session progress...
2008/12/22 07:24:51.656 DBG: [CID=0x0511] Finding transaction for SIP/2.0
183 Session Progress
2008/12/22 07:24:51.656 PWL: [CID=0x0000] Parser
TransactionId::operator=() - No Branch Paramemter in Via present in
message
2008/12/22 07:24:51.656 DBG: [CID=0x0511] Setting Transaction ID to
s_9608_551d896705cd-0x0001|empty-branch|INVITE|1c18646|22580
2008/12/22 07:24:51.656 PWL: [CID=0x0000] Parser
TransactionId::operator=() - No Branch Paramemter in Via present in
message
2008/12/22 07:24:51.656 DBG: [CID=0x0511] Event: Setting UA Core [Call] to
handle event INVITE
2008/12/22 07:24:51.656 DTL: [CID=0x0511] Event: ---> UnknownTransaction -
INVITE

I have attached the log. This log will be simple to read as it has only
one
call log.

Please comment.

Regards,

Manoj

-----Original Message-----
From: joegen at opensipstack dot org [joegen dot baclor at gmail dot com]
Sent: Thursday, December 18, 2008 7:48 PM
To: opensipstack-devel at lists dot sourceforge dot net
Subject: Re: [OpenSIPStack] Received response without transaction issue

Ok now you are sure that the packets never arrive to your client. Now
run Ethereal in the OpenSBC box and see if ethereal shows the outbound
packets. If Etheareal shows it, then its a network problem. The fact
that some messages arrive and some don't points to a network problem.
Start looking in that direction. As far as the logs go, OpenSBC sends
the responses. I am sure if you snoop the packets traversing OpenSBC
NIC that you will see those packets being sent. It just never arrive to
the destination. There is nothing OpenSBC can do about this.

Manoj Joshi wrote:

In ethereal i do not see any response to Register requests. UA is sending
register again because its not getting response.

You can also try to register from ur place to my server...i can even
arrange

my SIP proxy to comminicate with ur OSBC (on ur machine).

Let me know.

-----Original Message-----
From: Joegen E. Baclor [joegen dot baclor at gmail dot com]
Sent: Thursday, December 18, 2008 6:24 PM
To: Manoj Joshi
Cc: opensipstack-devel at lists dot sourceforge dot net
Subject: Re: [OpenSIPStack] Received response without transaction issue

The log indicates that your UA is retransmitting the REGISTER even if
OpenSBC alredy sent a 200 OK for the registration. If ethereal shows
these messages in the wire, then this is a network problem.

Manoj Joshi wrote:

joegen,

As per our discussion, i tried to capture the packets on wireshark. To
do

so

i configured UA to disable encryption. But now its not even registering.
I

have attached server logs. On UA side wireshark i do not see any
response
from server. Please note that everything is same (OSBC and UA config)

except

now i am not using encryption.

Please comment on it.

Regards,

Manoj

-----Original Message-----
From: Manoj Joshi [manoj at ascenttelecom dot com]
Sent: Thursday, December 18, 2008 1:54 PM
To: jbaclor at solegysystems dot com
Cc: opensipstack-devel at lists dot sourceforge dot net
Subject: Re: [OpenSIPStack] Received response without transaction issue

trying is coming...i will check the ethreal and will let u know.

-----Original Message-----
From: Joegen E. Baclor [joegen dot baclor at gmail dot com]
Sent: Thursday, December 18, 2008 12:26 PM
To: Manoj Joshi
Cc: opensipstack-devel at lists dot sourceforge dot net
Subject: Re: [OpenSIPStack] Received response without transaction issue


i am getting "Trying" and "Bye" on SIP client

I doubt this very much. Based on the log you sent, your UA kept on
retransmitting the INVITE. This indicates that 100 Trying never made it
to the UA.

2008/12/17 21:49:04.210 INF: [CID=0x0621] >> sip:919811618189@216.176.181.108 SIP/2.0 SRC: 122.160.115.219:11765:UDP
enc=1 bytes=794
2008/12/17 21:49:04.726 INF: [CID=0x0621] >> sip:919811618189@216.176.181.108 SIP/2.0 SRC: 122.160.115.219:11765:UDP
enc=1 bytes=794
2008/12/17 21:49:05.726 INF: [CID=0x0621] >> sip:919811618189@216.176.181.108 SIP/2.0 SRC: 122.160.115.219:11765:UDP
enc=1 bytes=794
2008/12/17 21:49:07.726 INF: [CID=0x0621] >> sip:919811618189@216.176.181.108 SIP/2.0 SRC: 122.160.115.219:11765:UDP
enc=1 bytes=794

I would be looking how traffic looks in ethereal if I were you.

Manoj Joshi wrote:


I had tested it from two places (One behind NAT and other from Public

IP).

Also i am testing it from the place where SIP is not blocked at all.

Please


note that i am getting "Trying" and "Bye" on SIP client (as these

messages

are directly from OSBC). But i do not get "Session progress" and "200
OK"

Regards,

Manoj

--
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.552 / Virus Database: 270.9.19/1854 - Release Date:

12/17/2008

7:21 PM


------------------------------------------------------------------------

-
-

--

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,

Nevada.

The future of the web can't happen without you. Join us at MIX09 to
help
pave the way to the Next Web now. Learn more and register at

http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/

_______________________________________________
opensipstack-devel mailing list
opensipstack-devel at lists dot sourceforge dot net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel

--
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.552 / Virus Database: 270.9.19/1854 - Release Date:

12/17/2008

7:21 PM

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.9.19/1854 - Release Date:

12/17/2008 7:21 PM


--
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.552 / Virus Database: 270.9.19/1854 - Release Date:

12/17/2008

7:21 PM


-------------------------------------------------------------------------

-
----

SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.

The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at

http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/

_______________________________________________
opensipstack-devel mailing list
opensipstack-devel at lists dot sourceforge dot net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.9.19/1854 - Release Date:

12/17/2008 7:21 PM

--------------------------------------------------------------------------

--
--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
opensipstack-devel mailing list
opensipstack-devel at lists dot sourceforge dot net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel

--
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.552 / Virus Database: 270.9.19/1854 - Release Date:

12/17/2008
7:21 PM

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.9.19/1860 - Release Date:

12/21/2008 3:08 PM


--
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.552 / Virus Database: 270.9.19/1860 - Release Date: 12/21/2008
3:08 PM



_______________________________________________
opensipstack-devel mailing list
opensipstack-devel at lists dot sourceforge dot net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel
Guest
3. Dec 22, 2008 4:20 AM in response to: Guest
Re: [OpenSIPStack] Received response without transaction issue
It's the Callee which does not send a via branch parameter.

Manoj Joshi wrote:
From UA do u mean Caller or Callee?

-----Original Message-----
From: joegen at opensipstack dot org [joegen dot baclor at gmail dot com]
Sent: Monday, December 22, 2008 2:20 PM
To: Manoj Joshi
Cc: opensipstack-devel at lists dot sourceforge dot net
Subject: Re: [OpenSIPStack] Received response without transaction issue

Hi Manoj,

The UA is definitely buggy. It is not sending a via branch parameter
which is required to match responses with transactions. 200 Ok was
relayed because of an uncaught condition. OpenSBC thought it was a 200
ok retransmission that is why it got promoted to the core layer. This
is a bug in OpenSBC that needs to be corrected. However, this will not
make the buggy UA work with OpenSBC either. I suggest you report this
to the vendor. One thing peculiar, the UA does send a via branch in
100 Trying.

Joegen



_______________________________________________
opensipstack-devel mailing list
opensipstack-devel at lists dot sourceforge dot net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel