Koozali.org: home of the SME Server

Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: PWDasterisk on September 09, 2009, 08:58:41 PM

Title: Sail version 2.2.4-13 uses Dahdi instead of Zaptel in "Call Groups"
Post by: PWDasterisk on September 09, 2009, 08:58:41 PM
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
 
Title: Re: Sail version 2.2.4-13 uses Dahdi instead of Zaptel in "Call Groups"
Post by: SARK devs 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




Title: Re: Sail version 2.2.4-13 uses Dahdi instead of Zaptel in "Call Groups"
Post by: PWDasterisk 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
Title: Re: Sail version 2.2.4-13 uses Dahdi instead of Zaptel in "Call Groups"
Post by: SARK devs on September 10, 2009, 09:18:54 AM
Thanks Phil,

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

Best

S