I have the following Problem:
If i take a call outside the PBX: internal -> external : the number i set in extension config is not shown. instead the provider fallback number is provided. The provider is Sipgate. The support tells me that there is no SIP-Header like (P-Preferred-Identity: sip:firstname.lastname@example.org) provided. I have not found any solution in the config.
Has anybody an idea?
That's a requirement specifically for that VoIP Provider. What you can do is modify the "sub-construct-cid" context, located at /etc/asterisk/ombutel/extensions__20-baseplan.conf, however, this file is overwritten each time the Software is updated to a new version.
You should modify the s-external extension on "sub-construct-cid", and add the required headers.