Ciao Mauro,

first, you can manipulate messages from WeSIP itselft before you send them out. Once they are sent out you can manipulate them in OpenSIPs script if you configure WeSIP to work in spiral mode. When working in spiral mode outgoing messages from WeSIP loop through OpenSIPs script in a new transaction before leaving. You can recognize them, and work accordingly if you look for the particular a header that is added by WeSIP. The header is X-WeSIP-SPIRAL

NON-SPIRAL-MODE (Default)

Origin       [OpenSIPS     WeSIP]      Destination
   | ----t1----->| ----------->|------t2----->
                        Internal
                       Delivery
        

SPIRAL-MODE

Origin  [OpenSIPS       WeSIP]                OpenSIPS   Destination
     | ----t1-----> | ----------->|-----------t2------->| ----t3---> |
                            Internal       X-WeSIP-Spiral
                           Delivery
                        
More on this kind of configuration at 
http://www.wesip.com/mediawiki/index.php/Configuration#com.voztele.javax.sip.SPIRAL_HDR

Hope that helps

Regards

Ginés



Hi All,

I’m setting up the Click2Dial wesip application, and I’m trying to use it.

When I start the call in the opensips script I need to manipulate it.

So in the local_route branch I try to see if the To party is an alias but I can’t use alias_db_lookup function in the local_route branch…

Is this correct? How I can manipulate the messages generated by wesip ?

Thanks in advance
            MD
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to