[OpenSER-Users] Header Mangling

Peter Gradwell peter at gradwell.com
Wed Aug 1 12:54:43 CEST 2007


hi ya,

When we send phone call out to our PSTN gateways and carriers, we often 
have to modify the To and From headers to put them in the right syntax 
and to copy the caller id up from the remote-party-id header.

We think the uac module will allow us to do this on the From header,  
but we also need to add/replace digits in the To header, e.g. changing 
it into INTL format, from 01225 to 441225...

If we do this using TextOps then the problem is that it only changes the 
string sent to the Telco switch, and it is not therefore changed on the 
reply, and so the end user agent does not then handle the replies properly.

Does anyone know how we can mangle the To header? Is there a similar 
module to uac for To headers?

cheers
peter




More information about the Users mailing list