Author Topic: asterisk support callerid from a user database?  (Read 1195 times)


  • Green Belt
  • *****
  • Posts: 343
  • Karma: +0/-0
asterisk support callerid from a user database?
« on: October 11, 2016, 02:47:28 AM »

asterisk support callerid  from a user database?



  • Green Belt
  • *****
  • Posts: 453
  • Karma: +0/-0
Re: asterisk support callerid from a user database?
« Reply #1 on: October 11, 2016, 05:06:08 AM »

f Caller ID is operating properly on the trunk (I am not that familiar with analog/T1 cards) on the very first line in your dialplan the ${CALLERID(number)} would be you mobile number.

You have to write lines in the dialplan to *change* it AFAIK.

Somewhere in the dialplan from the line of code the calls comes in, to the line of code that does the DIAL statement to your softphone, the Caller ID number is being modified.

When you call in from your mobile you seem to be entering the dialplan at [from-zaptel]. You may want to add a line there and verify that you can receive the correct Caller ID from your Zap trunk.

You can try exten => s,n,verbose(${CALLERID(num)}) after your first line (exten => s,1,Wait(2)). That would require you to be able to see the Asterisk CLI. Your name is 'linuxguru' so I am going to assume you can run Asterisk -rvvvvvvv from a shell :)

Just in case you can't, you can have Asterisk tell you the numbers:

exten => s,n,SayDigits(${CALLERID(num)})

If it says the Caller ID is your mobile phone number then you need to track down the dialplan statement that is changing it.