Re: Re: PRACK over PROXY dropped -- ReliableResponse not found

"Jens Tinfors" <[email protected]> Wed, 31 Jan 2007 16:18:58 +0100
Newsgroups gmane.comp.voip.nist-sip
Message-ID <[email protected]>
ok, hello again.

More questions regarding the handling of reliable provisional responses.
You're saying use the createReliableProvisionalResonse() method on the
dialog. This is not possible for since the
ServerTransaction.getDialogreturns null!
Also the prack.Shootme example does not do that, instead it creates the
response via the messageFactory:
Response okResponse = messageFactory.createResponse(183, request);

Perhaps I've overlooked something when creating the intial INVITE?
My log output:
ServerTransaction: gov.nist.javax.sip.stack.SIPServerTransaction@6ede9cc1
Orig Request: INVITE sip:[email protected]:5070;transport=udp SIP/2.0
...
transaction.getDialog() returns null!

regards/jens =)

On 1/30/07, Jeroen van Bemmel <[email protected]> wrote:
>
> Use createReliableResponse instead (see examples, basically you need to
> copy what is done there). Call getNewServertransaction for the INVITE, if
> event.getServerTransaction returns null.
>
> Regards,
> Jeroen
>
> -----Oorspronkelijk bericht -----
> Van: "Jens Tinfors" <[email protected]>
> Aan: "Jeroen van Bemmel" <[email protected]>
> CC: "M. Rangnathan" <[email protected]>; "niepin" <[email protected]>;
> [email protected]
> Verzonden: 30-1-07 17:11
> Onderwerp: Re: [nist-sip] Re: PRACK over PROXY dropped -- ReliableResponse
> not found
>
> Ok, lets see.
>
> The prack.Shootist prack.Shootme examples works just fine!
> After minor modifiactions they do over my proxy as well!
>
> Jeroen, what do you mean by "make sure you are creating  a transaction and
> dialog" I have AUTOMATIC_DIALOG_SUPPORT set to true so that would take
> care
> of the dialog i guess!?
> Regarding the transaction i do requestEvent.getServerTransaction();
> whenever
> i need it.
>
> Regarding my initial problem of why the PRACK is dropped, i do create the
> response using messageFactory.createResponse(statusCode, Request); which
> should be ok! So I'll get back to troubleshooting!
>
> regards/j
>
> On 1/29/07, Jeroen van Bemmel < [email protected]> wrote:
> >
> > CSeq, RSeq and RAck are all ok. Make sure you are creating a transaction
> > and a dialog upon receiving INVITE, and use the API to create 183.
>
>

_______________________________________________
nist-sip mailing list
[email protected]
http://www-x.antd.nist.gov/mailman/listinfo/nist-sip