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

2006-04-14 Thread Ronald Wiplinger
Peter J Dean wrote: We do it slightly different, rather than multiple macros, we do it within a single macro. Peter, I have to this some questions: 1. I have not seen n(tryiax01) construction before. Can you explain it, please and how you give this to the macro? I know only exten =

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

2006-04-14 Thread Peter J Dean
I have to this some questions: 1. I have not seen n(tryiax01) construction before. Can you explain it, please and how you give this to the macro? I know only exten = s,4,Goto(s-${DIALSTATUS},1) tryiax01 is a reference label (which can be more meaningful for other's such as

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

2006-04-12 Thread Mimmus
OK, your solution is fine but I'd like a more generic solution to adapt it to my current [EMAIL PROTECTED] setup. Thanks anyway Mimmus From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter J Dean We do it slightly different, rather than multiple macros, we do it within

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

2006-04-11 Thread Mimmus
I have now: exten = _9011Z.,103,Dial(SIP/011${EXTEN:[EMAIL PROTECTED]) ;exten = _9011Z.,103,Dial(SIP/011${EXTEN:[EMAIL PROTECTED]) ;exten = _9011Z.,103,Dial(SIP/011${EXTEN:[EMAIL PROTECTED]) exten = _9011Z.,104,NoOp(${DIALSTATUS}) I configured two trunks for my outgoing calls:

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

2006-04-11 Thread Peter J Dean
We do it slightly different, rather than multiple macros, we do it within a single macro. ; ; ; [macro-outbound-calling] exten = s,1,NoOp(Debug: Outbound Call from ${CALLERID}) ; exten = s,n(tryiax01),NoOP(Debug [${CONTEXT}]: Trying 1st IAX2 Service) exten =

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

2006-04-11 Thread Noah Miller
I am still looking for a solution and I am sure that I am not the only one having that problem: If provider A fails for any reason, the next provider should be taken. exten = s,n,GotoIf($[${DIALSTATUS} : (CHANUNAVAIL|CONGESTION)]? tryiax02:Hangup) Yes, this is exactly how I've been doing

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

2006-04-10 Thread Ronald Wiplinger
I am still looking for a solution and I am sure that I am not the only one having that problem: If provider A fails for any reason, the next provider should be taken. There are many reasons, why a provider fails, like: password wrong (cli reports so, but actually it is the gateway's problem)

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

2006-04-10 Thread Derek Whitten
Ronald Wiplinger wrote: I am still looking for a solution and I am sure that I am not the only one having that problem: If provider A fails for any reason, the next provider should be taken. There are many reasons, why a provider fails, like: password wrong (cli reports so, but actually