|
From: mayamatakeshi <may...@gm...> - 2009-01-16 05:50:36
|
On Fri, Jan 16, 2009 at 10:37 AM, Matsuoka Noriko <mat...@qk...>wrote: > Hi all, > > I want to get multi lined "Record-Route" in sip message header. > > messsage is like this.. > INVITE sip:192.168.4.73:5061;transport=UDP SIP/2.0 > Record-Route: <sip:mt at pcscf.ims.test:4060;lr> > Record-Route: <sip:mt at scscf.ims.test:6060;lr> > Record-Route: <sip:mo at scscf.ims.test:6060;lr> > > >From my understanding, by using [last_Record-Route:] tag, I can > retrieve all Record-Route of the last message, > but in my case, I need to keep it for subsequent message, > that is not just after. > > By using regexp function, I don't know how to get multiple > Record-Route headers. > > If you have any tip, please help me ! Hello, I didn't understand the problem. Do you need the headers separated into different variables? Have you read this thread? http://sourceforge.net/mailarchive/forum.php?thread_name=49492304.4030708%40jnod.org&forum_name=sipp-users They are discussing about getting more than one header via into variables. I think you just have to apply the same thing to record-route headers (I haven't tested any of this though). regards, mayama |