Displaying 2 results from an estimated 2 matches for "_76".
Did you mean:
76
2006 May 16
2
Using REGEX function
...my
dialplan. However, the Asterisk parser doesn't seem to understand
what's going on. I'm trying to use REGEX to determine if a variable
matches a standard 10 digit US/Canada number. To do this, I started
with the following:<br>
<br>
exten => _76.,1,Set(isnum=${REGEX("[2-9][0-9]{2}[2-9][0-9]{6}"
${EXTEN:2})})<br>
exten => _76.,2,GotoIf($["${isnum}" = "1"] ? 3:5)<br>
[...]<br>
<br>
Where the regular expression says: match digit 2-9, then digit 0-9
twice, then digit 2-9, then...
2005 Mar 03
2
FWD and SIPPHONE problems after upgrading to CVS HEAD
...above has been variously named sipphone, sipphone-out
and now proxy01.sipphone.com, all with the same exact
result! Also, the above has been tried with auth=md5
uncommented as well, and also no password, and
insecure=vary, etc.)
Now extensions.conf:
; Dial SIPPhone with a prefix of 76
exten => _76.,1,SetCallerID(${SIPPHONENUM})
exten => _76.,2,SetCIDName("Hadar Pedhazur")
exten => _76.,3,Dial(SIP/${EXTEN:2}@proxy01.sipphone.com)
OK, here's the output from a call:
-- Called 411@proxy01.sipphone.com
-- Got SIP response 500 "I'm terribly sorry, server erro...