Yeah, I found the error. I was using [routes] in 200 OK instead of [last_Record-Routes:], then I only needed the Routes from SUBSCRIBE to put them in NOTIFY.
Thanks :) On Thu, May 28, 2009 at 12:25 PM, Vanessa Tejada Muñoz <[email protected] > wrote: > I think the problem in Via header, I have to use my Via Header with the > brach of the Subscreber Via header. > > I would like to Know, how to get the branch of a Via Header. > > Thanks > > > On Thu, May 28, 2009 at 9:02 AM, Vanessa Tejada Muñoz < > [email protected]> wrote: > >> I changed it, but the error is the same. >> >> One thing, I use the same via of 200 OK for SUBSCRIBE through [last_Via:], >> could it be this? Is there something from received SUBSCRIBE that I have to >> take in account for NOTIFY, further Subscription-state and Event? >> >> Yesterday I send an ACK before NOTIFY an it works fine, becasue of this I >> know that it is something in the NOTIFY request. >> >> I create the NOTIFY request like this: >> >> NOTIFY [next_url] SIP/2.0 >> [last_Via:] >> From: [$u2];tag=[call_number] >> [routes] >> To: [$u1] >> [last_Call-ID:] >> Contact: <sip:[local_ip]:[local_port];transport=[transport]> >> CSeq: 2 NOTIFY >> Subscription-State: active;expires=3521 >> Event: [$u3] >> Max-Forwards: 70 >> Content-Type: application/xml >> Content-Length: 3500 >> [... xml document ...] >> >> I attach the logs again. >> >> Thanks >> >> >> >> On Wed, May 27, 2009 at 1:54 PM, Evgeny Miloslavsky < >> [email protected]> wrote: >> >>> I would like to suggest u to switch NOTIFY RequestURI to SUBSCRIBE >>> ContactURI >>> >>> >>> >>> Regards,** >>> >>> *Evgeny Miloslavsky* >>> >>> *Systest Engineer* >>> >>> *Juniper Networks Solutions Israel LTD.* >>> >>> *Office: 972-9-9717320/2355* >>> ------------------------------ >>> >>> *From:* Vanessa Tejada Muñoz [mailto:[email protected]] >>> *Sent:* Wednesday, May 27, 2009 2:33 PM >>> *To:* SipP List >>> *Subject:* [Sipp-users] Sending NOTIFY - 403 Response >>> >>> >>> >>> Hi, >>> >>> I have and script where i register the uas and uac. Then, another script >>> for UAC and UAS, and finnally, other script to receive a SUBSCRIBE from an >>> AS, send 200 OK and send NOTIFY. >>> All the scripts works perfectly. First launch the register, then the call >>> and finnaly, when i launch the last script, something strange happen. >>> >>> I receive SUBSCRIBE fine, I send 200 OK fine, but when i send NOTIFY I >>> receive an 403 Error Response - Not Registered!. >>> I checked the tag,s from, to, call-id and all this elements, but I cannot >>> find the error. >>> >>> Can anybody help me please? I attach the log with the messages and error. >>> >>> >>> Thanks in advance! >>> >>> >>> >>> >>> -- >>> Vanessa Tejada >>> Nethalis Solutions S.L. >>> >> >> >> >> -- >> Vanessa Tejada >> >> >> > > > -- > Vanessa Tejada > > > -- Vanessa Tejada
------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users
