[OpenSIPS-Users] unsubscribe not sent back
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Wed Dec 2 00:16:43 CET 2009
do :
# main request routing logic
......
route{
force_rport(); #this is the new line!!!!!
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
exit;
}
......
Regards,
Bogdan
nir elkayam wrote:
> hi,
>
> thanks for the replay,
> not sure i understand what u suggested,
> attached my opensips.cfg, i have seen force_rport in the file at all,
>
> thanks again for the replay,
> nir
>
> On Wed, Dec 2, 2009 at 1:00 AM, Bogdan-Andrei Iancu
> <bogdan at voice-system.ro <mailto:bogdan at voice-system.ro>> wrote:
>
> ok, by sure you have it the beginning of the script (in request route,
> first line) a "force_rport();" call - this will ensure the proper
> routing of SIP replies through the NAT pinghole.
>
> Regards,
> Bogdan
>
> nir elkayam wrote:
> > yes, but i use rport and i get the notification..
> >
> > On Wed, Dec 2, 2009 at 12:50 AM, Bogdan-Andrei Iancu
> > <bogdan at voice-system.ro <mailto:bogdan at voice-system.ro>
> <mailto:bogdan at voice-system.ro <mailto:bogdan at voice-system.ro>>>
> wrote:
> >
> > is your client behind the NAT, by any chance ?
> >
> > Regards,
> > Bogdan
> >
> > nir elkayam wrote:
> > > hi,
> > >
> > > I am using pjsip - sip stack.
> > > by ack i mean the 200 OK respones to the unsubscribe request.
> > > what happend is that the sip stack keep sending the
> unsubscribe for
> > > about 30 sec ( ~3 sec intervals) and then it stops.
> > >
> > > when i use TCP transport, it sends the ack right away..
> > >
> > > nir
> > >
> > > On Wed, Dec 2, 2009 at 12:44 AM, Bogdan-Andrei Iancu
> > > <bogdan at voice-system.ro <mailto:bogdan at voice-system.ro>
> <mailto:bogdan at voice-system.ro <mailto:bogdan at voice-system.ro>>
> > <mailto:bogdan at voice-system.ro
> <mailto:bogdan at voice-system.ro> <mailto:bogdan at voice-system.ro
> <mailto:bogdan at voice-system.ro>>>>
> > wrote:
> > >
> > > Hi Nir,
> > >
> > > how do you do the "unsubscribe" from the client? and what
> do you
> > > understand by "acknowledge" - from SIP point of view ?
> > >
> > > Regards,
> > > Bogdan
> > >
> > > nir elkayam wrote:
> > > > hi,
> > > >
> > > > I am experementing with the presence.
> > > > when I use tcp, and i do unsubscribe all is well but
> with udp the
> > > > server doesn't acknolenge my unsubscribe.
> > > > any idea on how to test that? is there a way to see
> incomming
> > msg on
> > > > the server?
> > > >
> > > > thanks,
> > > > nir
> > > >
> > > >
> > >
> >
> ------------------------------------------------------------------------
> > > >
> > >
>
--
Bogdan-Andrei Iancu
www.voice-system.ro
More information about the Users
mailing list