[asterisk-users] Handoff dial control to dialplan after AMI Originate

2013-06-19 Thread Grant Bagdasarian
Hello, I'd like to use the AMI interface to originate a call to a context in a dialplan, and handoff the dial control to the context. Whenever I execute the below action, the recipient does ring, but when I answer it dials the recipient again. I believe this is because once answered the

Re: [asterisk-users] Handoff dial control to dialplan after AMI Originate

2013-06-19 Thread Lenz Emilitri
Looks correct to me 2013/6/19 Grant Bagdasarian g...@cm.nl Hello, ** ** I’d like to use the AMI interface to originate a call to a context in a dialplan, and handoff the dial control to the context. ** ** Whenever I execute the below action, the recipient does ring, but

Re: [asterisk-users] Handoff dial control to dialplan after AMI Originate

2013-06-19 Thread Grant Bagdasarian
I fixed it. The problem is just as I assumed; once the call is answered the dialplan goes into what’s defined in Context/Exten/Prio of the Originate action. I changed the Context/Exten/Prio in the action and pointed it to something else. Now it works. Action: Originate Channel:

Re: [asterisk-users] Handoff dial control to dialplan after AMI Originate

2013-06-19 Thread Grant Bagdasarian
Why can’t I execute any more dialplan after the Dial application? The scenario is when the Dial application dials the recipient but the recipient doesn’t answer. The AMI will never go into the originateDialProcessor because the call was never answered. So I expect the Dialplan to continue after

Re: [asterisk-users] Handoff dial control to dialplan after AMI Originate

2013-06-19 Thread jg
Did you specify a timeout value? jg -- _ -- 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

Re: [asterisk-users] Handoff dial control to dialplan after AMI Originate

2013-06-19 Thread Satish Barot
On Wed, Jun 19, 2013 at 4:00 PM, Grant Bagdasarian g...@cm.nl wrote: Why can’t I execute any more dialplan after the Dial application? The scenario is when the Dial application dials the recipient but the recipient doesn’t answer. The AMI will never go into the originateDialProcessor because

Re: [asterisk-users] Handoff dial control to dialplan after AMI Originate

2013-06-19 Thread Grant Bagdasarian
I used a combination of failed and the h extension to get the dialplan to do what I want. Thanks for the help guys! From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Satish Barot Sent: Wednesday, June 19, 2013 1:25 PM To: Asterisk Users

Re: [asterisk-users] Queue Limit Callers

2013-06-19 Thread Shanavaz E A
Thanks all for the inputs... Let me work on it and come back again with some results... From: Ioan Indreias indre...@gmail.com To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Tuesday, June 18, 2013 1:43 PM

Re: [asterisk-users] Handoff dial control to dialplan after AMI Originate

2013-06-19 Thread Muhammad Faheem
Your both channels legs are identical strings. It should be like this. Action: Originate Channel: Local/outbound1@originateDialContext CallerID: 00311234567 Context: originateDialContext2 Exten: outbound1 Priority: 1 Variable:

[asterisk-users] SIP Simple support on Asterisk 11

2013-06-19 Thread Eloi Bail
Hi all, I am trying to enable SIP SIMPLE communication in my test environment. I have the following env : - one server (192.168.50.126) with Asterisk 11 - 2 clients using pidgin : demo-bob and demo-alice on my 192.168.50.143 I successfully had a phone call between clients. I used the

Re: [asterisk-users] PCI Passthrough of T1 cards

2013-06-19 Thread James Sharp
On Jun 16, 2013, at 4:27 PM, Nick Khamis sym...@gmail.com wrote: Anyone try this? I saw a post here: http://www.elastix.org/index.php/en/component/kunena/1-installation-issues/94041-setup-of-sangoma-a101-in-my-elastix.html But not sure if it's possible. What I am asking is if there are

Re: [asterisk-users] PCI Passthrough of T1 cards

2013-06-19 Thread Nick Khamis
Hello James, Thank you so much for your response. I should have chose my words carefully. PCI pass-through in terms of virtualization of devices and it's draw back are well know. I was leaning more towards near host performance virtualization using SR-IOV. This moves emphasis back to the

Re: [asterisk-users] SIP Simple support on Asterisk 11

2013-06-19 Thread Matthew J. Roth
Eloi Bail wrote: I am trying to enable SIP SIMPLE communication in my test environment. I have the following env : - one server (192.168.50.126) with Asterisk 11 - 2 clients using pidgin : demo-bob and demo-alice on my 192.168.50.143 I successfully had a phone call between clients. I

Re: [asterisk-users] SIP Simple support on Asterisk 11

2013-06-19 Thread Anthony Messina
On Wednesday, June 19, 2013 11:11:17 AM Matthew J. Roth wrote: Eloi Bail wrote: I am trying to enable SIP SIMPLE communication in my test environment. I use the following which semi-enables message broadcasting to multiple devices so a user who receives a message can reply from any of the

