[asterisk-dev] Indication problem with mISDN r51979

Christian crich-ml at beronet.com
Tue Feb 20 03:24:34 MST 2007


Andreas Anderson wrote:
> Hi Guys,
>
> i'm having a problem with the change in r51979:
>
> --- branches/1.4/channels/chan_misdn.c (original)
> +++ branches/1.4/channels/chan_misdn.c Wed Jan 24 05:24:53 2007
> @@ -4268,6 +4268,10 @@
>
>             ch->state=MISDN_DISCONNECTED;
>             start_bc_tones(ch);
> +
> +            if (ch->ast) ch->ast->hangupcause=bc->cause;
> +            ast_queue_control(ch->ast, AST_CONTROL_BUSY);
> +            ch->need_busy=0;
>             break;
>         }
>
> After this change i can no longer hear the inband indication from the 
> telco ("The number you're calling is out of service"), but instead i'm 
> only getting a hangup.
>
please do the following in your dialplan, add a busy extension and do a 
wait there, something like:

exten => _X.,1,Dial(mISDN/g:out/${EXTEN})
exten => _X.,102,Noop(here we go when the caller is busy, no we can 
either play a busy back to the phone, or hear inband)
exten => _X.,103,wait(25)

Before this patch, the busy extension was *never* reached, now it is 
possible to decide what happens there, so it is intentional.


> Is this a sideeffect of the patch, or was this done intentionally? If 
> it's the latter, can i somehow reenable the inband indication? If it's 
> really a bug, can someone revert this?
>
>
> Regards,
>
> Andreas
>
> _________________________________________________________________
> Need more speed? Get Xtra Broadband @ 
> http://jetstream.xtra.co.nz/chm/0,,202853-1000,00.html
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>
>



More information about the asterisk-dev mailing list