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 =
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
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
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:
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 =
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
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)
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