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 14, 2013 at 5:30 PM, Ishfaq Malik <i...@pack-net.co.uk> wrote:

> 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 Malik <i...@pack-net.co.uk>
> Department: VOIP Support
> Company: Packnet Limited
> t: +44 (0)845 004 4994
> f: +44 (0)161 660 9825
> e: i...@pack-net.co.uk
> w: http://www.pack-net.co.uk
>
> Registered Address: PACKNET LIMITED, 2A ENTERPRISE HOUSE, LLOYD STREET
> NORTH, MANCHESTER
> SCIENCE PARK, MANCHESTER, M156SE
> COMPANY REG NO. 04920552
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to