- Joined
- Nov 7, 2022
- Messages
- 3
- Reaction score
- 0
Hi 3cx Community
I'm currently in the process of amending our provider template for 3cx and I struggle with a particular issue.
If I receive a call on the trunk from a supressed number/anonymous, and the call is forwarded to an external target, the forwarded call no longer is sending anonymous as the CLI and instead the main trunk No of my outgoing rule trunk.
In this case, the main trunk No is in the sip.from.user and PAI header of the outgoing, forwarded, call.
If I display the number of the phone I use to make the incoming call, A-Number is transmitted correctly in the sip.from.user and PAI header, so the transfer of originator caller id to the outgoing call is working in principle.
Does anyone know a template that I could use a as a reference where this behavior doesn't occur or have suggestions for the parameters I'm currently testing.
These are my parameters from the imported template used to setup this trunk:
<field name="ParameterIn" custom="" parameter="ToUserPart">$CalledNum</field>
<field name="ParameterIn" custom="" parameter="FromDisplayPart">$CallerName</field>
<field name="ParameterIn" custom="" parameter="FromUserPart">$CallerNum</field>
<field name="ParameterOut" custom="" parameter="RequestLineURIUser">$CalledNum</field>
<field name="ParameterOut" custom="" parameter="RequestLineURIHost">$GWHostPort</field>
<field name="ParameterOut" custom="" parameter="ContactUser">$AuthID</field>
<field name="ParameterOut" custom="" parameter="ContactHost">$ContactUri</field>
<field name="ParameterOut" custom="" parameter="ToDisplayName">$CalledName</field>
<field name="ParameterOut" custom="" parameter="ToUserPart">$CalledNum</field>
<field name="ParameterOut" custom="" parameter="ToHostPart">$GWHostPort</field>
<field name="ParameterOut" custom="" parameter="FromDisplayName">$OutboundCallerId</field>
<field name="ParameterOut" custom="" parameter="FromUserPart">$OriginatorCallerId</field>
<field name="ParameterOut" custom="" parameter="FromHostPart">$GWHostPort</field>
<field name="ParameterOut" custom="" parameter="P-AssertedIdentityUserPart">$EnforcedOriginatorCallerId</field>
<field name="ParameterOut" custom="" parameter="P-AssertedIdentityHostPart">$GWHostPort</field>
Best Regards
Renato
I'm currently in the process of amending our provider template for 3cx and I struggle with a particular issue.
If I receive a call on the trunk from a supressed number/anonymous, and the call is forwarded to an external target, the forwarded call no longer is sending anonymous as the CLI and instead the main trunk No of my outgoing rule trunk.
In this case, the main trunk No is in the sip.from.user and PAI header of the outgoing, forwarded, call.
If I display the number of the phone I use to make the incoming call, A-Number is transmitted correctly in the sip.from.user and PAI header, so the transfer of originator caller id to the outgoing call is working in principle.
Does anyone know a template that I could use a as a reference where this behavior doesn't occur or have suggestions for the parameters I'm currently testing.
These are my parameters from the imported template used to setup this trunk:
<field name="ParameterIn" custom="" parameter="ToUserPart">$CalledNum</field>
<field name="ParameterIn" custom="" parameter="FromDisplayPart">$CallerName</field>
<field name="ParameterIn" custom="" parameter="FromUserPart">$CallerNum</field>
<field name="ParameterOut" custom="" parameter="RequestLineURIUser">$CalledNum</field>
<field name="ParameterOut" custom="" parameter="RequestLineURIHost">$GWHostPort</field>
<field name="ParameterOut" custom="" parameter="ContactUser">$AuthID</field>
<field name="ParameterOut" custom="" parameter="ContactHost">$ContactUri</field>
<field name="ParameterOut" custom="" parameter="ToDisplayName">$CalledName</field>
<field name="ParameterOut" custom="" parameter="ToUserPart">$CalledNum</field>
<field name="ParameterOut" custom="" parameter="ToHostPart">$GWHostPort</field>
<field name="ParameterOut" custom="" parameter="FromDisplayName">$OutboundCallerId</field>
<field name="ParameterOut" custom="" parameter="FromUserPart">$OriginatorCallerId</field>
<field name="ParameterOut" custom="" parameter="FromHostPart">$GWHostPort</field>
<field name="ParameterOut" custom="" parameter="P-AssertedIdentityUserPart">$EnforcedOriginatorCallerId</field>
<field name="ParameterOut" custom="" parameter="P-AssertedIdentityHostPart">$GWHostPort</field>
Best Regards
Renato


