Caller ID details not coming up on phones

Hi,

Not sure if this is a FreePBX or Sangoma issue…

I have a bunch of S700 and S500 phones on a local FreePBX machine with both SIB and DAHDI trunks. Whilst caller ID is being passed correctly from both trunks, the name lookup from Contact Manager within FreePBX is not working. I have set “CIDLookup” to “Internal” and have told both trunks to use this source.

What am I doing wrong?

Thanks

Anyone able to help??

Thanks!

This would be PBX issue or setup not phone issue. The phone displays whatever is sent to the phone. Your asterisk CLI logs should show you what’s happening.

Ok, what am I looking for in the logs? I have tried everything here. I thought the phone apps were supposed to work “out of the box”; so far no contact details which I enter into the contacts manager are showing up on any of the phones. Only the number. Bug?

Here is part of the log dump having just done a test call to an extension:

[2017-04-06 22:10:33] NOTICE[12972]: res_pjsip_exten_state.c:358 new_subscribe: Extension state subscription failed: Extension 99216 does not exist in context ‘from-internal’ or has no associated hint
[2017-04-06 22:10:33] WARNING[15689]: chan_sip.c:6277 create_addr: Purely numeric hostname (6), and not a peer–rejecting!
[2017-04-06 22:10:33] WARNING[15689]: chan_sip.c:6277 create_addr: Purely numeric hostname (6), and not a peer–rejecting!
[2017-04-06 22:10:33] NOTICE[12972]: res_pjsip_exten_state.c:358 new_subscribe: Extension state subscription failed: Extension 99215
6 does not exist in context ‘from-internal’ or has no associated hint
[2017-04-06 22:10:33] NOTICE[12972]: res_pjsip_exten_state.c:358 new_subscribe: Extension state subscription failed: Extension 99226 does not exist in context ‘from-internal’ or has no associated hint
[2017-04-06 22:10:33] WARNING[15689]: chan_sip.c:6277 create_addr: Purely numeric hostname (6), and not a peer–rejecting!
[2017-04-06 22:10:33] NOTICE[12972]: res_pjsip_exten_state.c:358 new_subscribe: Extension state subscription failed: Extension 9923
6 does not exist in context ‘from-internal’ or has no associated hint
[2017-04-06 22:10:33] NOTICE[12972]: res_pjsip_exten_state.c:358 new_subscribe: Extension state subscription failed: Extension 99246 does not exist in context ‘from-internal’ or has no associated hint
[2017-04-06 22:10:33] NOTICE[12972]: res_pjsip_exten_state.c:358 new_subscribe: Extension state subscription failed: Extension 9925
6 does not exist in context ‘from-internal’ or has no associated hint
[2017-04-06 22:10:33] NOTICE[12972]: res_pjsip_exten_state.c:358 new_subscribe: Extension state subscription failed: Extension 99266 does not exist in context ‘from-internal’ or has no associated hint
[2017-04-06 22:10:33] NOTICE[12972]: res_pjsip_exten_state.c:358 new_subscribe: Extension state subscription failed: Extension 9927
6 does not exist in context ‘from-internal’ or has no associated hint
[2017-04-06 22:10:33] NOTICE[12972]: res_pjsip_exten_state.c:358 new_subscribe: Extension state subscription failed: Extension 99296 does not exist in context ‘from-internal’ or has no associated hint
[2017-04-06 22:10:33] NOTICE[12972]: res_pjsip_exten_state.c:358 new_subscribe: Extension state subscription failed: Extension 99210
6 does not exist in context ‘from-internal’ or has no associated hint
[2017-04-06 22:10:33] NOTICE[12972]: res_pjsip_exten_state.c:358 new_subscribe: Extension state subscription failed: Extension 992116 does not exist in context ‘from-internal’ or has no associated hint
[2017-04-06 22:10:33] NOTICE[12972]: res_pjsip_exten_state.c:358 new_subscribe: Extension state subscription failed: Extension 99212
6 does not exist in context ‘from-internal’ or has no associated hint
[2017-04-06 22:10:33] NOTICE[12972]: res_pjsip_exten_state.c:358 new_subscribe: Extension state subscription failed: Extension 992136 does not exist in context ‘from-internal’ or has no associated hint
[2017-04-06 22:10:33] NOTICE[12972]: res_pjsip_exten_state.c:358 new_subscribe: Extension state subscription failed: Extension 99214
6 does not exist in context ‘from-internal’ or has no associated hint

Obviously somethings up, but the extensions (Sangoma S500 and S700)'s seem to work fine apart from that.

Dan

That is not a call.

ok, I have been looking at the debug details for CID Superfecta. It returns:

{“error”:{“type”:“Whoops\Exception\ErrorException”,“message”:“Undefined variable: strict”,“file”:"/var/www/html/admin/modules/contactmanager/Contactmanager.class.php",“line”:2598}}

Whenever I try a test run against a number, even internal extension numbers of which the names show up ok.

Phone apps have nothing to do with caller ID. Caller ID is provide by your PBX to the phone.

ok, so where do I start looking? As i mentioned previously, internal extensions CID show up fine, as in “Study”, “Boardroom” etc. However, any trunk calls do not pickup details from FreePBX Call Manager.

Thanks,

Dan

Internal calls have caller ID set from the extension name for each extension making a call. Has nothing to do with contacts.

Caller ID is sent from your carrier. If your carrier is not sending caller ID then you need to use a module like Caller ID superfecta to have it try and find a caller ID name from some source it supports to do a lookup in.

Yep, I understand that. However Superfecta is not working either. Running a debug returns the following error:

{“error”:{“type”:“Whoops\Exception\ErrorException”,“message”:“Undefined variable: strict”,“file”:"/var/www/html/admin/modules/contactmanager/Contactmanager.class.php",“line”:2614}}

Thanks.

Known issue:
http://issues.freepbx.org/browse/FREEPBX-13970

Thanks. Is there any way around this rather serious error? I’ve just convinced another client to invest in a FreePBX / Sangoma phone system, but this is going to throw a spanner in the works if caller ID from contacts manager is not working!

Dan

Did you see the user provided code fix in the linked ticket?

Hi - yes I did thanks and having implemented the code fix, the Debug/Test Run Scheme worked as it should. However, I still cannot get the information from this onto screens of the phones? So frustrating!