asterisk2billing.org http://forum.asterisk2billing.org/ |
|
ARG to call the AGI in the dialplan http://forum.asterisk2billing.org/viewtopic.php?f=15&t=4692 |
Page 1 of 1 |
Author: | fcois93 [ Mon Dec 22, 2008 10:52 am ] |
Post subject: | ARG to call the AGI in the dialplan |
hello, is it possible to choose the username when I call the AGI? for example, call the AGI with a header. is it possible? or can you add it? thank you |
Author: | jroper [ Mon Dec 22, 2008 12:15 pm ] |
Post subject: | |
You could use the account code http://www.voip-info.org/wiki/index.php ... k+func+cdr Joe |
Author: | fcois93 [ Mon Dec 22, 2008 1:37 pm ] |
Post subject: | |
which CDR var is for the username ? |
Author: | stavros [ Mon Dec 22, 2008 2:21 pm ] |
Post subject: | |
As jroper pointed out immediately prior to your question: accountcode. |
Author: | fcois93 [ Wed Feb 18, 2009 3:34 pm ] |
Post subject: | |
now, I need to choose the destination without to use dtmf after executing... is it possible? thank you |
Author: | jroper [ Wed Feb 18, 2009 3:36 pm ] |
Post subject: | |
Do you mean send the call straight out without prompting for number, assuming that the number has already been dialed? |
Author: | fcois93 [ Wed Feb 18, 2009 3:38 pm ] |
Post subject: | |
in fact: I dial the number in my phone, asterisk pickup, execute A2B. then, I need thatA2B use my dialed number |
Author: | jroper [ Wed Feb 18, 2009 3:40 pm ] |
Post subject: | |
Print and read /etc/asterisk/a2billing.conf The answer to that question, and many others will lie within that document. Joe |
Author: | fcois93 [ Wed Feb 18, 2009 4:39 pm ] |
Post subject: | |
oh yes, I am sorry I post the solution for others stupids like me a2billing.conf Code: use_dnid = YES Added after 5 minutes: jroper wrote: Print and read /etc/asterisk/a2billing.conf
I have another (perhaps stupid ) question: I found how to active/inactive say_balance_after_auth. but, if a user need to know his balance, can I execute the AGI with an arg to have the say_balance_after_auth if in the a2billing.conf say_balance_after_auth=no ? thank you |
Author: | jroper [ Wed Feb 18, 2009 5:17 pm ] |
Post subject: | |
Use two agi-confs |
Author: | fcois93 [ Wed Feb 18, 2009 5:22 pm ] |
Post subject: | |
what have I to do? I imagine that I need to have 2 a2billing.conf but for the second agi, where have I to change the .conf file ? |
Author: | jroper [ Wed Feb 18, 2009 5:25 pm ] |
Post subject: | |
Locate section agi-conf1, copy it, and paste it at the bottom of the file, and call it agi-conf2. |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |