[Asterisk-Dev] Comedian Mail's ADSI implementation broken on phones needing unlock codes?

Darren Nickerson darren.nickerson at ifax.com
Thu Jan 1 20:47:17 MST 2004


I think you may have misunderstood my email. Apologies if it was not clear.

You need to read my entire post in context.

app_adsiprog.c says:

SECURITY "_AST"                                ; Security code
FDN 0x0000000f                          ; Descriptor number

and  adsi_begin_download is called as follows:

if (adsi_begin_download(chan, scr->desc, scr->fdn, scr->sec, scr->ver)) {

which is useful and intuitive, and because scr->fdn and scr->sec are
extracted from a plaintext script which is external to the compiled
app_adsiprog binary, it allows me to customise the slot (FDN) and SECURITY
code I want to use by editing the script. I don't have a problem with this.

On the other hand, comedian mail hardcodes the following values into a
compiled app:

static char *adapp = "CoMa";
static char *adsec = "_AST";

The variable naming here counter-intuitive and inconsistent with
app_adsiprog.c. A better scheme might be:

static char *adfdn = "CoMa";
static char *adsec = "_AST";

but the above codes won't work with my ADSI handset. Not only does changing
these require a recompile of app_voicemail, but it means I can only use the
newly compiled app with a single type of handset. The inability to
configured these on a per-extension basis greatly limits the usefulness of
the ADSI implementation within Comedian Mail.

Again, I'm sorry if my original post was not sufficiently clear.


Darren Nickerson
Senior Sales & Support Engineer
iFAX Solutions, Inc. www.ifax.com
darren.nickerson at ifax.com
+1.215.438.4638 ext 8106 office
+ fax

----- Original Message ----- 
From: <asterisk at billheckel.com>
To: <asterisk-dev at lists.digium.com>
Sent: Thursday, January 01, 2004 7:16 PM
Subject: Re: [Asterisk-Dev] Comedian Mail's ADSI implementation broken on
phones needing unlock codes?

> adapp is the application identifier for what is getting downloaded, it is
NOT the security code.
> _AST is the sec portion of the FDN/SEC pair
> FDN is, as it seems, the FDN part.
> Bill
> Darren Nickerson wrote:
> > Folks,
> >
> >
> > SECURITY "_AST"                                ; Security code
> > FDN 0x0000000f                          ; Descriptor number
> >
> >
> > static char *adapp = "CoMa";
> >
> > static char *adsec = "_AST";
> >
> > You'll notice I said 'even if I could fix this' above.  I tried using
one of
> > the fdm/sec pairs I used in the ADSIProg:
> >
> > static char *adapp = "0x85EFD9DA";
> > static char *adsec = "0x78921D49";
> >
> >
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev

More information about the asterisk-dev mailing list