Koozali.org: home of the SME Server
Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: rrkelly on February 21, 2008, 12:02:31 PM
-
trying to get familiar with setting up seleintra on SME 7.3 coming from FreePBX (insert flavor of the week) i have some knowledge of asterisk configuration
can not get it to dial out --can dial between extensions fine
it is like it does not see out bound route -trunk shows fine under sip show peers
Name/username Host Dyn Nat ACL Port Status
outboundsip/rrkelly 64.2.142.22 5060 OK (43 ms)
5003/sip 192.168.10.249 D 5061 OK (17 ms)
5002/SIP 192.168.10.249 D 5061 OK (15 ms)
5001/sip 192.168.10.248 D 5061 OK (13 ms)
5000/sip 192.168.10.248 D 5060 OK (11 ms)
********************************************************************
this is from the asterisk CLI when i try to call out
-- Executing [1507933419@internal:1] AGI("SIP/5000-b7e06990", "selintra|OutCluster|1507933419") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/selintra
-- AGI Script selintra completed, returning 0
-- Sent into invalid extension '1507933419' in context 'default' on SIP/5000-b7e06990
-- Executing [i@default:1] PlayTones("SIP/5000-b7e06990", "congestion") in new stack
== Auto fallthrough, channel 'SIP/5000-b7e06990' status is 'UNKNOWN'
-- Executing [h@default:1] Hangup("SIP/5000-b7e06990", "") in new stack
== Spawn extension (default, h, 1) exited non-zero on 'SIP/5000-b7e06990'
****************************************************************************
this is the only trace of a route i could find it is from the extendtions.conf
default]
include => internal-presets
include => extensions
include => conferences
include => utilities
exten => 1NXXNXXXXXX,1,agi(selintra,OutRoute,outsip)
exten => NXXNXXXXXX,1,agi(selintra,OutRoute,outsip)
exten => X.,1,agi(selintra,OutRoute,outsip)
exten => t,1,Hangup
exten => h,1,Hangup
exten => i,1,Playtones(congestion)
any ideas would be welcome
rob
-
HI There
Hope you are well. Let's see if we can get you going....
You don't show details of your route entry "outsip" (in the panel ROUTES), but it will look much like this...
1NXXNXXXXXX NXXNXXXXXX X.
.
The reason it isn't working is that you've specified them as numbers rather than patterns. Try recoding them like this...
_1NXXNXXXXXX _NXXNXXXXXX _X.
.
We're guessing the X. is there for testing purposes and you'll take that out before going to production.
Kind Regards
S
-
thanks that was it -- point of clarification is it one continuous string or are spaces allowed
the example shows a continuous string
_1NXXNXXXXXX_NXXNXXXXXX_X.
your example had spaces
_1NXXNXXXXXX _NXXNXXXXXX _X.
-
Separate with whitespace (as many spaces as you like)....
_1NXXNXXXXXX _NXXNXXXXXX _X.
Kind Regards
S