HI

I am running a scenario where A calling user B and after media path is
established. B is putting A on hold where c=0.0.0.0.

I need to extract Record route from the Invite that was recieved from the
Invite by B. This can be used by using Regexp. i have tried with diffrent
combination.when i tried with a regexp that works in regexp calculator but
its not working in the xml script because sipp parser is unable to parse the
script.

This is what i am getting in the Invite

Record-Route: <sip:10.106.5.219:5060
;lr>;term,<sip:[EMAIL PROTECTED]:5060
;lr>;term,<sip:[EMAIL PROTECTED]:5060
;lr>,<sip:[EMAIL PROTECTED]:5060
;lr>;term,<sip:[EMAIL PROTECTED]:5060
;lr>,<sip:[EMAIL PROTECTED]:5060;lr>,<sip:10.106.5.219:5060
;lr>;orig

 when i want to send in the invite it should get reversed and all the record
route should be in diffrent line.

<sip:10.106.5.219:5060;lr>;orig
<sip:[EMAIL PROTECTED]:5060;lr>,
<sip:[EMAIL PROTECTED]:5060;lr>,
<sip:[EMAIL PROTECTED]:5060;lr>;term,
<sip:[EMAIL PROTECTED]:5060;lr>,
<sip:[EMAIL PROTECTED]:5060;lr>;term,
<sip:10.106.5.219:5060;lr>;term,


this is the format what i need to send in Invite because it is the format
what the soft phone sends

until i send in this format , this message is not getting routed and i am
getting 500 error message "unable to process Invite"

So need help regarding this!!!!!!!!!!!!


Its very Urgent
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to