Koozali.org: home of the SME Server

Sail version 2.2.4-13 uses Dahdi instead of Zaptel in "Call Groups"

Offline PWDasterisk

  • ***
  • 56
  • +0/-0
Sail 2.2.4-13
Asterisk 1.4.22.2
Zaptel 1.4.12.1
(TDM400P card)

Sail 2.2.4<=>Asterisk<=>Zaptel works for FXO/FXS hardware but the AGI function "Call Groups" uses DAHDI... the backport from 2.3 must have overlooked this.

    -- AGI Script Executing Application: (Dial) Options: (SIP/1011&IAX2/1012&Dahdi/4&SIP/1200||)
[Sep  9 14:22:56] WARNING[17494]: app_dial.c:1242 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Unknown)
[Sep  9 14:22:56] WARNING[17494]: app_dial.c:1242 dial_exec_full: Unable to create channel of type 'IAX2' (cause 20 - Unknown)
[Sep  9 14:22:56] WARNING[17494]: channel.c:3051 ast_request: No channel type registered for 'Dahdi'
[Sep  9 14:22:56] WARNING[17494]: app_dial.c:1242 dial_exec_full: Unable to create channel of type 'Dahdi' (cause 66 - Channel not implemented)
    -- Called 1200
     -- SIP/1200-088a87c8 is ringing
 
if at first you don't succeed then keep on reading until you do succeed...

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Sail version 2.2.4-13 uses Dahdi instead of Zaptel in "Call Groups"
« Reply #1 on: September 09, 2009, 10:19:49 PM »
Thanks for this...

Although the fault looks like it's in the AGI, its actually in the code generator.

Here is a very quick patch for you to try....

in the module

/etc/e-smith/templates/etc/asterisk/extensions.conf/90-presets

at line 105 you will find...

Code: [Select]
$technology = 'Dahdi';
replace it with

Code: [Select]
$technology = 'Zap';
Now save your change and issue a commit from Globals panel.

Let me know if this fixes your problem

Kind regards

S





Offline PWDasterisk

  • ***
  • 56
  • +0/-0
Re: Sail version 2.2.4-13 uses Dahdi instead of Zaptel in "Call Groups"
« Reply #2 on: September 10, 2009, 12:20:49 AM »
Yes that worked - it was the code generator...

grep -iR "dahdi" /etc/e-smith/templates/etc/  ;showed no other incorrect instances

Thanks ...Phil
« Last Edit: September 10, 2009, 12:25:45 AM by PWDasterisk »
if at first you don't succeed then keep on reading until you do succeed...

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Sail version 2.2.4-13 uses Dahdi instead of Zaptel in "Call Groups"
« Reply #3 on: September 10, 2009, 09:18:54 AM »
Thanks Phil,

I'll commit the patch to SVN...  It will be in -14.

Best

S