[asterisk-users] Different callerid for different extensions

mahesh katta maheshkatta at flexydial.com
Tue Jun 7 06:41:54 CDT 2011


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]
>
> On Tue, Jun 7, 2011 at 2:29 PM, mahesh katta <maheshkatta at flexydial.com>wrote:
>
>> Hi,
>>
>> I have small confusion in my configuration which is I had some DID's like
>> 044578900-04457999. I was configured dial plan below mention.
>>
>> exten => _0XXXXXXXXX,1,NoOp(Int exten:${CALLERID(num)})
>> exten => _0XXXXXXXXX,2,Set(outgoing_ident=0445789${CALLERID(num):-2})
>> exten => _0XXXXXXXXX,3,NoOp(Ext ident:${outgoing_ident})
>> exten => _0XXXXXXXXX,4,Set(CALLERID(name)=${outgoing_ident})
>> exten => _0XXXXXXXXX,5,AGI(agi://127.0.0.1:4577/call_log)
>> exten => _0XXXXXXXXX,6,Set(CALLERID(num)=${outgoing_ident})
>> exten =>
>> _0XXXXXXXXX,7,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0))
>> exten => _0XXXXXXXXX,8,Dial(${TRUNK}/${EXTEN},,tTo)
>> exten => _0XXXXXXXXX,9,Hangup
>>
>>
>> this dial plan for outbound .But I have some extensions that is like
>> 100-110,200-210,300-310, etc. with this dialplan when I dial from  100
>> extension callerid will show 044578900 right, and i have 200 extension also
>> when i dial from this callerid will show 044578900 right. but i need to
>> difine every extension should be show different callerid . and same as
>> INbound also.
>> Please anybody give me short dialplan for this .
>>
>> --
>> Best Regards,
>>
>> Mahesh Katta
>> *BUZZ**WORKS* Business Services Private Limited
>> BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI
>> 201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, Andheri
>> (E) Mumbai 400069
>> GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634
>> Web http://www.buzzworks.com
>>
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>               http://www.asterisk.org/hello
>>
>> 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 --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
Best Regards,

Mahesh Katta
*BUZZ**WORKS* Business Services Private Limited
BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI
201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, Andheri (E)
Mumbai 400069
GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634
Web http://www.buzzworks.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110607/69098965/attachment.htm>


More information about the asterisk-users mailing list