provisioner / Provisioner

The is the central location for the Provisioner Module for VoIP/PBX Servers. Most of the new work is happening inside the v5-dev branch
Other
120 stars 156 forks source link

Audiocodes MP124 provisioning with FreePBX 13 #208

Open MarcFlorian opened 8 years ago

MarcFlorian commented 8 years ago

The ini file is not populated corectly with the standard template from audiocodes Mp124 The issuse is on

[ TrunkGroup ] FORMAT TrunkGroup_Index = TrunkGroup_TrunkGroupNum, TrunkGroup_FirstTrunkId, TrunkGroup_FirstBChannel, TrunkGroup_LastBChannel, TrunkGroup_FirstPhoneNumber, TrunkGroup_ProfileId, TrunkGroup_LastTrunkId, TrunkGroup_Module; {line_loop}TrunkGroup {$line} = 0, 255, {$tgLastBChannel}, {$tgLastBChannel}, {$authname.line.{$line}}, 0, 255, 255; {/line_loop} [ \TrunkGroup ] ; ; * TABLE EnableCallerId * ;
;

[ EnableCallerId ] FORMAT EnableCallerId_Index = EnableCallerId_IsEnabled; {line_loop}EnableCallerId {$line} = 1; {/line_loop} [ \EnableCallerId ]

; ; * TABLE Authentication * ;
;

[ Authentication ] FORMAT Authentication_Index = Authentication_UserId, Authentication_UserPassword; {line_loop}Authentication {$line} = {$authname.line.{$line}}, {$secret.line.{$line}}; {/line_loop} [ \Authentication ]

; ; * TABLE CallWaitingPerPort * ;
;

[ CallWaitingPerPort ] FORMAT CallWaitingPerPort_Index = CallWaitingPerPort_IsEnabled; {line_loop}CallWaitingPerPort {$line} = 1; {/line_loop} [ \CallWaitingPerPort ]

In attach is the ini file generated with the provisioning and the ini file saved from working ac

ini_generated_by_prov.txt ini_saved_from_working_ac.txt

MarcFlorian commented 8 years ago

i changed the line {line_loop}TrunkGroup {$line} = 0, 255, {$tgLastBChannel}, {$tgLastBChannel}, {$authname.line.{$line}}, 0, 255, 255;

to

{line_loop}TrunkGroup {$line} = 0, 255, {$line}, {$line}, {$authname.line.{$line}}, 0, 255, 255;

and ini generated is still not working

ini_generated_by_prov2.txt

How can i change the "TrunkGroup_Index, EnableCallerId_Index, Authentication_Index, CallWaitingPerPort_Index" to start from 0 instead of 1 ?