I am just setting up SAIL for the first time on a freshly installed SME Server 7.3 which is a vanilla install except for the firewall-services version of OpenVPN.
FYI, I am a relative newbie with SAIL and Asterisk (having tried Trixbox etc) and think SAIL looks the most promising. Congrats!
I am having a problem getting DISA to dial out.
I can successfully authenticate for DISA via a password, and then get a dial tone as I would expect.
However, when I then dial a 10 digit number (I am on the US), the call is not made.
The 10 digit (nationwide) dial out works OK when dialed directly from a hard/soft phone extension.
I suspect the problem is to do with the call not falling through from the internal context.
I have one cluster on the machine (JInc), as I was experimenting to see what it did to extensions.conf.
The console log is as follows:
[root@pbx2 ~]# asterisk -vvvr
Asterisk 1.4.18.1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for detail s.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
== Parsing '/etc/asterisk/asterisk.conf': Found
== Parsing '/etc/asterisk/extconfig.conf': Found
Connected to Asterisk 1.4.18.1 currently running on pbx2 (pid = 5658)
Verbosity is at least 3
-- Executing [206357XXXX@mainmenu:1] AGI("SIP/206357XXXX-b7e98f98", "selintra|Inbound|206357XXXX") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/selintra
-- AGI Script Executing Application: (Ringing) Options: ((null))
-- AGI Script Executing Application: (Wait) Options: (5)
-- AGI Script Executing Application: (Background) Options: (silence/1)
-- <SIP/206357XXXX-b7e98f98> Playing 'silence/1' (language 'en')
-- AGI Script Executing Application: (Wait) Options: (1)
-- Playing 'usergreeting0000' (escape_digits=XXXXXXXX) (sample_offset 0) ; Edited out to preserve my wallet!!!
-- AGI Script Executing Application: (Background) Options: (silence/1)
-- <SIP/206357XXXX-b7e98f98> Playing 'silence/1' (language 'en')
-- AGI Script Executing Application: (Authenticate) Options: (XXXXXX) ;ditto
-- <SIP/206357XXXX-b7e98f98> Playing 'agent-pass' (language 'en')
-- <SIP/206357XXXX-b7e98f98> Playing 'auth-thankyou' (language 'en')
-- AGI Script Executing Application: (DISA) Options: (no-password|internal)
-- AGI Script selintra completed, returning 0
-- Executing [h@mainmenu:1] Hangup("SIP/206357XXXX-b7e98f98", "") in new stack
== Spawn extension (mainmenu, h, 1) exited non-zero on 'SIP/206357XXXX-b7e98f98'
-- Executing [h@mainmenu:1] Hangup("SIP/206357XXXX-b7e98f98", "") in new stack
== Spawn extension (mainmenu, h, 1) exited non-zero on 'SIP/206357XXXX-b7e98f98'
The top section of my extensions.conf is as follows:
;extensions.conf
[general]
static=yes ; These two lines prevent the command-line interface
writeprotect=yes ; from overwriting the config file. Leave them here.
[globals]
FAX=5001
SYSOP=5001
DYNAMIC_FEATURES=>automon
;
; Customer supplied Globals & Header data
;
TESTGLOBAL=15
;
; End of Customer supplied Globals & Header data
;
[internal]
include => internal-presets
include => extensions
include => conferences
include => utilities
exten => _X.,1,agi(selintra,OutCluster,${EXTEN})
[JInc]
include => internal-presets
include => extensions
include => conferences
exten => _01133.,1,agi(selintra,OutRoute,France)
exten => _01149.,1,agi(selintra,OutRoute,Germany)
exten => _01135.,1,agi(selintra,OutRoute,Ireland)
exten => _1NXXNXXXXXX,1,agi(selintra,OutRoute,Nationwide)
exten => _01134.,1,agi(selintra,OutRoute,Spain)
exten => _01146.,1,agi(selintra,OutRoute,Sweden)
exten => _01144.,1,agi(selintra,OutRoute,UK)
exten => t,1,Hangup
exten => h,1,Hangup
exten => i,1,Playtones(congestion)
[JInc-callback]
exten => _X.,1,DISA(no-password|JInc)
[default]
include => internal-presets
include => extensions
include => conferences
include => utilities
exten => t,1,Hangup
exten => h,1,Hangup
exten => i,1,Playtones(congestion)
[default-callback]
exten => _X.,1,DISA(no-password|default)
;
[extensions]
...
Thanks in advance for your help.
Oliver