[Asterisk-Users] Need a list of asterisk built-in variables

2004-04-06 Thread Justin Carlson
I need to be able to use a variable that has the calling extension number
rather than the called.


thanks.

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Need a list of asterisk built-in variables

2004-04-06 Thread Pedro Bessa Goncalves
Title: 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:[EMAIL PROTECTED]] 
Sent: terça-feira, 6 de Abril de 2004 17:32
To: [EMAIL PROTECTED]
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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users





RE: [Asterisk-Users] Need a list of asterisk built-in variables

2004-04-06 Thread Justin Carlson
Title: 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: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]On Behalf Of Pedro Bessa 
  GoncalvesSent: Tuesday, April 06, 2004 11:37 AMTo: 
  [EMAIL PROTECTED]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:[EMAIL PROTECTED]] 
  Sent: terça-feira, 6 de Abril de 2004 17:32 
  To: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users 
  To UNSUBSCRIBE or update options visit:  http://lists.digium.com/mailman/listinfo/asterisk-users 
  


Re: [Asterisk-Users] Need a list of asterisk built-in variables

2004-04-06 Thread Olle E. Johansson
Justin Carlson wrote:
I need to be able to use a variable that has the calling extension number
rather than the called.
It's on the WIki and in your source code tree.
Check the Wiki page Asterisk variables
http://www.voip-info.org
...and please try to read the docs before posting to the list. Thank you.
/Olle
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Need a list of asterisk built-in variables

2004-04-06 Thread Pedro Bessa Goncalves
Title: 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:[EMAIL PROTECTED] 
Sent: terça-feira, 6 de Abril de
2004 18:01
To: [EMAIL PROTECTED]
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:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]On
Behalf Of Pedro Bessa Goncalves
Sent: Tuesday, April 06, 2004
11:37 AM
To: [EMAIL PROTECTED]
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:[EMAIL PROTECTED]] 
Sent: terça-feira, 6 de Abril de
2004 17:32 
To: [EMAIL PROTECTED]

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

[EMAIL PROTECTED]

http://lists.digium.com/mailman/listinfo/asterisk-users

To UNSUBSCRIBE or update options
visit: 
 http://lists.digium.com/mailman/listinfo/asterisk-users











RE: [Asterisk-Users] Need a list of asterisk built-in variables

2004-04-06 Thread Justin Carlson
The wiki did not seem to have the exact variable I need so I have got it
working now but it would have been nice to be able to have exten =
asterisk,1,Voicemailmain(s{callingexten}).

.and please read the previous post next time.

cheers!

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Olle E.
Johansson
Sent: Tuesday, April 06, 2004 12:12 PM
To: [EMAIL PROTECTED]
Subject: Re: [Asterisk-Users] Need a list of asterisk built-in variables


Justin Carlson wrote:
 I need to be able to use a variable that has the calling extension number
 rather than the called.
It's on the WIki and in your source code tree.
Check the Wiki page Asterisk variables
http://www.voip-info.org

...and please try to read the docs before posting to the list. Thank you.
/Olle
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Need a list of asterisk built-in variables

2004-04-06 Thread Justin Carlson
Title: 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: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]On Behalf Of Pedro Bessa 
  GoncalvesSent: Tuesday, April 06, 2004 12:27 PMTo: 
  [EMAIL PROTECTED]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:[EMAIL PROTECTED] Sent: terça-feira, 6 de Abril de 2004 
  18:01To: [EMAIL PROTECTED]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: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]On Behalf Of Pedro Bessa 
GoncalvesSent: Tuesday, 
April 06, 2004 11:37 AMTo: 
[EMAIL PROTECTED]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:[EMAIL PROTECTED]] 
Sent: 
terça-feira, 6 de Abril de 2004 17:32 To: [EMAIL PROTECTED] 
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 [EMAIL PROTECTED] 
http://lists.digium.com/mailman/listinfo/asterisk-users 
To UNSUBSCRIBE or update 
options visit:  http://lists.digium.com/mailman/listinfo/asterisk-users 



RE: [Asterisk-Users] Need a list of asterisk built-in variables

2004-04-06 Thread Alfred R. Nurnberger
Title: RE: [Asterisk-Users] Need a list of asterisk built-in variables



How 
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 
= ,1,DBget(VMEXT=CLIEXT/${CALLERIDNUM})
exten 
= ,2,VoicemailMain(${VMEXT})

This 
way when extension 121 calls in with Callerid 5551212 it will be directed to its 
voicemail.

-Alfred

-Original Message-From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]On Behalf Of Justin 
CarlsonSent: Tuesday, April 06, 2004 11:55 AMTo: 
[EMAIL PROTECTED]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: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]On Behalf Of Pedro Bessa 
  GoncalvesSent: Tuesday, April 06, 2004 12:27 PMTo: 
  [EMAIL PROTECTED]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:[EMAIL PROTECTED] Sent: terça-feira, 6 de Abril de 2004 
  18:01To: [EMAIL PROTECTED]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: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]On Behalf Of Pedro Bessa 
GoncalvesSent: Tuesday, 
April 06, 2004 11:37 AMTo: 
[EMAIL PROTECTED]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:[EMAIL PROTECTED]] 
Sent: 
terça-feira, 6 de Abril de 2004 17:32 To: [EMAIL PROTECTED] 
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 [EMAIL PROTECTED] 
http://lists.digium.com/mailman/listinfo/asterisk-users 
To UNSUBSCRIBE or update 
options visit:  http://lists.digium.com/mailman/listinfo/asterisk-users