[SOLVED] CallerID Name from chan_dongle and Linphone extension

I have a standard Freepbx 13.0.192.8 installation running on Debian Jessie with chan_dongle and 2 SIM cards.

My problem is that incoming calls on Linphone or CSipSimple show up the Caller ID Name as ‘dongle0’ or ‘dongle1’ depending on the dongle through which the call is coming through. I’ve tried various settings and nothing seems to work. Is there a way to strip the CID Name before reaching the device? So I can match phone numbers with addressbook contacts.

Solved.

Let’s say I have set context=from-trunk-dongle in /etc/asterisk/dongle.conf

In /etc/asterisk/extensions_custom.conf i have
[from-trunk-personal]
trustrpid=yes
sendrpid=yes
include => from-trunk
exten => _.,1,Set(CALLERID(name)=${CALLERID(num)})
exten => _.,n,Goto(from-trunk,${EXTEN},1)

I have same issue but in FreePBX 15.0.17.
Question is, where I can add trustrpid=yes sendrpid=yes

The answer seems to fail to realise that chan_dongle isn’t SIP. You need to provide more detailed information, but you should note that chan_dongle is only community supported.

Actually, I can’t see how the solution in post 2 could ever have worked as trustrpid and sendrpid go in sip*.conf, not extensions*.conf, and, as hinted above, only relate to chan_sip, not chan_dongle.

Actually, I think it is third party code, rather than community supported.