hi all,
Using ser 0.94 I have a sip message coming from an asterisk containing : From: "45454558" sip:69@toto.com;tag=as2524cec1. I need to extract the 45454558 and add it in a new header.
I there a way to do that with avpops?
I tried avp_write("$from", "s:from"); and get sip:69@toto.com also avp_write("$from/username", "s:from"); and get 69
is there another way?
Cheers,
Olivier