[Asterisk-Users] Failover of IAX or Spillover as the case may be

Andrew Kohlsmith akohlsmith-asterisk at benshaw.com
Wed Jun 23 06:38:48 MST 2004


On Wednesday 23 June 2004 06:01, Philipp von Klitzing wrote:
> Secondly you could also use the exit codes of Dial() for failover action,
> but better prevent the necessity for that with the help of SetGroup().

IAX2 does not return the disconnect cause from the far end; this is necessary 
in cases where the provider accepts connections but is having PSTN 
connectivity issues of their own; Dial() jumps to n+101 but you don't know if 
the number you were calling was actually busy or if there were problems, so 
your only choice is to try dialing them again with another provider.

Regards,
Andrew



More information about the asterisk-users mailing list