[asterisk-users] Different callerid for different extensions

2011-06-07 Thread mahesh katta
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 = _0X,1,NoOp(Int exten:${CALLERID(num)}) exten = _0X,2,Set(outgoing_ident=0445789${CALLERID(num):-2}) exten = _0X,3,NoOp(Ext

Re: [asterisk-users] Different callerid for different extensions

2011-06-07 Thread Satish Barot
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 maheshka...@flexydial.comwrote: Hi, I have small confusion in my configuration which is I had some DID's like 044578900-04457999. I was

Re: [asterisk-users] Different callerid for different extensions

2011-06-07 Thread mahesh katta
Sir, I have MYsql database in myserver. On Tue, Jun 7, 2011 at 4:57 PM, Satish Barot satish4aster...@gmail.comwrote: 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

Re: [asterisk-users] Different callerid for different extensions

2011-06-07 Thread Satish Barot
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 = _0X,2,Set(outgoing_ident=0445789${CALLERID(num):-2}) and exten =

Re: [asterisk-users] Different callerid for different extensions

2011-06-07 Thread mahesh katta
On Tue, Jun 7, 2011 at 5:53 PM, Satish Barot satish4aster...@gmail.comwrote: 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 =

Re: [asterisk-users] Different callerid for different extensions

2011-06-07 Thread Edwin Lam
On 6/7/11 1:59 AM, mahesh katta wrote: I have small confusion in my configuration which is I had some DID's like 044578900-04457999. I was configured dial plan below mention. you have 9 digits on the starting number 8 digits on the ending number. i'll assume it's a typo and the ending number