Re: [OpenSIPS-Users] Reroute B2B call after failure

2011-05-16 Thread duane . larson
Actually I guess I could just do the following On the OpenSIPSProxy use the uac_replace_to() and change the domain to be the Primary Gateway and then if it fails I can use the uac_replace_to() and set the domain to the backup. And then on the OpenSIPSB2BUA look at the To domain and use that

Re: [OpenSIPS-Users] Reroute B2B call after failure

2011-05-16 Thread duane . larson
On the OpenSIPSProxy script in order to pass the call to OpenSIPSB2BUA I set the $rd variable to the OpenSIPSB2BUA IP address. So what variable do I need to set on the OpenSIPSProxy before sending it to the OpenSIPSB2BUA so that the B2BUA server will know to send it to the Backup Gateway? I t

Re: [OpenSIPS-Users] Reroute B2B call after failure

2011-05-16 Thread Ovidiu Sas
If you want to use opensips in b2b mode and still have failover, you will need to use two instances of opensips: - one in b2b mode, - one in proxy mode and doing the failover. It seems that you already have the setup, so all that you need to do on the proxy (on the failure case) is to send the IN

[OpenSIPS-Users] Reroute B2B call after failure

2011-05-16 Thread duane . larson
I have the following setup - Primary SIP Gateway A XXX.XXX.XXX.XXX Phones <-> OpenSIPSProxy <-> OpenSIPSB2BUA <-> SIP Trunk Provider | - Backup SIP Gateway B YYY.YYY.YYY.YYY So my SIP trunk provider (Bandwidth.com) provided me with two gateways to send my calls to (One is the primary

[OpenSIPS-Users] Transaction matching issues

2011-05-16 Thread Brett Nemeroff
Hello List, I'm seeing some odd issues on a few of my installs. This particular issue I've seen on both a recent trunk (few days ago) and 1.6.4-notls. I have two issues. I'm not sure if they are related; so I'm going to post them both in this email I use uac_replace_* functions quite a bit. I'm no

Re: [OpenSIPS-Users] vst/vsf Header Removal

2011-05-16 Thread Anca Vamanu
Hi Logan, If you want the restore of from and to uris to be done automatically and with the help of dialog module, you have to call create_dialog() function before any uac_replace function or set the parameter force_dialog to 1. http://www.opensips.org/html/docs/modules/devel/uac.html#force_d