[Asterisk-Users] aastra pt480 and adsi

Jayson Vantuyl kagato at souja.net
Tue Jun 10 10:53:12 MST 2003


On Fri, May 30, 2003 at 02:59:45PM +0000, Joe Antkowiak wrote:
> how do I specify a different one for the voicemail script?
> 
> This is what the top of my asterisk.adsi looks like:
> 
> DESCRIPTION "Asterisk PBX"  ; Name of vendor
> VERSION 0x00    ; Version of stuff
> FDN 0x85efd9da
> SECURITY 0x78921d49
> 
> And asterisk is currently occupying the SL slot, I don't have the
> option to specify which slot I want it to be loaded into...
Luckily you won't need the SL slot for voicemail (it gets brought up
when the VM system opens an ADSI session to it).

You'll need to hack app_voicemail.c (or app_voicemail2.c) in apps/.

Look for variables adapp and adsec.  You'll want to change the value.
For example, say you needed the security code set to hex 0xDEADBEEF on
the first slot.  You'll find the lines:

static char *adapp = "CoMa":

static char *adsec = "_AST";

Change them to:

static char *adapp = "\x00\x00\x00\x0f":

static char *adsec ="\xDE\xAD\xBE\xEF";

Then make clean; make; make install; restart gracefully *.

Hope this helps.

Jayson



More information about the asterisk-users mailing list