[Asterisk-Users] Programming an unlocked ADSI phone?
Tilghman Lesher
tilghman at mail.jeffandtilghman.com
Thu Jan 1 10:38:37 MST 2004
On Wednesday 31 December 2003 17:51, Darren Nickerson wrote:
> Thanks 'gcc', that's exactly where I'm at now, with the exception of
> the helpful comments on how to clear the services - thanks for those.
> I already have those codes, and have used them to download (the
> somewhat disappointing) 'asterisk.adsi' sample into both slots.
>
> The problem now is that Comedian Mail is trying to do fancy ADSI
> stuff (because it can now), and a good deal of it fails because as
> opposed to the app_adsiprog module which grabs lock code and FDN from
> the adsi script itself, app_voicemail doesn't seem to allow me to set
> those codes. It tries to do an FDM download at the beginning but
> fails, since it seems to have a harcoded security code and fdn as
> follows:
>
> static char *adapp = "CoMa";
>
> static char *adsec = "_AST";
>
> I tried changing these to
>
> static char *adapp = "0x85EFD9DA";
>
> static char *adsec = "0x78921D49";
>
> (the values suggested for the second slot) and recompiled
> app_voicemail, but this still does not seem to be able to download to
> the phone when I dial voicemail.
>
> I'm not a skilled C programmer (those folks are sane enough to have
> left work to celebrate already), so there may be other magic I'm
> missing ... but in summary it seems like app_voicemail doesn't have
> any intelligence built into it to allow it to unlock phones as
> required, even if the lock codes are available.
static char *adapp = "\x85\xEF\xD9\xDA";
static char *adsec = "\x78\x92\x1D\x49";
-Tilghman
More information about the asterisk-users
mailing list