[Kamailio-Users] HOWTO rewrite to: header

Ovidiu Sas osas at voipembedded.com
Wed Mar 4 22:57:22 CET 2009


Take a look at textops module:
http://www.kamailio.net/docs/modules/1.5.x/textops.html#id2467719

Regards,
Ovidiu Sas

On Wed, Mar 4, 2009 at 4:20 PM, alexander merkulov <arheops at gmail.com> wrote:
> here is correct reqwest and reqwest via kamailio
>
> is there any way to rewrite   To: field in kamailio
> because now it nto work
>
> correct reqwest(asterisk)
> RECEIVING FROM: 69.70.173.195:5060
> CANCEL sip:34249 at 193.110.78.12:8484 SIP/2.0
> Via: SIP/2.0/UDP 192.168.1.180:5060;branch=z9hG4bK4c97bd4a
> From: "Unknown" <sip:Unknown at voip1.bravotelecom.com>;tag=as366a0ba0
> To: <sip:34249 at 193.110.78.12:8484>
> Call-ID: 322db75c71be4ba45a61c7666b93e6be at voip1.bravotelecom.com
> CSeq: 102 CANCEL
> User-Agent: Asterisk PBX
> Max-Forwards: 70
> Content-Length: 0
>
> incorrect reqwest(multi-homed kamailio, asterisk originate to internal eth)
>
> RECEIVING FROM: 69.70.173.195:5060
> CANCEL sip:34249 at 193.110.78.12:8484 SIP/2.0
> Via: SIP/2.0/UDP 69.70.173.195;branch=z9hG4bK1b1b.3c42cea6.0
> From: "Unknown" <sip:Unknown at 69.70.173.195>;tag=as6075df60
> Call-ID: 4d784fa972c4e9c9795032417f46cb26 at voip1.bravotelecom.com
> To: <sip:34249 at 192.168.2.170>
> CSeq: 102 CANCEL
> Max-Forwards: 70
> asterisk
> Content-Length: 0
>
> --
> Merkulov Alexander
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>



More information about the Users mailing list