[asterisk-users] Variable to show caller id for a current call?
Rushowr
rushowr at phreaker.net
Mon Aug 21 13:06:09 MST 2006
Wait a minute....why are you putting 227 into the CALLERID function? You
should read this:
http://www.voip-info.org/wiki/index.php?page=Asterisk+func+callerid
The (number) portion is the argument to CALLERID telling it what to give
you, not what to insert/write
>-----Original Message-----
>From: asterisk-users-bounces at lists.digium.com
>[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of
>Warren (mailing lists)
>Sent: Monday, August 21, 2006 3:54 PM
>To: Asterisk Users Mailing List - Non-Commercial Discussion
>Subject: Re: [asterisk-users] Variable to show caller id for a
>current call?
>
>But how do you get that with GetVar? I am trying to do this
>through the API. I tried:
>Action: GetVar
>Variable CALLERID(227)
>
>and I tries:
>Action: GetVar
>Variable ${CALLERID(227)}
>
>Neither returned anything.
>
>How can I do this? Alternately... Is there a way to have a
>program fired off when an extension rings that will have the
>caller id passed to it as part of the call?
>
>W
>
>Rushowr wrote:
>> ${CALLERID(number)}
>>
>>
>>> -----Original Message-----
>>> From: asterisk-users-bounces at lists.digium.com
>>> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of
>>> Warren (mailing lists)
>>> Sent: Monday, August 21, 2006 1:41 PM
>>> To: Asterisk Users Mailing List - Non-Commercial Discussion
>>> Subject: [asterisk-users] Variable to show caller id for a
>>> current call?
>>>
>>> Is there a variable that can be gotten with GetVar to show the
>>> callerid of the current incoming call in progress at a sip
>extension?
>>>
>>> For instance, a caller from 516-922-9463 calls extension 234.
>>> I would like to be able to be able to get back the
>>> 516-922-9463 if I pass 234.
>>>
>>> Also, can this be done while the extension is ringing?
>>>
>>> TIA,
>>> Warren
>>> _______________________________________________
>>> --Bandwidth and Colocation provided by Easynews.com --
>>>
>>> asterisk-users mailing list
>>> To UNSUBSCRIBE or update options visit:
>>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>>
>>
>>
>> _______________________________________________
>> --Bandwidth and Colocation provided by Easynews.com --
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>_______________________________________________
>--Bandwidth and Colocation provided by Easynews.com --
>
>asterisk-users mailing list
>To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list