Displaying 4 results from an estimated 4 matches for "_2xxxxxxxx".
2006 May 26
3
using a billing system
Hello to all,
Im trying to use DeadAGI to implement billing with Asterisk2Billing.
Before the billing, I had something like:
exten => _2XXXXXXXX,1,Dial(SIP/${EXTEN}@voiprovider)
Now, with Asterisk2Billing would be something like this?
exten => _2XXXXXXXX,1,Answer
exten => _2XXXXXXXX,2,Wait,2
exten => _2XXXXXXXX,3,DeadAGI,a2billing.php
exten => _2XXXXXXXX,4,Wait,2
exten => _2XXXXXXXX,5,Hangup
I tried it and the call is answ...
2007 Mar 13
3
How to match wild card inside a GoToIf?
How can I match wildcards inside a GoToIf?
I have something like this, but it doesn't work:
[default]
exten => _2XXXXXXXX,1,Macro(outcall,${EXTEN})
[macro-outcall]
exten => s,1,GotoIf($["${ARG1}" = "220408XXX"]?2:3)
exten => s,2,Hangup
Any ideas?
Regards,
Ricardo.
2006 Apr 13
0
Hangupcause to handle Called party disconnect ? PSTN----E1----OldPBX---E1--Asterisk
...sible
message to receive while in the call state, or a STATUS message was received
indicating an incompatible call state.
I hope you can advice me. Is it affordable to use Hangupcause?
what we need is that, if the called party hangs, asterisk should hang
(safety reasons on billing)..
exten => _2XXXXXXXX,1,Dial(Zap/g1/${EXTEN})
exten => _2XXXXXXXX,2,gotoif,$[${HANGUPCAUSE} = 16]?99999|1
exten => 99999,1,Hangup
I'm not sure if this is possible neither recommended, should be
HangupCAUSE=16 or =98 ??
Best regards,
Marco Mouta
-------------- next part --------------
An HTML attachment was...
2007 Mar 13
0
Re: asterisk-users Digest, Vol 32, Issue 48
...to match wild card inside a GoToIf?
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> <asterisk-users@lists.digium.com>
>
> How can I match wildcards inside a GoToIf?
>
> I have something like this, but it doesn't work:
>
> [default]
> exten => _2XXXXXXXX,1,Macro(outcall,${EXTEN})
> [macro-outcall]
> exten => s,1,GotoIf($["${ARG1}" = "220408XXX"]?2:3)
> exten => s,2,Hangup
>
You are going to need a substring of the original. I'm thinking
something like the following although I haven't tested it.
exten =...