[asterisk-users] Is this a bug?

2010-03-03 Thread Danny Nicholas
Hi List, I'm working on making one of my applications multi-lingual and find that I have this problem. The SayDigits and SayNumber functions in 1.4.26.2 recognize but don't process the CHANNEL(language) function. Here's a snippet to verify. exten => 317,1,Answer exten => 317,n,playba

[Asterisk-Users] Is this a BUG?? Please I need help in this

2005-03-18 Thread Jose R. Ortiz Ubarri
Here is a backtrace of a Segmentation Fault I am getting when running Asterisk in FC 3 with the realtime module. (gdb) backtrace #0 0x007642b8 in strcasecmp () from /lib/tls/libc.so.6 #1 0xf6eb58c0 in build_peer (name=0x0, v=0x95fa370, realtime=0) at chan_sip.c:9255 #2 0xf6eb67b0 in find_pee

Re: [Asterisk-Users] Is this a bug or by design? Workaround?

2005-02-18 Thread Olle E. Johansson
Stig Andersson wrote: So, I try - SetVar(cid=${CALLERIDNUM:-5:5}) The result is a empty string if CALLERIDNUM is less than 5 digits long, which is NOT the case of SubString. SubString command returns what remains of the variable, that is - if CALLERIDNUM is 4 digits in length, it returns

[Asterisk-Users] Is this a bug or by design? Workaround?

2005-02-18 Thread Stig Andersson
Hi, I need to use the trailing 5 digits of a callerid. callerid may be anything from a length of 4 to 10 digits in this case. Using this: --- SubString,cid=${CALLERIDNUM}|-5|5 Works great, BUT shows this message: "The use of Substring application is deprecated. Please use ${variable:a