Pedro Bessa Goncalves
2004-Apr-06 09:37 UTC
[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@lach.net] Sent: ter?a-feira, 6 de Abril de 2004 17:32 To: asterisk-users@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@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/1669c7e2/attachment.htm
Justin Carlson
2004-Apr-06 10:01 UTC
[Asterisk-Users] Need a list of asterisk built-in variables
RE: [Asterisk-Users] Need a list of asterisk built-in variablesit puts the callerid number I have in the sip.conf instead. -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com]On Behalf Of Pedro Bessa Goncalves Sent: Tuesday, April 06, 2004 11:37 AM To: asterisk-users@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@lach.net] Sent: ter?a-feira, 6 de Abril de 2004 17:32 To: asterisk-users@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@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/25f4c8c0/attachment.htm
Pedro Bessa Goncalves
2004-Apr-06 10:26 UTC
[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@lach.net] Sent: ter?a-feira, 6 de Abril de 2004 18:01 To: asterisk-users@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@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com]On Behalf Of Pedro Bessa Goncalves Sent: Tuesday, April 06, 2004 11:37 AM To: asterisk-users@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@lach.net <mailto:justin@lach.net> ] Sent: ter?a-feira, 6 de Abril de 2004 17:32 To: asterisk-users@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@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users <http://lists.digium.com/mailman/listinfo/asterisk-users> To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users <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/432faf88/attachment.htm
Justin Carlson
2004-Apr-06 11:54 UTC
[Asterisk-Users] Need a list of asterisk built-in variables
RE: [Asterisk-Users] Need a list of asterisk built-in variablesyes 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@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com]On Behalf Of Pedro Bessa Goncalves Sent: Tuesday, April 06, 2004 12:27 PM To: asterisk-users@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@lach.net] Sent: ter?a-feira, 6 de Abril de 2004 18:01 To: asterisk-users@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@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com]On Behalf Of Pedro Bessa Goncalves Sent: Tuesday, April 06, 2004 11:37 AM To: asterisk-users@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@lach.net] Sent: ter?a-feira, 6 de Abril de 2004 17:32 To: asterisk-users@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@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/969433d6/attachment.htm
Alfred R. Nurnberger
2004-Apr-06 16:55 UTC
[Asterisk-Users] Need a list of asterisk built-in variables
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@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com]On Behalf Of Justin Carlson Sent: Tuesday, April 06, 2004 11:55 AM To: asterisk-users@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@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com]On Behalf Of Pedro Bessa Goncalves Sent: Tuesday, April 06, 2004 12:27 PM To: asterisk-users@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@lach.net] Sent: ter?a-feira, 6 de Abril de 2004 18:01 To: asterisk-users@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@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com]On Behalf Of Pedro Bessa Goncalves Sent: Tuesday, April 06, 2004 11:37 AM To: asterisk-users@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@lach.net] Sent: ter?a-feira, 6 de Abril de 2004 17:32 To: asterisk-users@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@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