Hi,

I don't think you can FAIL a call that is already answered i.e. marked as SUCCESSFUL. The only way to achieve the functionality you desire is to use SIP REFER.

On Kamailio you can achieve this using,
https://kamailio.org/docs/modules/4.1.x/modules/dialog.html#idp17465536

On Asterisk you may use,
https://www.voip-info.org/wiki/view/Asterisk+cmd+Transfer


Hope this helps.

Thank you.



On Wed, Dec 27, 2017 at 5:23 PM, iTalk IP Support Department <support@italkip.com> wrote:

Hi Everyone:

I would appreciate your insight regarding a problem we are trying to solve.

We are using Kamailio (4.1.8) along with multiple asterisk (13 and above) clusters for various telephony features. We are using the dispatcher module to send calls to the asterisk clusters in round robin and failover algorithms.

We need a solution to fail a call and hand it over to another asterisk server after Kamailio has received a 200OK from Asterisk server A. I understand the failover works before the 200OK is sent from asterisk A and calls can easily be sent to asterisk B but again the challenge here to fail the call over to another asterisk server after a 200OK is received from the first one.

 

If this is impossible I was wondering if refer and re-direct is an option to get this done. Thanks in advance for looking at this and for your responses.

 

 


_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users