[asterisk-users] Can't get Lua Pattern Matching to work

2012-10-23 Thread Cody Harris
) internalDialOut(1..e) end; i = function() app.playback(invalid) app.hangup() end; }; }; And that didn't work either. Any tips or tricks? My users.conf looks like: [503] fullname = Cody Harris email = qbasi

Re: [asterisk-users] Can't get Lua Pattern Matching to work

2012-10-23 Thread Cody Harris
Sorry for the reply so quick, I should mention I'm running on 10.9.0 On Tue, Oct 23, 2012 at 3:15 PM, Cody Harris qbasi...@gmail.com wrote: l can't see to get the Lua extension matching to work: [Oct 23 19:13:12] NOTICE[4288]: chan_sip.c:23577 handle_request_invite: Call from 'user

Re: [asterisk-users] Can't get Lua Pattern Matching to work

2012-10-23 Thread Cody Harris
Ah great, thanks guys for the help! I have it working now! On Tue, Oct 23, 2012 at 3:37 PM, Christopher Harrington ch...@acsdi.comwrote: On Tue, Oct 23, 2012 at 2:34 PM, Danny Nicholas da...@debsinc.com wrote: Nope – see page 138 of the Asterisk manual – N matches 2-9 and X matches 0-9 so

Re: [asterisk-users] Detecting Fax Tones over IAX2

2012-05-24 Thread Cody Harris
I'm running on 1.8 as of now On May 24, 2012 11:00 AM, Kevin P. Fleming kpflem...@digium.com wrote: On 05/24/2012 09:44 AM, Tim Nelson wrote: BUT, even if fax is detected on an IAX2 channel, the only reason would be to change dialplan logic accordingly correct? There is no T.38 equivalent

Re: [asterisk-users] Detecting Fax Tones over IAX2

2012-05-24 Thread Cody Harris
Sorry I hit send by mistake (touchscreens, sigh) I've had good success with faxing over voip, I'm not expecting it to be perfect, and my provider (voip.Ms) is planning on t.38, but I'm looking for an interm solution. Audio faxing has worked every attempt both sending receiving (5 and 5). Should

Re: [asterisk-users] Detecting Fax Tones over IAX2

2012-05-24 Thread Cody Harris
I had considered this, however, I was trying not to buy another DID. It may end up being the best solution. On May 24, 2012 12:26 PM, A J Stiles asterisk_l...@earthshod.co.uk wrote: On Thursday 24 May 2012, Cody Harris wrote: I'm trying to implement a fax/voice switch. I have faxdetect=both

[asterisk-users] Detecting Fax Tones over IAX2

2012-05-23 Thread Cody Harris
Hello All, I use IAX2 as the incoming connection from my DID provider. For whatever reason, this works best for me, SIP connections lag very frequently and only have about a 50% success rate for incoming calls (they get dropped mysteriously). I'm trying to implement a fax/voice switch. I have

[asterisk-users] Properly Escaping Quotes and Commas

2011-12-22 Thread Cody Harris
Hello all, I have a setup where Asterisk sends a message to a few jabber users on each incoming call, like: exten = s,n,Macro(sendim,Incoming call from ${CALLERID(all)}) The macro looks like this: [macro-sendimuser2] exten = s,n,JabberSend(asterisk,us...@gmail.com,${ARG1}) exten =

Re: [asterisk-users] Properly Escaping Quotes and Commas

2011-12-22 Thread Cody Harris
...@lists.digium.com] *On Behalf Of *Cody Harris *Sent:* Thursday, December 22, 2011 10:35 AM *To:* asterisk-users@lists.digium.com *Subject:* [asterisk-users] Properly Escaping Quotes and Commas ** ** Hello all, I have a setup where Asterisk sends a message to a few jabber users on each

Re: [asterisk-users] Properly Escaping Quotes and Commas

2011-12-22 Thread Cody Harris
Actually, this seemed to work as I would like: exten = s,n,Set(IMCID='${CALLERID(name)}' ${CALLERID(num)}) No need to mess with quotes that way. On Thu, Dec 22, 2011 at 2:02 PM, Cody Harris qbasi...@gmail.com wrote: I just tried to use replace, but I'm not sure I got the syntax right: exten