If I comment out both lines, I have the wanted behaviour - on outbound calls it shows the dialed number, however it’s of course not intended to manipulate config files there as it’s overwritten anyway when regenerating config.
Just to clearify. You want the number used for the CLID to be the number you dialed. Example, if you call my cell (e.g. 309-555-1212) from your phone, you want the number that shows up on my phone for the CLID to be my own number?
No, I’m lust looking at my phone (the outbound dialing phone). Currently, it shows my own number (prefixed with “CID:”) after remote has answered my call. It doesn’t make any sense to show the own number during a call. Normally you want to see the number of the person you’re talking to.
Obviously the command “Set(CONNECTEDLINE(name,i)=CID:${CALLERID(number)}))” which is executed on the outbound dialing phone is responsible for that. It is in context macro-dialout-trunk
Display CallerID on Calling Phone? and Display Dialed Number on Calling Phone?
If I disable it (on by default), I have the wanted behaviour.
IMHO it’s working wrong because if both settings are on, it displays my OWN number on the calling phone instead of the dialed number. If I disable only the first option, the displayed number shows (probably as intended) after trunk dial rule manipulation, in my case it suppresses the first ‘0’ in display to dial an external number. But showing the OWN number on the calling phone is totally wrong, I believe.
This Solved my problem! Thank You!
That was really annoying, every time I dialed out, it would change the number I dialed to my outbound DID with the CID prefix, which also changed the history, so when you looked at the call history on that handheld, it just had CID:XXXXXXXXXX which meant I had no idea who was called.