[Asterisk-Users] still no solution for me, if one provider fails.

Mimmus dviggiani at tiscali.it
Tue Apr 11 01:55:52 MST 2006


> > I have now:
> > exten => _9011Z.,103,Dial(SIP/011${EXTEN:4}@provider-a)
> > ;exten => _9011Z.,103,Dial(SIP/011${EXTEN:4}@provider-b)
> > ;exten => _9011Z.,103,Dial(SIP/011${EXTEN:4}@provider-c)
> > exten => _9011Z.,104,NoOp(${DIALSTATUS})

I configured two trunks for my outgoing calls:

 [outrt-001-out]
 exten => _0.,1,Macro(dialout-trunk,2,${EXTEN:1},)
 exten => _0.,2,Macro(dialout-trunk,5,${EXTEN:1},)
 exten => _0.,3,Macro(outisbusy) ; No available circuits

If first fails, second is automatically used but I get a CDR with
disposition = 'FAILED'. How can I avoid this?

--
Domenico Viggiani




More information about the asterisk-users mailing list