Re: [asterisk-users] SIP Simple support on Asterisk 11

2013-06-19 Thread Eloi Bail
Hi, Thanks a lot for this detailed answer : - I managed to have it working disabling auth message request : auth_message_requests = no in sip.conf - pedantic=no does not resolve the issue - reenabling auth_message_requests = yes and removing pedantic option, your patch in chan_sip resolves the

[asterisk-users] Mailing a fax with mutt does not succeed

2013-06-19 Thread Daniel - Asterisk
Hello everyone, I'm trying to send a received fax with mutt, when I try it from the Linux shel it works, but when trying with Asterisk's System command it doesn't. Successful Linux command: echo | mutt -s New fax earohua...@gmail.com -a /tmp/faxes/20130619.tif Unsuccessful Asterisk Command:

Re: [asterisk-users] Mailing a fax with mutt does not succeed

2013-06-19 Thread Andre Courchesne
Probably Asterisk does not know where mutt is, specify it's path in your System command. On 2013-06-19, at 2:03 PM, Daniel - Asterisk earohua...@gmail.com wrote: Hello everyone, I'm trying to send a received fax with mutt, when I try it from the Linux shel it works, but when trying with

Re: [asterisk-users] Mailing a fax with mutt does not succeed

2013-06-19 Thread Steve Edwards
On Wed, 19 Jun 2013, Daniel - Asterisk wrote: I'm trying to send a received fax with mutt, when I try it from the Linux shel it works, but when trying with Asterisk's System command it doesn't. Successful Linux command: echo | mutt -s New fax earohua...@gmail.com -a

Re: [asterisk-users] Mailing a fax with mutt does not succeed

2013-06-19 Thread Daniel - Asterisk
Hi Andre, I've tried with: System(echo | /usr/bin/mutt -s New fax earohua...@gmail.com -a ${FAXDEST}/${tempfax}) with no success, value of SYSTEMSTATUS variable is APPERROR Again it works from Linux shell. Thanks in advance Elder On Wed, Jun 19, 2013 at 1:08 PM, Andre Courchesne

Re: [asterisk-users] Mailing a fax with mutt does not succeed

2013-06-19 Thread Andre Courchesne
Why echo | ? Alsy are you sire of the content of ${FAXDEST} and ${tempfax}. Add some NoOp before. On 2013-06-19, at 2:29 PM, Daniel - Asterisk earohua...@gmail.com wrote: Hi Andre, I've tried with: System(echo | /usr/bin/mutt -s New fax earohua...@gmail.com -a ${FAXDEST}/${tempfax})

Re: [asterisk-users] Mailing a fax with mutt does not succeed

2013-06-19 Thread Daniel - Asterisk
Hi Andre: I added echo to provide STDIN, I'm sure on variable contents, please see bellow Hello Steve, 1. I've just addd echo at my sentence, please see output bellow. 2. Asterisk is executing as root, I think Asterisk has access to read TIF files since I've used ls, chmod, cp mv from

Re: [asterisk-users] Mailing a fax with mutt does not succeed

2013-06-19 Thread jg
More things to try: (1) Is there any entry in /var/log/maillog (or equivalent log file)? If so, mutt basically works and the messages should give some clues. (2) What happens if you call mutt without any attachments? I am using mutt in exactly the same way and it works. jg Am 19.06.2013

Re: [asterisk-users] Mailing a fax with mutt does not succeed

2013-06-19 Thread Mikhail Lischuk
This worked for me: System(date | mutt -s FAX from ${CALLERID(num)} -a /var/spool/asterisk/fax/${STRFTIME(,,%Y%m%d)}-${CALLERID(num)}.tiff mail@domain) I don't see any difference with you (beside the echo instead of date), so I guess you should look at the maillog to find out what is

Re: [asterisk-users] Mailing a fax with mutt does not succeed

2013-06-19 Thread Steve Edwards
Please don't top-post. On Wed, 19 Jun 2013, Steve Edwards wrote: 1) Doesn't mutt expect the body on stdin? (Where's the 'echo' in the Asterisk command?) On Wed, 19 Jun 2013, Daniel - Asterisk wrote: 1. I've just addd echo at my sentence, please see output bellow. Not that it's related to

Re: [asterisk-users] Asterisk / PHP-AGI / pthreads

2013-06-19 Thread Satish Barot
On Mon, Jun 17, 2013 at 7:22 PM, Steve Edwards asterisk@sedwards.comwrote: On Mon, 17 Jun 2013, Thorsten Göllner wrote: does anyone have experience with Asterisk-AGI-Scripts in PHP while using pthreads in PHP? Are there any limitations or problems known? I've written 'pthread-ed' AGIs