hi Evgeny,
           I extracted MSRP Session id from the SDP of an invite
message in the following way. You can refer to this and create your
stuff with this.

My script is some thing like(it quite dirty; i should not hard coding
the ip address).

<recv request="INVITE">
<action>
<ereg regexp="a=path:msrp://10\.225\.92\.175:2855/([a-zA-Z0-9]+);([a-zA-Z]+)"
            search_in="msg"
            check_it=i"true"
            assign_to="3,4,5,6"/>
<log message="tokens are [$3] [$4] [$5] [$6] \n" />
</action>
</recv>


Regards,
Shiv

On Tue, Jun 29, 2010 at 4:42 PM, Evgeny Miloslavsky
<emiloslav...@juniper.net> wrote:
> Hi All.
>
> Is there any possibility to cut media port (for example the "2237" string
> from “m=message 2237 TCP/MSRP *”) and IP Addr from “c” (for example
> “162.11.27.117” from c=IN IP4 162.11.27.117) SDP parameter? What are the
> “search_in=” and “header=“ parameters within action->ereg regexp?
>
>
>
> Thanks
>
>
>
> Regards,
>
> Evgeny Miloslavsky
>
> Systest Engineer
>
> Juniper Networks Solutions Israel LTD.
>
> Office: +(972)-74-7170072
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Sipp-users mailing list
> Sipp-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sipp-users
>
>

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to