Call Routing

Hi

I have an * system set up with ISDN, GSM, SIP and PSTN, and relevant calls route through each as necessary. How would I set up a routing system to route calls through different trunks if the main one went down? e.g. SDSL goes down so calls that usually route through SIP automatically route through PSTN, but if PSTN is down automatically goes through ISDN, etc…

Thanks in advance, I’m a bit new to this and am kind of trudging my way through little at a time :blush:

Gz

Hi
In your conf file don’t use dial… Insted use RetryDial…

RetryDial(announce|sleep|retries|dialargs): This application will attempt to
place a call using the normal Dial application. If no channel can be reached,
the ‘announce’ file will be played. Then, it will wait ‘sleep’ number of
seconds before retying the call. After ‘retires’ number of attempts, the
calling channel will continue at the next priority in the dialplan. If the
’retries’ setting is set to 0, this application will retry endlessly.
While waiting to retry a call, a 1 digit extension may be dialed. If that
extension exists in either the context defined in ${EXITCONTEXT} or the current
one, The call will jump to that extension immediately.
The ‘dialargs’ are specified in the same format that arguments are provided
to the Dial application.

Hope this helps…

#########################
Benix from cedosoft.com#
#########################