[asterisk-dev] Channel Driver getting which mailbox was activated
BJ Weschke
bweschke at gmail.com
Thu Aug 10 16:55:44 MST 2006
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/
More information about the asterisk-dev
mailing list