Re: [asterisk-users] AGI Problem
On Sep 23, 2011, at 8:01 PM, Mehmet Avcioglu wrote: I have an AGI script that occasionally disappears without completing its action and asterisk logs the following. Local/0123456@context-f46e;1AGI Script script.php completed, returning 4 Spawn extension (context, 0123456, 2) exited non-zero on 'Local/0123456@context-f46e;1' I also changed the dialplan and added a line to print AGISTATUS, but when this returning 4 happens, asterisk stops there and doesn't execute any further dialplan actions, so I don't even see AGISTATUS value. exten = h,1,AGI(script.php,${ANSWEREDTIME},,,) exten = h,n,NoOp(${AGISTATUS}) Executing [h@context:1] AGI(Local/0123456@context-4b79;1, script.php,13,,,) in new stack Local/0123456@context-4b79;1AGI Script script.php completed, returning 4 Spawn extension (context, h, 1) exited non-zero on 'Local/0123456@context-4b79;1' -- Mehmet -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] AGI Problem
How much time your AGI is taking? Check if it is completing its task and not killed by asterisk. I guess we've 6~7 seconds before asterisk kills all call channel and related tasks. On Sat, Sep 24, 2011 at 3:21 PM, Mehmet Avcioglu meh...@activecom.netwrote: On Sep 23, 2011, at 8:01 PM, Mehmet Avcioglu wrote: I have an AGI script that occasionally disappears without completing its action and asterisk logs the following. Local/0123456@context-f46e;1AGI Script script.php completed, returning 4 Spawn extension (context, 0123456, 2) exited non-zero on 'Local/0123456@context-f46e;1' I also changed the dialplan and added a line to print AGISTATUS, but when this returning 4 happens, asterisk stops there and doesn't execute any further dialplan actions, so I don't even see AGISTATUS value. exten = h,1,AGI(script.php,${ANSWEREDTIME},,,) exten = h,n,NoOp(${AGISTATUS}) Executing [h@context:1] AGI(Local/0123456@context-4b79;1, script.php,13,,,) in new stack Local/0123456@context-4b79;1AGI Script script.php completed, returning 4 Spawn extension (context, h, 1) exited non-zero on 'Local/0123456@context-4b79;1' -- Mehmet -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Set (MONITOR_FILENAME=.................) for queuing recording calls
yes you are right. You should put it before calling in the queue. Set monitor filename as you want. Also you can set directory in the filename here too. So when the queu is triggered and mixmonitor starts it'll use that filename and record inot the file. On Sat, Sep 24, 2011 at 2:08 AM, bilal ghayyad bilmar...@yahoo.com wrote: Hi All; I noticed in the queues.conf the configuration for recording the calls in the queuing, and regarding to the filename (or any other parameter), it is written that I can determine the filename using the command: Set(MONITOR_FILENAME=foo) But it should be called from the dialing plan, but really i did not understand how to call it from the dialing plan. Well, for example this is my dialing plan to route for the queuing, how I can set the filename: [CustomerSupport] include = Internal exten = s,1,Queue(CustomerSupport,t,,,120) exten = s,2,Macro(voicemail,SIP/reception) By the way, I need in the filename to appear the following: The SIP username for the IP Phone that the call is routed for it The calling number The Time of the call Actually for the outbound recording, I am using the below command (I mentioned it to declare the time format I am using and to declare how the filename to be named): exten = _9Z,1,MixMonitor(${CHANNEL}${EXTEN:1}${STRFTIME(${EPOCH},,%Y%m%d%H%M%S)}.wav) So I hope if someone can help me to write the Set(MONITOR_FILENAME=foo) in a way to acheive same format the filename of the recorded outgoing calls (in addition that until now I am not able to know where I have to place the Set(MONITOR_FILENAME=foo). For example, should I place it as following: exten = s,1,Set(MONITOR_FILENAME=.) exten = s,2,Queue(CustomerSupport,t,,,120) exten = s,3,Macro(voicemail,SIP/reception) Appreciate if someone help me plz. Regards Bilal -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] AGI Problem
Thanks for the response. Asterisk logs the execution of the AGI and script completed messages within the same second, so less than a second. -- Mehmet On Sep 24, 2011, at 3:34 PM, Sam Govind wrote: How much time your AGI is taking? Check if it is completing its task and not killed by asterisk. I guess we've 6~7 seconds before asterisk kills all call channel and related tasks. On Sat, Sep 24, 2011 at 3:21 PM, Mehmet Avcioglu meh...@activecom.net wrote: On Sep 23, 2011, at 8:01 PM, Mehmet Avcioglu wrote: I have an AGI script that occasionally disappears without completing its action and asterisk logs the following. Local/0123456@context-f46e;1AGI Script script.php completed, returning 4 Spawn extension (context, 0123456, 2) exited non-zero on 'Local/0123456@context-f46e;1' I also changed the dialplan and added a line to print AGISTATUS, but when this returning 4 happens, asterisk stops there and doesn't execute any further dialplan actions, so I don't even see AGISTATUS value. exten = h,1,AGI(script.php,${ANSWEREDTIME},,,) exten = h,n,NoOp(${AGISTATUS}) Executing [h@context:1] AGI(Local/0123456@context-4b79;1, script.php,13,,,) in new stack Local/0123456@context-4b79;1AGI Script script.php completed, returning 4 Spawn extension (context, h, 1) exited non-zero on 'Local/0123456@context-4b79;1' -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] AGI Problem
Thats wicked !! hmmm stop your asterisk (if u can afford) and run it like asterisk -cvg and then make a call.. see whats your AGI doing in there !! On Sat, Sep 24, 2011 at 5:43 PM, Mehmet Avcioglu meh...@activecom.netwrote: Thanks for the response. Asterisk logs the execution of the AGI and script completed messages within the same second, so less than a second. -- Mehmet On Sep 24, 2011, at 3:34 PM, Sam Govind wrote: How much time your AGI is taking? Check if it is completing its task and not killed by asterisk. I guess we've 6~7 seconds before asterisk kills all call channel and related tasks. On Sat, Sep 24, 2011 at 3:21 PM, Mehmet Avcioglu meh...@activecom.netwrote: On Sep 23, 2011, at 8:01 PM, Mehmet Avcioglu wrote: I have an AGI script that occasionally disappears without completing its action and asterisk logs the following. Local/0123456@context-f46e;1AGI Script script.php completed, returning 4 Spawn extension (context, 0123456, 2) exited non-zero on 'Local/0123456@context-f46e;1' I also changed the dialplan and added a line to print AGISTATUS, but when this returning 4 happens, asterisk stops there and doesn't execute any further dialplan actions, so I don't even see AGISTATUS value. exten = h,1,AGI(script.php,${ANSWEREDTIME},,,) exten = h,n,NoOp(${AGISTATUS}) Executing [h@context:1] AGI(Local/0123456@context-4b79;1, script.php,13,,,) in new stack Local/0123456@context-4b79;1AGI Script script.php completed, returning 4 Spawn extension (context, h, 1) exited non-zero on 'Local/0123456@context-4b79;1' -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] AGI Problem
Out of about 18000 instances this problem occurred 48 times yesterday. So it has been pretty much impossible for me to replicate it under test conditions. Thanks -- Mehmet On Sep 24, 2011, at 4:00 PM, Sam Govind wrote: Thats wicked !! hmmm stop your asterisk (if u can afford) and run it like asterisk -cvg and then make a call.. see whats your AGI doing in there !! On Sat, Sep 24, 2011 at 5:43 PM, Mehmet Avcioglu meh...@activecom.net wrote: Thanks for the response. Asterisk logs the execution of the AGI and script completed messages within the same second, so less than a second. -- Mehmet On Sep 24, 2011, at 3:34 PM, Sam Govind wrote: How much time your AGI is taking? Check if it is completing its task and not killed by asterisk. I guess we've 6~7 seconds before asterisk kills all call channel and related tasks. On Sat, Sep 24, 2011 at 3:21 PM, Mehmet Avcioglu meh...@activecom.net wrote: On Sep 23, 2011, at 8:01 PM, Mehmet Avcioglu wrote: I have an AGI script that occasionally disappears without completing its action and asterisk logs the following. Local/0123456@context-f46e;1AGI Script script.php completed, returning 4 Spawn extension (context, 0123456, 2) exited non-zero on 'Local/0123456@context-f46e;1' I also changed the dialplan and added a line to print AGISTATUS, but when this returning 4 happens, asterisk stops there and doesn't execute any further dialplan actions, so I don't even see AGISTATUS value. exten = h,1,AGI(script.php,${ANSWEREDTIME},,,) exten = h,n,NoOp(${AGISTATUS}) Executing [h@context:1] AGI(Local/0123456@context-4b79;1, script.php,13,,,) in new stack Local/0123456@context-4b79;1AGI Script script.php completed, returning 4 Spawn extension (context, h, 1) exited non-zero on 'Local/0123456@context-4b79;1' -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] AGI Problem
Should we consider it ignorable or you are still interested in resolving ! Best of Luck in any case ! On Sat, Sep 24, 2011 at 6:16 PM, Mehmet Avcioglu meh...@activecom.netwrote: Out of about 18000 instances this problem occurred 48 times yesterday. So it has been pretty much impossible for me to replicate it under test conditions. Thanks -- Mehmet On Sep 24, 2011, at 4:00 PM, Sam Govind wrote: Thats wicked !! hmmm stop your asterisk (if u can afford) and run it like asterisk -cvg and then make a call.. see whats your AGI doing in there !! On Sat, Sep 24, 2011 at 5:43 PM, Mehmet Avcioglu meh...@activecom.netwrote: Thanks for the response. Asterisk logs the execution of the AGI and script completed messages within the same second, so less than a second. -- Mehmet On Sep 24, 2011, at 3:34 PM, Sam Govind wrote: How much time your AGI is taking? Check if it is completing its task and not killed by asterisk. I guess we've 6~7 seconds before asterisk kills all call channel and related tasks. On Sat, Sep 24, 2011 at 3:21 PM, Mehmet Avcioglu meh...@activecom.netwrote: On Sep 23, 2011, at 8:01 PM, Mehmet Avcioglu wrote: I have an AGI script that occasionally disappears without completing its action and asterisk logs the following. Local/0123456@context-f46e;1AGI Script script.php completed, returning 4 Spawn extension (context, 0123456, 2) exited non-zero on 'Local/0123456@context-f46e;1' I also changed the dialplan and added a line to print AGISTATUS, but when this returning 4 happens, asterisk stops there and doesn't execute any further dialplan actions, so I don't even see AGISTATUS value. exten = h,1,AGI(script.php,${ANSWEREDTIME},,,) exten = h,n,NoOp(${AGISTATUS}) Executing [h@context:1] AGI(Local/0123456@context-4b79;1, script.php,13,,,) in new stack Local/0123456@context-4b79;1AGI Script script.php completed, returning 4 Spawn extension (context, h, 1) exited non-zero on 'Local/0123456@context-4b79;1' -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] AGI Problem
Thanks for the help. 48 times out of 18000 should be ignorable in most cases but it required human intervention 48 times.:) Obviously if there is no other way I'll find a way to automate that human intervention somehow.. Thanks again. -- Mehmet On Sep 24, 2011, at 4:34 PM, Sam Govind wrote: Should we consider it ignorable or you are still interested in resolving ! Best of Luck in any case ! On Sat, Sep 24, 2011 at 6:16 PM, Mehmet Avcioglu meh...@activecom.net wrote: Out of about 18000 instances this problem occurred 48 times yesterday. So it has been pretty much impossible for me to replicate it under test conditions. Thanks -- Mehmet On Sep 24, 2011, at 4:00 PM, Sam Govind wrote: Thats wicked !! hmmm stop your asterisk (if u can afford) and run it like asterisk -cvg and then make a call.. see whats your AGI doing in there !! On Sat, Sep 24, 2011 at 5:43 PM, Mehmet Avcioglu meh...@activecom.net wrote: Thanks for the response. Asterisk logs the execution of the AGI and script completed messages within the same second, so less than a second. -- Mehmet On Sep 24, 2011, at 3:34 PM, Sam Govind wrote: How much time your AGI is taking? Check if it is completing its task and not killed by asterisk. I guess we've 6~7 seconds before asterisk kills all call channel and related tasks. On Sat, Sep 24, 2011 at 3:21 PM, Mehmet Avcioglu meh...@activecom.net wrote: On Sep 23, 2011, at 8:01 PM, Mehmet Avcioglu wrote: I have an AGI script that occasionally disappears without completing its action and asterisk logs the following. Local/0123456@context-f46e;1AGI Script script.php completed, returning 4 Spawn extension (context, 0123456, 2) exited non-zero on 'Local/0123456@context-f46e;1' I also changed the dialplan and added a line to print AGISTATUS, but when this returning 4 happens, asterisk stops there and doesn't execute any further dialplan actions, so I don't even see AGISTATUS value. exten = h,1,AGI(script.php,${ANSWEREDTIME},,,) exten = h,n,NoOp(${AGISTATUS}) Executing [h@context:1] AGI(Local/0123456@context-4b79;1, script.php,13,,,) in new stack Local/0123456@context-4b79;1AGI Script script.php completed, returning 4 Spawn extension (context, h, 1) exited non-zero on 'Local/0123456@context-4b79;1' -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] AGI Problem
On Sat, 24 Sep 2011, Mehmet Avcioglu wrote: Thanks for the help. 48 times out of 18000 should be ignorable in most cases but it required human intervention 48 times.:) Obviously if there is no other way I'll find a way to automate that human intervention somehow.. Thanks again. In no particular order... Earlier, you suspected receiving a signal was causing your problem. Instead of ignoring the signal, how setting up a handler and logging the reception? How about 'agi set debug on'? Whose AGI library did you use? If you 'rolled your own' maybe you are violating the protocol. Nobody gets it right the first time :) What does the AGI do? Can you execute it outside of Asterisk by feeding it the appropriate cruft via STDIN? Are there any characteristics common to the 48? Same ANI? Same DNIS?, Same path through your dialplan? -- Thanks in advance, - Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] TDM400 FXO stopped working
Remco, In my experience something could have gone wrong with the parameters you pass to WCTDM driver. You may want to check your /etc/modprobe.d/dahdi.conf Try loading the driver manually as follows: 1. Stop Asterisk 2. modprobe -r wctdm 3. modprobe wctdm 4. dahdi_cfg -vvv Good luck, Vladimir On 9/23/2011 4:27 AM, Remco Barendse wrote: Hi list I have 2 servers with a TDM400 card, port 1 populated by an FXO (red) module), port 4 populated with an FXS module. I am using dahdi linux and tools 2.5.0.1. The servers are running CentOS 4 and the other box CentOS 6. Both modules have been working fine but recently stopped working, when i start dahdi with just FXS enabled everything is fine. This is the error i get : Loading DAHDI hardware modules: wctdm: [ OK ] Running dahdi_cfg: DAHDI_CHANCONFIG failed on channel 1: Invalid argument (22) Selected signaling not supported Possible causes: FXO signaling is being used on a FXO interface (use a FXS signaling variant) RBS signaling is being used on a E1 CCS span Signaling is being assigned to channel 16 of an E1 CAS span [FAILED] This is in my system.conf : fxoks=1 echocanceller=mg2,1 # channel 2, WCTDM/4/1, no module. # channel 3, WCTDM/4/2, no module. fxsks=4 echocanceller=mg2,4 # Global data loadzone= nl defaultzone = nl When i run dahdi_genconf it doesn't detect the module either : # Autogenerated by /usr/sbin/dahdi_genconf on Fri Sep 23 11:24:16 2011 # Span 1: WCTDM/4 Wildcard TDM400P REV E/F Board 5 (MASTER) # channel 1, WCTDM/4/0, no module. # channel 2, WCTDM/4/1, no module. # channel 3, WCTDM/4/2, no module. fxsks=4 echocanceller=mg2,4 I already replaced both FXO modules with new ones but without result. Ideas anyone? -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] looking for free DID 708-839
SipGate.Com used to offer free DIDs in Illinois, but it looks like they ran out of numbers... -Vladimir On 9/23/2011 2:45 PM, Joseph wrote: Are there any free DID in Illinois 708-839 or area? -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] DID and how the caller id will appear
Hi All; The DID range that we took from the telecom starts from 1030 and end by 1059, now whenever we place a call, the destination see the number 5631030. I gave the phone extension 1040, and when I call, still the destination see the number is 5631030? Kindly find below the configuration of the extension 1040, please what I have also to configure so when this extension make a call, the destination see it 5631040? [1040] type=friend host= dynamic callerid=1040 disallow=all allow=alaw allow=ulaw allow=g729 context=External dtmfmode=auto nat=no qualify=no canreinvite=yes username=1040 secret=*** Regards Bilal -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Asynchronous AGI Problems (Asterisk 1.8.7.0), ubuntu-server
Hi Everyone, I've been trying to get asynchronous AGIs working in some Asterisk code I have. I'm using Asterisk 1.8.7.0, and I'm very familiar with dialplan and AGI scripting overall. Here's my problem: I can't get Asterisk to execute *any* AGIs asynchronously. Firstly, I discovered asynchronous AGIs via Asterisk: The Definitive Guide. The asynchronous AGI information I read can be found online, here: http://ofps.oreilly.com/titles/9780596517342/AGI.html (scroll down to the section titled Async AGI--AMI Controlled AGI). According to the book, since Asterisk 1.6.0 the AGI dialplan application has been able to execute AGI scripts asynchronously, via the syntax: exten = s,1,AGI(async:script) According to the book, using the async: prefix should have Asterisk run the AGI script in the background and instantly continue executing dialplan code. So here's my Asterisk dialplan code that's being run: [hangup] exten = s,1,AGI(async:/etc/asterisk/scripts/hangup.py) exten = s,n,Return() Pretty simple context--essentially my AGI script just does some call clean up logic before a caller hangs up, talking to a few web servers and generating statistics for later usage. What happens when Asterisk executes this context, is: WARNING[7911]: res_agi.c:1622 launch_script: Failed to execute '/var/lib/asterisk/agi-bin/async:/etc/asterisk/scripts/hangup.py': File does not exist. As you can see, Asterisk is ignoring the async: directive, and treating it as part of the AGI script path. Is there anyway for me to make asynchronous AGIs work? I've tried searching online to no avail. I'd greatly appreciate any responses, thanks for your time. -Randall -- Randall Degges *http://rdegges.com/* -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] [1.6.2.9] Echo even when using headset?
On Mon, 19 Sep 2011 12:12:54 +0200, Gilles codecompl...@free.fr wrote: Problem solved: Tried XLite 4.1 on another test, and sound is OK, so I guess it's something in my work PC. s/test/host/ An el cheapo $20 CMedia CMI8738 6CH solved the issue. Great sound :-) -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] DID and how the caller id will appear
Set(CALLERID(num)=5631040) add this before the Dial command. On Sat, Sep 24, 2011 at 4:03 PM, bilal ghayyad bilmar...@yahoo.com wrote: Hi All; The DID range that we took from the telecom starts from 1030 and end by 1059, now whenever we place a call, the destination see the number 5631030. I gave the phone extension 1040, and when I call, still the destination see the number is 5631030? Kindly find below the configuration of the extension 1040, please what I have also to configure so when this extension make a call, the destination see it 5631040? [1040] type=friend host= dynamic callerid=1040 disallow=all allow=alaw allow=ulaw allow=g729 context=External dtmfmode=auto nat=no qualify=no canreinvite=yes username=1040 secret=*** Regards Bilal -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Who is the creative mind behind changing Asterisk commands at CLI?
Hi everyone, I don't mean to be rude but honestly which genius comes up with changing the simple: help to core show help That's just an example. If it was only this or if this was only a two words loss then I would be fine. I think someone just loves to play around with the commands with each and every release. 1 word turned into 3 long words for a simple simple simple help command. Good job Digium. Cheers, -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Who is the creative mind behind changing Asterisk commands at CLI?
Just use cli aliases, provided by res_clialiases.so. 2011/9/25 Bruce B bruceb...@gmail.com Hi everyone, I don't mean to be rude but honestly which genius comes up with changing the simple: help to core show help That's just an example. If it was only this or if this was only a two words loss then I would be fine. I think someone just loves to play around with the commands with each and every release. 1 word turned into 3 long words for a simple simple simple help command. Good job Digium. Cheers, -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users