Skip to Content.
Sympa Menu

isn-discuss - Asterisk Cookbook Correction

Subject: Discussion List for Freenum/ITAD Subscriber Number (ISN) Project

List archive

Asterisk Cookbook Correction


Chronological Thread 
  • From: Michael Greb <>
  • To:
  • Subject: Asterisk Cookbook Correction
  • Date: Thu, 21 Feb 2008 09:40:08 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

These lines in the isn2 context:
exten =>
_X.,1,Set(${CALLERID(num)=${CALLERID(num)}@bigu.edu)
exten => _X.,2,GotoIf($["${CALLERID(name)}"=""]?3:4)
exten => _X.,3,Set(${CALLERID(name)="Big University"})

Should instead be:
exten =>
_X.,1,Set(CALLERID(num)=${CALLERID(num)}@bigu.edu)
exten => _X.,2,GotoIf($["${CALLERID(name)}"=""]?3:4)
exten => _X.,3,Set(CALLERID(name)="Big University")

Calls would make it through but the CallerID information would be incorrect.

One other change I made is appending the organization name to the CallerID name when it is already set. So instead of "Mike Greb" a called party receives "Linode - Mike Greb". In our deployment business related calls are more likely than personal but if personal calls were more likely "Mike Greb, Linode" may be more appropriate. This ensures that if the CallerID name string is too long for display, the least important part of the information is most likely to be removed.

- --
Michael Greb
Linode.com
609-593-7103 ext 1205



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFHvY1I0Qbp4bPZvesRAp2uAKChz8KhopqF37kIGIEyRUc5pnaxBQCffLzg
GeHNyB+DVup7pMYHsVXcz5o=
=G9H2
-----END PGP SIGNATURE-----


  • Asterisk Cookbook Correction, Michael Greb, 02/21/2008

Archive powered by MHonArc 2.6.16.

Top of Page