[Users] avp_subst re problem

Andreas Heise aheise at gmx.de
Sun Nov 26 01:08:49 CET 2006


Hello,
I tried to use avp_subst to extract the part <......> of a Remote-Party-ID

   $avp(s:merker)= Remote-Party-ID: 
"test"<sip:12345 at localhost>;party=calling;id-type=subscriber;screen=yes;privacy=full
   avp_subst("$avp(s:merker)/$avp(s:merker1)", "/(.*)>(.*)/\1>/");

the result for merker1 is     Remote-Party-ID: "test"<sip:12345 at localhost>

what must I change in the re to get this result?    <sip:12345 at localhost>


thanks in advance,
Andreas






More information about the sr-users mailing list