[asterisk-users] Problem with GotoIf in dialplan

2006-07-10 Thread Eric Lyons
Hmm. GotoIf seems to be doing something, uh, wrong in my dialplan: Despite getting a TRUE value in the conditional (as shown in the debug below), it doesn't take the jump! The following is part of the macro being executed in the dialplan, starting at priority 16: exten =

[Asterisk-Users] SPA-1001 behind NAT - Internet Asterisk box -- BOUNTY!

2006-05-17 Thread Eric Lyons
I'm still unable to get my SPA-1001 to work behind NAT with an Asterisk box out on the Internet. It works fine to my local [EMAIL PROTECTED] box. I've tried... many things. I'm willing to pay a $250 bounty (PayPal preferred) to anyone who can help me get it working. Any Sipura experts out

[Asterisk-Users] SPA-1001 behind NAT -- mucho hair pulling

2006-05-01 Thread Eric Lyons
I've got a Sipura SPA-1001 that I'm trying to get working with an Asterisk server that's on the public Internet, while the SPA-1001 is behind NAT. I did the first obvious thing and mapped ports 5060 and 1 - 3 to the local IP address of the SPA-1001. Tried numerous proxy settings, have

[Asterisk-Users] Set(CDR(anything_but_userfield_or_accountcode)=bla) broken?

2006-04-06 Thread Eric Lyons
I'm unable to set any cdr fields except userfield and accountcode using Set(CDR(lastapp)=foo) [for example]. This is 1.2.4. I'm using the cdr_addon_mysql plugin, which handles userfield, accountcode, and uniqueid fine. Is this broken in Asterisk, or the addon? The addon code looks like it's

[Asterisk-Users] Fast AGI performance question

2006-02-03 Thread Eric Lyons
I'm building a fast AGI application (server written in Perl using Net::Server), and have a sort of design performance question. Is fast AGI keeping the equivalent of a Manager API session open until it returns? Are there still deadlocking issues there (in 1.2)? My assumption is that the fast

[Asterisk-Users] TE405p -- loopback for the phone company?

2006-01-10 Thread Eric Lyons
Feeling once again like an idiot, I come to the list for help... While my carrier (MCI vi PRI, fwiw) was trying to diagnose a problem, they asked me to put my interface in loopback -- and I couldn't figure out what they meant or how to do it. I've plugged a loopback *connector* into my 405p

[Asterisk-Users] Very basic switching application -- bounty?

2005-11-07 Thread Eric Lyons
Eric Lyons wrote: The basic function is to take an incoming DNIS/exten on one port, look it up in the db, then dial out to another number on another port. This is just basic dialplan work... why you would need a custom application?Hi, Kevin. Yes, it *is* the most basic of dialplan

[Asterisk-Users] Re: RealTime extensions - why so many SELECTs per call?

2005-11-03 Thread Eric Lyons
Hmm, yes, lots of comments about this problem. Doesn't seem like there's a near-term solution, which makes realtime extensions (at least) rather unscalable. I think I'll hack at app_addon_mysql.c and make my extensions.conf like: [incoming] exten=_.,1,LookupStuff(${EXTEN})

[Asterisk-Users] RealTime extensions - why so many SELECTs per call?

2005-11-02 Thread Eric Lyons
Just got realtime working in 1.2.0-beta2 and I'm wondering why there are so many sql selects for a call. My extensions.conf: [test-realtime] switch = RealTime/[EMAIL PROTECTED] The extensions table in the db contains one record: mysql select * from extensions;

[Asterisk-Users] Very basic switching application -- bounty?

2005-11-02 Thread Eric Lyons
I'm looking for a very basic but high-performance zap-zap switching application that uses MySQL. This would preferably be an asterisk application module written in C, not an AGI. The basic function is to take an incoming DNIS/exten on one port, look it up in the db, then dial out to another

[Asterisk-Users] ASTCC -- semantic note of 'callstart' in cdrs?

2005-10-07 Thread Eric Lyons
Looking at the code, it would appear that the 'callstart' column of the cdrs table should really be called 'callend': $dialstr = IAX2/$res-{path}/$phone|30|HL( . ($maxtime * 60 * 1000) . :6:3); $res = $AGI-exec(DIAL $dialstr); $answeredtime

[Asterisk-Users] AT-320 IAX MWI?

2005-08-26 Thread Eric Lyons
Anyone out there using AT-320 phones with IAX? Can you get MWI to work? I can only get it to work with SIP. Also, I note that (on the phone) dtmf has to be set to sip info or dtmf doesn't seem to work at all (when the phone's under SIP). Sounds like the IAX firmware isn't all that