Good Afternoon Colleagues
I hope you are doing good and safe.
I have successfully configure E1 gateway to FreePBX V15 . Calls successfully received through this gateway as expected.
This gateway has strange behavior . It exchange incoming Caller ID name and number . I can successfully solve this issue in 3CX phone system by instructing 3CX to get CallerID number from CallerID name (or Display name) .
If the CallerID number is set as the CallerID name you could send the calls from that trunk to a custom context and set up a custom configuration in /etc/asterisk/extensions_custom.conf
Good Morning AdFun
Thx for your replay . May i know how to send calls from that trunk to custom context ?
Also may i know if i should add the DID of that trunk anywhere in the custom configuration you shared before copy it to " /etc/asterisk/extensions_custom.conf" ?
Good Afternoon David
Thx for your replay . Below is snapshot from PJSIP settings of the trunk where the default of context is “from-pstn” . What i understand that i need to change it to “from-pstn-custom” . Is that true ?
You can combine the two in either order as they don’t have any contexts in common.
I’d also suggest that you step back a bit and do some background reading on how Asterisk configuration files and dialplans work, as, with your combining multiple customisations, you really want to be in a position where you understand how they work, and don’t just cut and paste them.