[Asterisk-Users] Context for Incomingmsn

Henning Vogt vogth at web.de
Mon Jun 28 13:26:51 MST 2004


Hi List!

I use Asterisk as a pure voicemailbox at a customers place.  Right now,
a telephone uses up two msns, one for the telephone itself, and one for
the telephones mailbox.  If the user is absent, a telephonecall is
redirected to the voicemail msn of that users telephone.
The Problem is: The PBX supports a too small number of msns, so I can't
give every user a voicemailbox.

Mailboxes are assigned after different contexts (in capi.conf the "msn"
option).  It would be extremely cool, to create new contexts after
"incomingmsn", I would only use up 1 msn for all voicemailboxes, and
call the context according to the telephone of the user, that was called
in his/her absence.

Now, that does not work though.  The incomingmsn apparently doesn't
create a new context. Or does it? Is there a way to do that?

Here a diagram of what I want to do:

msn 12: the telephone of the user
msn 50: the isdn-card of asterisk



External call ---> 12 ---> <user present> --> phone rings
                    |
						  |
						  v
				 <user absent>
				        |
						  |
						  v
					redirection to 50, incomingmsn=12
					     |
						  |
						  v
					voicemailbox of 12 is called


Thanks in advance, 

Henning




-- 
"There is no normal life [...] there is just life [...]"  Kevin Jarre,
Tombstone

      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,4-  ) )-,_. ,\ (  `'-'
     '---''(_/--'  `-'\_) 




More information about the asterisk-users mailing list