[OpenSER-Users] Header Mangling

Daniel-Constantin Mierla daniel at voice-system.ro
Thu Aug 2 11:44:54 CEST 2007


Hello,

On 08/01/07 13:54, Peter Gradwell wrote:
> 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?
your provider should use the R-URI, To header must stay unchanged to 
avoid troubles in upstream dialog matching. The To header URI has no 
meaning for routing, you should ask the provider to be RFC compliant and 
use R-URI and PAI/RPID.

Cheers,
Daniel

>
> cheers
> peter
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>




More information about the Users mailing list