[Asterisk-Users] how to set caller id?

Ronald Wiplinger ronald at elmit.com
Sun Jan 22 21:03:59 MST 2006


C F wrote:
> The one you demonstrate should have *never* worked.
>   
well, it did,  ....
> Pre 1.2 you do:
> exten => s,1,SetCIDNUM(12345789)
> Post 1.2 you do:
> exten => s,1,Set(CALLERID(num)=123456789)
>
>   

I need to get the callers phone number there!
How can I do it now?

exten => _91NXXNXXXXXX,3,NoOp(SetCallerID(${username}))

exten => 
_91NXXNXXXXXX,4,DeadAGI(astcc.agi,${CALLERIDNUM},${EXTEN:${TRUNKMSD}},${TARIFF})


bye

Ronald Wiplinger
> On 1/22/06, Ronald Wiplinger <ronald at elmit.com> wrote:
>   
>> How to set the callerid? I had prior 1.2:
>>
>> exten => _91NXXNXXXXXX,3,NoOp(SetCallerID(${username}))
>>
>>
>> _______________________________________________
>> --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