${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 <[email protected]>wrote: > 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
