Re: [mobicents-public] Simple question

25 views
Skip to first unread message

Jean Deruelle

unread,
May 15, 2013, 6:38:55 AM5/15/13
to mobicents-public
BYE and all subsequent requests are proxied automatically as defined by the SIP Servlets specification.
What are you trying to achieve ?

Jean


On Wed, May 15, 2013 at 2:16 AM, OLEG STOLYAR <osto...@netflix.com> wrote:
I am almost embarrassed to ask but I am trying to implement an extremely straightforward SIP servlet that will simply proxy INVITE, response to INVITE and BYE signals.  I was able to handle the INVITE and response proxies with the help of some of the available examples but for some reason I cannot proxy the BYE signal.  I tried several approaches but keep getting exceptions.

Is there an example that show how to do it?

--
You received this message because you are subscribed to the Google Groups "mobicents-public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mobicents-publ...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



Oleg Stolyar

unread,
May 16, 2013, 10:41:06 AM5/16/13
to mobicent...@googlegroups.com
Thanks Jean!

Looks like I just was attaching the Leg-B session to the Leg-A session on invite but not the other ways around, so Leg-A session did not know about Leg-B and when UA A sent BYE, the code could not forward it to the right Leg-B session.  I made sure they are attached to each other and it works now.

Thank you
Oleg

Jean Deruelle

unread,
May 16, 2013, 11:59:59 AM5/16/13
to mobicents-public
Ah looks like you're building a B2BUA and not a proxy here, which is what might have confused you as my response was not corresponding in this case. In the future, it's always good to attach the full server.log showcasing the exception for the given call as it usually gives a lot of insight.

Jean
Reply all
Reply to author
Forward
0 new messages