Note that in the case of specifying the numeric-passcode, the context must be specified if the callerid is specified also.
If login is successful, the application parses the dialed number in the specified (or default) context, and returns 0 with the new extension context filled-in and the priority set to 1, so that the PBX may re-apply the routing tables to it and complete the call normally. Taken from apps/app_disa.c in the Asterisk source. Regards, Shaun ----- Original Message ----- From: "Roy Sigurd Karlsbakk" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, June 15, 2003 1:21 AM Subject: [Asterisk-Users] show application DISA > hi all > > the help output for DISA ends like below, with the half-sentence 'Note that in > the case' > > what's the rest of that sentence? > > > The file that contains the passcodes (if used) allows specification > of either just a passcode (defaulting to the "disa" context, or > passcode|context on each line of the file. The file may contain blank > lines, or comments starting with "#" or ";". In addition, the > above arguments may have |new-callerid-string appended to them, to > specify a new (different) callerid to be used for this call, for > example: numeric-passcode|context|"My Phone" <(234) 123-4567> or > full-pathname-of-passcode-file|"My Phone" <(234) 123-4567>. Note that > in the case > asterisk1*CLI> > > -- > Roy Sigurd Karlsbakk, Datavaktmester > ProntoTV AS - http://www.pronto.tv/ > Tel: +47 9801 3356 > > Computers are like air conditioners. > They stop working when you open Windows. > > > _______________________________________________ > Asterisk-Users mailing list > [EMAIL PROTECTED] > http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
