[asterisk-dev] Channel Driver getting which mailbox was activated
Paulo Garcia
paulo.astdev at gmail.com
Fri Aug 11 07:25:51 MST 2006
Hello,
Thanks for you answer. You're right.
Let me explain what I think about it:
My channel handles E1 signalling (not unicall) and I desired to know if
there is a mailbox because at the end of R2DMFC signalling I want to send
back B-1 (free calling) in case of there is a mailbox or B-3 (Busy) if there
isn't one.
Based on your answer, I think the correct thing to do is to always send B-1
and then let Asterisk handle the rest....
Regard
Paulo
On 8/10/06, BJ Weschke <bweschke at gmail.com> wrote:
>
> On 8/10/06, Paulo Garcia <paulo.astdev at gmail.com> wrote:
> > Hello,
> >
> > I'm developing a channel driver for Asterisk (1.2.x) and I have the
> > following extension for tests:
> >
> > exten => _45XXXX,1,Dial(SIP/${EXTEN:2},60,tT)
> > exten => _45XXXX,n,VoiceMail(u${EXTEN:2})
> > exten => _45XXXX,n,Hangup
> >
> > When the SIP extension is busy, the VoiceMail application is activated
> but I
> > need to know within my channel driver which specific mailbox name was
> > called. Is it possible?
> >
> > Thanks in advance!
> >
>
> For what? MWI? No. You need to set this in the channel config like
> sip.conf does and then go and try to establish whether or not you
> should signal an MWI. A channel driver is at far too low a layer
> within the core to understand what application it's presently serving,
> let alone, what arguments were given to that application.
>
> --
> Bird's The Word Technologies, Inc.
> http://www.btwtech.com/
> _______________________________________________
> --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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20060811/5b1ffeab/attachment.htm
More information about the asterisk-dev
mailing list