[Kamailio-Users] change domain at to header
Adnan Çelikel
adnan.celikel at hotmail.com
Sun Feb 7 07:43:53 CET 2010
Dear All,
I want to change a field (Sip to address host part) at sip message header. I think avpops will solve this.If anybody has a sample confg and send to me I will be very glad.Regards,Adnan.
#---------------------------------------------------- #7777 CALL ROUTING #-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* if(is_method("INVITE") && (uri=~"sip:7777")){ rewritehostport("192.168.1.10:5060"); route(1); exit; } #----------------------------------------------------
at this rule, the invite is going to 192.168.1.10 with the host part as abc.com, we want to send with another domain.
Instead of abc.com domain, I want to use 192.168.1.10 domain ;
To:<sip:7777 at abc.com>
To:<sip:7777 at 192.168.1.10>
_________________________________________________________________
Windows Live Hotmail: Arkadaşlarınız Facebook'taki güncellemelerinizi doğrudan Hotmail®'den alır.
http://www.microsoft.com/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:tr-tr:SI_SB_4:092009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20100207/79d68324/attachment.htm>
More information about the sr-users
mailing list