Maksym,

(You may have solved this by now - I'm reading back email from when I was on
holiday.)

A new Call-ID always creates a new session - it is the way the server
distinguishes calls.

As Charles says it is possible if you have control over Call-ID using the
/// feature.

Another way would be to receive the INVITE and compare something in it
(using regexp) that matches in the second INVITE and does not in the first.
You can then use test (and next) to jump to the 2nd part of your script. (Be
aware that you are in a different session - there is no access to variables
or data from the first.)

Peter

Peter Higginson
Newport Networks Ltd,
Direct line 01494 470694
http://www.newport-networks.com/

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Maksym
Hryhoryev
Sent: 15 March 2007 17:29
To: [email protected]
Subject: Re: [Sipp-users] how to avoid server mode?

Charles,

Thanx for the answers.

I mean something different:

to accept calls with different Call-ID (not constant string) without
restarting scenario from the beginning.



> If you can control the Call-IDs that you are receiving, you can
> prefix them with something like "foo///Call-ID" and "bar///Call-ID",
> which are both treated as having a call id of "Call-ID". 

> Otherwise, you could probably do some hacking to the get_call_id
> function so that it will return some constant string.  Of course,
> this will limit you to only ever handling a single call per SIPp
> instance.

> Charles


> Maksym Hryhoryev <[EMAIL PROTECTED]> wrote on 03/15/2007
05:17:45 AM:

 >> Hello Charles,
 >> 
 >>  And there is no way to avoid this behaviour ?
 >> 
 >> > Unless the INVITEs have the same Call-ID, they will start a new
scenario.
 >> 
 >>  >>   I need to run sipp with scenario that begins with <recv
 >>  >>   request="INVITE"> command
 >>  >>   but I do not need to run the scenario from beginning when another
 >>  >>   invite arrived. Is it possible?
 >> 
 >> -- 
 >> Best regards,
 >>  Maksym                          
 >>  mailto:[EMAIL PROTECTED]
 >> 
 >> 



-- 
Best regards,
 Maksym                            mailto:[EMAIL PROTECTED]



-------------------------------------------------------------------------
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



---------------------------------------------------------------------------------------------
This e-mail may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this e-mail in error) 
please
notify the sender immediately and delete this e-mail. Any unauthorized copying,
disclosure or distribution of the contents in this e-mail is strictly forbidden.
---------------------------------------------------------------------------------------------
Newport Networks Limited is registered in England. Registration number 4067591.
Registered office: 6 St. Andrew Street, London EC4A 3LX
---------------------------------------------------------------------------------------------


-------------------------------------------------------------------------
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

Reply via email to