Hola Gines,

 

I'm in a test environment and the domain that I use for every user is resolved 
with the production SIP server IP...(I haven't a DNS domain name associated to 
my test openser), obviously the production SIP server responde to every request 
with a 403 Forbidden message.

 

I don't know if this is the problem but with the wesip SPITAL_HDR set  to true, 
I see only the messages that start in the local_route function.

 

To avoid this problem, I'm trying to manipulate the message in the local_route 
function without good result :-(...

 

Is there another way to do this??

 

Regards

     MD

 

________________________________

Da: Ginés Gómez [mailto:[email protected]] 
Inviato: venerdì 20 marzo 2009 12:46
A: Mauro Davi'
Cc: [email protected]
Oggetto: Re: [OpenSIPS-Users] Wesip and Opensips

 

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