[Kamailio-Users] simple question

Daniel-Constantin Mierla miconda at gmail.com
Mon Oct 6 17:18:21 CEST 2008


Hello,

On 10/06/08 18:02, Alex R.S.M wrote:
> Hi,
>
> I want openSER to act ad a B2B UA,  replacing TO, FROM and URI fields. 
> I know "rewritehostport" function allow me to modify URI. What are 
> functions can be used to change TO and FROM fields.
To change From, you can use uac module:
http://www.kamailio.org/docs/modules/1.4.x/uac.html

It is not advisable to change To in a SIP proxy (as kamailio/openser 
is), but you can use replace/header-related functions from textops module:

http://www.kamailio.org/docs/modules/1.4.x/textops.html

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://www.asipto.com





More information about the Users mailing list