Koozali.org: home of the SME Server

DISA dial out problem with -594 [RESOLVED]

Offline olivers

  • *
  • 10
  • +0/-0
DISA dial out problem with -594 [RESOLVED]
« on: April 04, 2008, 05:29:17 PM »
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:

Code: [Select]
[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:
Code: [Select]
;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

« Last Edit: April 05, 2008, 03:35:41 AM by olivers »

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: DISA dial out problem with -594
« Reply #1 on: April 04, 2008, 10:45:57 PM »
Hello Oliver,

There was a bug in our DISA handling that was fixed in -598 (released with 603).  Looking at your console output I think that is what you you are hitting, - but you don't say which release of sail you have.

If you are pre -598 then I would suggest you install 598 or later (606 is pretty solid and it's available now).

Kind Regards

S



Offline olivers

  • *
  • 10
  • +0/-0
Re: DISA dial out problem with -594 [RESOLVED]
« Reply #2 on: April 05, 2008, 03:46:52 AM »
Thanks!  Upgrading to -606 fixed it.