Generating an outbound route 9|411 with pinsets enabled causes retrieve_conf to fail, and no longer generate extensions_addtional.conf.
Outbound route 9|411 fails, 9|411. is okay.
Traced problem to splice function in extensions.class.php (line 102), called from pinsets/functions.inc.php line 93.
Notice that outrt-004-Info is incomplete. Splice function seems to be not filling in the remainder of the array. For comparision outrt-003-Toll is correct.
(produced by enabling echo and print_r around line 144 of extensions.class.php.
Splicing [outrt-003-Toll] _91NXXNXXXXXX
Array
(
[0] => Array
(
[basetag] => 1
[tag] =>
[addpri] =>
[cmd] => ext_macro Object
(
[macro] => pinsets
[args] => 1|0
)
)
[1] => Array
(
[basetag] => n
[tag] =>
[addpri] =>
[cmd] => ext_macro Object
(
[macro] => dialout-trunk,1,${EXTEN:1},
[args] =>
)
)
[2] => Array
(
[basetag] => n
[tag] =>
[addpri] =>
[cmd] => ext_macro Object
(
[macro] => outisbusy
[args] =>
)
)
)
Splicing [outrt-004-Info] _9411
Array
(
[0] => Array
(
[basetag] => 1
[tag] =>
[addpri] =>
[cmd] => ext_macro Object
(
[macro] => pinsets
[args] => 1|0
)
)
[1] => Array
(
[basetag] => n
)