On 3/16/08, Hans Petter Selasky <[EMAIL PROTECTED]> wrote:
> Hi Michael,
>
> With regard to chan_capi there is an "immediate" option which will make an
> "s"
> out of empty destination numbers. That might be your problem, to make the
> dialplan match against an empty number:
>
> if (cd->cep) {
>
> start_immediate = (cd->options.immediate && (cd->dst_telno[0] ==
> 0));
>
> if (cd->flags.sending_complete_received || start_immediate) {
>
> /* number is complete, try to start the PBX */
>
> cd_start_pbx(pp_cd, start_immediate ? "s" :
> &(cd->dst_telno[0]));
> cd = *pp_cd;
> }
>
Thanks for the tip!
I've added immediate=yes to the generated configs and am now
generating an 's' extension for the provider's incoming extension.
I'll post back again once some users can test these changes.
Regards,
-Michael
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
Asterisk-BSD mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-bsd