Re: [asterisk-users] How determine extension of who initiated call

2009-07-25 Thread Prince Singh
${CALLERID(num)} is a channel variable. Read here about it:
http://www.voip-info.org/wiki/index.php?page=Asterisk+variables
What kind of script is it? AGI? Language?

Regards,
Prince Singh
http://www.drishti-soft.com

On Sat, Jul 25, 2009 at 3:29 AM, Philipp Kempgen
philipp.kemp...@amooma.dewrote:

 Michelle Dupuis schrieb:
  I'm working on a script that needs to determine the extension (eg: 123)
 of
  the phone that initiated the call, or CALLERID number if an externall
  caller.
 
  Is there a simple way to do this?

 ${CALLERID(num)} ?


Philipp Kempgen
 --
 AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied  -  http://www.amooma.de
 Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
 Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
 Videos of the AMOOCON VoIP conference 2009 -  http://www.amoocon.de
 --

 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

[asterisk-users] How determine extension of who initiated call

2009-07-24 Thread Michelle Dupuis
I'm working on a script that needs to determine the extension (eg: 123) of
the phone that initiated the call, or CALLERID number if an externall
caller.
 
Is there a simple way to do this?
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Re: [asterisk-users] How determine extension of who initiated call

2009-07-24 Thread Danny Nicholas
${CALLERID(num)} should provide this information in both cases.

 

  _  

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Michelle
Dupuis
Sent: Friday, July 24, 2009 4:43 PM
To: 'Asterisk Users List'
Subject: [asterisk-users] How determine extension of who initiated call

 

I'm working on a script that needs to determine the extension (eg: 123) of
the phone that initiated the call, or CALLERID number if an externall
caller.

 

Is there a simple way to do this?

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Re: [asterisk-users] How determine extension of who initiated call

2009-07-24 Thread Philipp Kempgen
Michelle Dupuis schrieb:
 I'm working on a script that needs to determine the extension (eg: 123) of
 the phone that initiated the call, or CALLERID number if an externall
 caller.
  
 Is there a simple way to do this?

${CALLERID(num)} ?


Philipp Kempgen
-- 
AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied  -  http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
Videos of the AMOOCON VoIP conference 2009 -  http://www.amoocon.de
-- 

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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