I tried the [cseq+1] value and the cseq was changed to 2.
However in this scenario, I need to learn the CSeq (which cannot be controlled) from the incomming message and increase it by one.
Could you tell me where the CSeq value is picked up when we use the last_Cseq key word ?
Would it be possible to increase the value of CSeq then and store it in a variable for later use ?
Any pointers are highly appreciated. Thanks in advance for your help.
Regards,
Makarand
On 10/4/06, Olivier Jacques <[EMAIL PROTECTED]> wrote:
makarand bhagwat wrote:
> *Note: Resending my message as I'm not sure if it was delivered before :)
>
> Hi All,
>
> I am implementing a scenario where the server receives a call,
> responds with a 180, 200 OK and receives an ACK. Once the ACK is
> received the server sends a re-invite to the caller / proxy.
>
> Since the proxy is in B2BUA mode, I do not control the CSeq numbers
> being received on the server side. For the re-invite to be successful
> it should be sent with the CSeq value incremented by 1 "one" than the
> value received in the ACK. However from the current implementation of
> SIPP I'm not too sure how I could do that.
>
> In the code, Is it possible to introduce a variable similar to CSeq
> (CSeq_inc), assign the current Cseq value to it, increment it by one
> and then use it instead of CSeq ? I could do the coding part if you
> could point me to the location where the variables used for xml is
> defined
>
>
> Any help /guidance for implementation of the above scenario is highly
> appreciated.
>
> Thanks,
> Makarand
Makarand,
I didn't tested it, but looking quickly at the code, [cseq] keyword
retrieves the CSeq value of the last response. As keyword can have
offsets, including a [cseq+1] in your scenario should work.
Let us know,
Olivier.
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users
