[asterisk-users] Different callerid for different extensions

Satish Barot satish4asterisk at gmail.com
Tue Jun 7 07:23:48 CDT 2011


I mean, what do you want to see in callerid when Extensions
100-110,200-210,300-310 dial/receive the calls?
Like, 044578900 for 300, 044578901 for 101 and something like that.

Using,"exten => _0XXXXXXXXX,2,Set(outgoing_ident=0445789${CALLERID(num):-2})
and exten => _0XXXXXXXXX,6,Set(CALLERID(num)=${outgoing_ident})", will
always set callerid to 044578900 for Extensions 100,200,300; 044578901 for
101,201,301 and so on .


[SATISH]

On Tue, Jun 7, 2011 at 5:11 PM, mahesh katta <maheshkatta at flexydial.com>wrote:

> Sir,
>
> I have MYsql database in myserver.
>
>
> On Tue, Jun 7, 2011 at 4:57 PM, Satish Barot <satish4asterisk at gmail.com>wrote:
>
>>
>> How do you want to map callerid with your extensions? Do you have any DB
>> table for such a mapping?
>>
>> [SATISH]
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110607/b821c2fd/attachment.htm>


More information about the asterisk-users mailing list