similar to: IF else

Displaying 20 results from an estimated 4000 matches similar to: "IF else"

2008 Oct 17
1
Strip prefix
Dear All, i have the following context defines in etensions.conf: [a2billing] exten => _X.,1,Gotoif($[${EXTEN} = 111] ? 21) exten => _X.,2,DeadAGI,a2billing.php exten => _X.,3,Wait,2 exten => _X.,4,Hangup exten => _X.,21,Playback(AR_GetGiveToID) exten => _X.,22,Wait(2) exten => _X.,23,Record(/tmp/asterisk-recording:ulaw,,5) exten => _X.,24,Wait(2) exten =>
2008 Sep 15
2
Asterisk
Dear All, I have the below context defined in extensions.con: [a2billing] exten => _X.,1,Gotoif($[${EXTEN} = 111] ? 21) exten => _X.,2,DeadAGI,a2billing.php exten => _X.,3,Wait,2 exten => _X.,4,Hangup exten => _X.,21,Wait(2) exten => _X.,22,Record(/tmp/asterisk-recording:ulaw) exten => _X.,23,Wait(2) exten => _X.,24,Playback(/tmp/asterisk-recording) exten =>
2010 Jan 01
1
PBX Extension Help
hi all, I have a little problem. I'm trying to configure a2billing (asterisk2billing) with asterisk. Everything done successfully but when I try to call following error occur "WARNING[9690]: pbx.c:3170 pbx_extension_helper: No application 'DeadAGI,a2billing.php' for extension (a2billing, 456,3) and it hang ups the call. Can someone please tell me why this error occuring. My
2011 Apr 09
1
Is it the normal behaviore for AGI and DeadAGI to terminate AFTER the "h" extension?
Hi Everyone, Trying to run a php script after DeadAGI for A2Billing does it's magic. This is the dialplan: [a2billing] exten => _X.,1,System(php pre-call.php ${CALLERID(num)} ${EXTEN} ${UNIQUEID}) exten => _X.,n,AGI(a2billing.php,1) exten => _X.,n,Hangup() *exten => h,1,Wait(5)* *exten => h,n,System(php post-call.php ${CALLERID(num)} ${UNIQUEID})* As you can see above, I even
2011 Apr 05
2
Asterisk 1.8 and new the command: exten => _X., 4, Wait, 2
OK Dears; Is the exten => _X.,2,Wait,2 no more working with Asterisk 1.8? What is the equivalent? I installed Asterisk 1.8 and Star2Billing 1.9 but I am getting this error if someone can advise me: Executing [9615806234 at a2billing:1] Answer("SIP/gwsshihabuddinkw-00000014", "") in new stack [Apr 5 02:59:05] WARNING[2941]: pbx.c:4055 pbx_extension_helper: No application
2012 Apr 04
2
Asterisk 1.8 and DeadAGI
Dears; In asterisk 1.8, it is not more possible to use DeadAGI? Also, I found the below commands in the a2billing and I would to ask why it set the sequence 1 for the Hangup()? Maybe because it is related to the NoOp? How? [a2billing-callingcard] exten => _X.,1,NoOp(A2Billing Start) exten => _X.,n,Answer() exten => _X.,n,Wait(2) exten => _X.,n,DeadAgi(a2billing.php,1) exten =>
2008 Sep 12
1
Extension not found
Dear All, I have the following scenario...When a customer dial 111 number a beep message will iplay in order to record and playback his voice...Else he'll be routed to another call flow as you can see in the context below: [a2billing] exten => _X.,1,Gotoif($[${EXTEN} = 111] ? custom-recordme,111,1) exten => _X.,2,DeadAGI,a2billing.php exten => _X.,3,Wait,2 exten => _X.,4,Hangup
2011 May 19
1
SIP 603 Declined after AGI execution
Hello everyone. I'm using Asterisk 1.4.31 and A2Billing 1.7.0 to manage a small wholesale operation, so I configured A2Billing for not to answer the call nor play any greetings or balance notifications to the caller. I'm authenticating each customer by it's IP address, and each customer has it's own context, in which I set the following: ;=====in extensions.conf======
2011 May 19
1
Getting 603 Declined after AGI execution
Hello everyone. I'm using Asterisk 1.4.31 and A2Billing 1.7.0 to manage a small wholesale operation, so I configured A2Billing for not to answer the call nor play any greetings or balance notifications to the caller. I'm authenticating each customer by it's IP address, and each customer has it's own context, in which I set the following: ;=====in extensions.conf======
2008 Dec 12
5
ring back tone
Hi all, I would like to ask please if there is a way to play a ring back tone from asterisk when the customer try to make a call...I already added the ringing function to the context in extensions .conf and it work perfectly...But the issue that the asterisk server is stoping playing back his own ring back tone as soon as it detect a ring back tone coming from the carrier side... Is there a way
2007 Jun 14
4
Que on A2Billing
Hello All, I got one quick question on A2Billing. Specs: - - A2Billing v1.3 - OS CentOS 4.5 - Asterisk 1.2 - Zaptel 1.2 Did the installation and everything is working as it suppose to... Using the A2Billing documentation, I created the RateCard, SIP Trunks, and SIP Customers. I was also able to login using XLite Dialer and was able to call out to my SIP Trunk also. Now how can I remove the
2009 Mar 09
3
problem with an agi in PHP
Hello, I need to execute an agi in php. I have that: == Using SIP RTP CoS mark 5 -- Executing [0170725000 at mnupprx1:1] Answer("SIP/33179977999-b6c18478", "") in new stack -- Executing [0170725000 at mnupprx1:2] GotoIf("SIP/33179977999-b6c18478", "0?6:3)") in new stack -- Goto (mnupprx1,0170725000,3) -- Executing
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 =>
2007 Feb 18
3
chan_sip.c:1968 create_addr: No such host:
I have followed all the install note for A2billing and have everything installed and configured and my asterisk works except the callingcard application. Added the following [callingcard] ; CallingCard application exten => 777,1,Answer exten => 777,2,Wait,2 exten => 777,3,DeadAGI,a2billing.php exten => 777,4,Wait,2 exten => 777,5,Hangup I am using 777 as the calling card
2006 Dec 07
1
-- Called 12127773456@OOH323 Segmentation fault (core dumped)
OOH323 Debugging Enabled -- Executing Answer("SIP/3513-090f7d40", "") in new stack -- Executing Wait("SIP/3513-090f7d40", "1") in new stack -- Executing DeadAGI("SIP/3513-090f7d40", "a2billing.php|1") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php a2billing.php|1: line:58 - IDCONFIG : 1
2008 Oct 02
1
DTMF issue
Dear All, What could be the problem if I try to send DTMF in RFC2833 format to my asterisk server and it replies back with 603 error message? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081002/7e2eb229/attachment.htm
2008 Nov 20
1
Voice Mail
Dear Sir, I need to configure my Voice Mail on asterisk...I made the following configuration: * extensions.conf:* exten => _999.,1,VoiceMail(${EXTEN}) exten => _999.,2,HangUp() If the customer dial 9991234 then a prompt message should ask him to enter his voice message and this what is not happening *voicemail.conf:* [a2billing] 999123456 => 123456, 123456, michofr at mm.com The
2010 May 19
2
a2billing DID and Queues
Hi all, I have configured asterisk and a2billing.for inbound i have also configured did and its forwarded to sip extensions. But i want to enable queues with inbound numbers(DID).But i could not find a way to do this in a2billing. I want enable that if some did comes to asterisk/a2billing it should be forwarded to queues not sip extensions and their i want to enable hunting so if one
2009 Feb 17
4
Network architecture
Hi all, I'm planning to build a VOIP solution for handling SIP calls coming from endpoints registered on a specific SIP proxy...I made some research regarding network architecture and found out that the best solution is to use OpenSips as SIP proxy for registration and local calls between registered endpoints and use asterisk server with a2billing for PSTN calls, rating, routing and all other
2006 Oct 11
1
Urgent Please help
I am using a2billing as billing software ,and I make an 800 call service which means that the destination extension should be build I put this code at extensions.conf exten => 99909994,1,SetAccount(2704714849) exten => 99909994,2,Wait,2 exten => 99909994,3,DeadAGI(a2billingp.php) exten => 99909994,4,Wait,2 exten => 99909994,5,Hangup its not stable ,its works for 3 times