[Asterisk-Users] Need a list of asterisk built-in variables
Alfred R. Nurnberger
alfred at flosys.com
Tue Apr 6 16:55:56 MST 2004
RE: [Asterisk-Users] Need a list of asterisk built-in variablesHow about
setting up a database table and use the CALLERIDNUM as search criteria for
the table
i.e. on the management console do: " database put CLIEXT 5551212 121 "
in your extensions.conf:
exten => xxxx,1,DBget(VMEXT=CLIEXT/${CALLERIDNUM})
exten => xxxx,2,VoicemailMain(${VMEXT})
This way when extension 121 calls in with Callerid 5551212 it will be
directed to its voicemail.
-Alfred
-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com]On Behalf Of Justin Carlson
Sent: Tuesday, April 06, 2004 11:55 AM
To: asterisk-users at lists.digium.com
Subject: RE: [Asterisk-Users] Need a list of asterisk built-in variables
yes but this gives the entire phone number and there phone numbers do not
match their extension numbers for more reasons that I want to explain. (they
wanted the new system and the old one to behave the same) so I needed to
get the extension of the calling extension for the auto-voicemail login to
work.
-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com]On Behalf Of Pedro Bessa
Goncalves
Sent: Tuesday, April 06, 2004 12:27 PM
To: asterisk-users at lists.digium.com
Subject: RE: [Asterisk-Users] Need a list of asterisk built-in variables
Suppose EXT1 makes call to EXT2. Then the ${CALLERIDNUM} is the number of
EXT1 while ${EXT} is the number of EXT2.
Any doubts?
Regards,
Pedro Goncalves
----------------------------------------------------------------------------
--
From: Justin Carlson [mailto:justin at lach.net]
Sent: terça-feira, 6 de Abril de 2004 18:01
To: asterisk-users at lists.digium.com
Subject: RE: [Asterisk-Users] Need a list of asterisk built-in variables
it puts the callerid number I have in the sip.conf instead.
-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com]On Behalf Of Pedro Bessa
Goncalves
Sent: Tuesday, April 06, 2004 11:37 AM
To: asterisk-users at lists.digium.com
Subject: RE: [Asterisk-Users] Need a list of asterisk built-in variables
The ${CALLERIDNUM} variable has the calling extens number.
Regards,
Pedro Goncalves
-----Original Message-----
From: Justin Carlson [mailto:justin at lach.net]
Sent: terça-feira, 6 de Abril de 2004 17:32
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] Need a list of asterisk built-in variables
I need to be able to use a variable that has the calling extension
number
rather than the called.
thanks.
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040406/ef8c9464/attachment.htm
More information about the asterisk-users
mailing list