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@abc.com>


To:<sip:7777@192.168.1.10>


 



Windows Live Hotmail: Arkadaşlarınız Facebook'taki güncellemelerinizi doğrudan Hotmail®'den görür.