I am using FreePBX-4.211.64-7 and having trouble where the CallerID won’t display.
I’ve got it set at the extension, the trunk and the outgoing route to display my local number, but I still can’t get it to work. The syntax I’m using is <##########> and the phone system calls out from a private number.
I’ve checked with my provider, and they’re not blocking callerID. can you help, please? I’ve been working on this for days and days now.
Well, it comes up as a private number on receiving phones. No caller ID displayed. I’m not sure what else it may be called in other parts of the world.
There must be something I’m missing, but for the life of me I can’t find any other locations within freepbx to stipulate that I want callerID, and the number I want displayed. I’ve set it in the Trunk, Outgoing route and Extension details so far.
I’ve also tried adding /########## after the register string within the trunk options, as well as CallerID=########## in the PEER details section.
With regards to the syntax of the CallerID itself, I’ve selected to force the Trunk CID, and tried ##########, <##########>, “”<##########>, “Name”<##########>, “” <##########>, and “Name” <##########>.
The only thing I can think of is that either there’s an option I don’t know about that I haven’t configured, or there’s some argument I need to send in the PEER details section that isn’t currently present.
Maybe your provider has something provisioned wrong. If you do a 'sip set debug peer (insert your provider trunk name) you will see the invite with the CID go out.
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('HANGUP',{ts '2013-11-05 17:50:09'},'CID:0********6','0********2','','','','','macro-dialout-trunk','SIP/S*****l-0******8','AppDial','(Outgoing Line)',3,'','13******83.456','13******81.455','','','')] Scheduling destruction of SIP dialog '***randommd5hashgoeshere***@xxx.xxx.xxx.xxx:5060' in 32000 ms (Method: INVITE)
As you can see, I've not studied these logs much to make sense of them...
No, clearly you didn’t do the debug as I suggested. The CID is clearly in the CDR you posted (I assume you redacted it). I have never seen a case where Asterisk doesn’t send the CID. Have you spoken with your provider?
Well, you’ll have to forgive me, I don’t really know what I’m looking at here; there’s a lot of information in this report that I’m trying to sift through.
Does the debug output into the asterisk CLI? That is where this is copied from, as I always keep an eye on it while I’m calling. Otherwise, maybe there’s another location I can grab the debug output from?
Have checked with the provider, they say the callerID is functioning correctly from their end. They even placed a call to me from my own number, so it seems it’s not a problem at their end.
I’m in the process of setting up another trunk with another company to test it also, so I can find out definitively whether it’s their service or my phone system causing the problem.