[Asterisk-Users] Cisco 7960 - how to enable "messages" key

Siggi Langauf langausd at swt.uni-stuttgart.de
Tue Feb 17 08:58:37 MST 2004


On Wed, 11 Feb 2004, Brian Pollack wrote:

> Paul,  this might be a hack but the -3 takes the extension number from the
> caller id name that I have set in the sip.conf file.  I'm using this info
> for other logic.   In this case "callerid=Brian GRC Development 300
> <xxxxxxxxxx>"  in the sip.conf in the [brian] section passes the caller id
> name to 8500 which takes on the extension part to log right into voicemail
> from the persons phone.    I use other parts of that callerid in other
> places.

Why not just use the phone's numerioc caller ID, as in:

exten = 8500/X.,1,VoiceMailMain(s${CALLERIDNUM})
exten = 8500/,1,VoiceMailMain

This assumes that your numeric caller ID (The part in angle brackets:
"<...>") is the same that you use as VoiceMail user ID, which isn't that
odd ;-)

The second line serves as a fallback for anonymous calls to voicemail (eg.
from external callers). In that case, you'd want app_voicemail to ask for
mailbox and password...

Cheers,
	Siggi





More information about the asterisk-users mailing list