[Asterisk-bsd] missing destination extension in chan_capi, incoming calls fail
Michael Iedema
michael at askozia.com
Mon Mar 17 03:56:13 CDT 2008
On 3/16/08, Hans Petter Selasky <hselasky at c2i.net> 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
More information about the Asterisk-BSD
mailing list