[asterisk-users] Monitoring SIP trunk status on call by call basis

2013-05-14 Thread Ishfaq Malik
Hi I'm using asterisk 1.8.7.0 and adding a fail over trunk in case my primary goes down. I'm wondering what the best method of checking if the primary being up is. Is DIALSTATUS suitable for this or is there any good SIP headers to look at after the Dial step? Thanks in Advance Ish -- Ishfaq

Re: [asterisk-users] Monitoring SIP trunk status on call by call basis

2013-05-14 Thread Asghar Mohammad
i think DIALSTATUS is not suitable for failover if trunk is down you get dialstatus after time out in dial string. it is too late for failover, you can use some script to check if destination host is up. if you want to do failover when destination host is up then dialstatus are good. On Tue, May

Re: [asterisk-users] Monitoring SIP trunk status on call by call basis

2013-05-14 Thread Chris Bagnall
On 14/5/13 4:30 pm, Ishfaq Malik wrote: I'm using asterisk 1.8.7.0 and adding a fail over trunk in case my primary goes down. I'm wondering what the best method of checking if the primary being up is. Well, the obvious start point might be ChanIsAvail() - that'll at least weed out an upstream