Try this -

<ereg regexp="v=.*" search_in="msg" check_it="true" assign_to="1" />

In outgoing message u can use [$1]

Dushyant P S Dhalia

priyank luthra wrote:
In the incoming INVITE, the message body contains SDP parameters for example:
v=xxxx
o=yyyyy
c=zzzzz
t=kkkkkk
m=abcd
m=efgh

and many more.

Now my UAS should respond with INVITE with exactly the same SDP parameters.

For headers that need to be replicated, i am using hte last_ keyword.
Eg.  [last_From:]
      [last_To:]
      [last_Call-ID:]

But the question is how to replicate the SDP parameters.

2009/9/22 Dushyant Dhalia <dushyant.dha...@rancoretech.com <mailto:dushyant.dha...@rancoretech.com>>

    Elaborate your requirements with examples.

    Dushyant P S Dhalia

    priyank luthra wrote:

        I have a scenario where the server side is listening to
        incoming INVITE.
        On receving this INVITE my sipp server should send out an
        INVITE with some manipulated headers and some duplicate
        headers(using last_ keyword) but the Message body containing
        SDP should exactly be the same as it received.
        Any way it can be done?

-- Regards,
        Priyank
        ------------------------------------------------------------------------

        
------------------------------------------------------------------------------
        Come build with us! The BlackBerry&reg; Developer Conference
        in SF, CA
        is the only developer event you need to attend this year.
        Jumpstart your
        developing skills, take BlackBerry mobile applications to
        market and stay ahead of the curve. Join us from November
        9&#45;12, 2009. Register now&#33;
        http://p.sf.net/sfu/devconf
        ------------------------------------------------------------------------

        _______________________________________________
        Sipp-users mailing list
        Sipp-users@lists.sourceforge.net
        <mailto:Sipp-users@lists.sourceforge.net>
        https://lists.sourceforge.net/lists/listinfo/sipp-users



--
Regards,
Priyank

<<attachment: dushyant_dhalia.vcf>>

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to