Use "TO" field for called number

Reaper

SMB User
Joined
Jun 16, 2008
Messages
23
Reaction score
2
Good day, after upgrading to v20 one of my trunks stopped working.
My provider use TO field as thee field for Called number, it was set in "Incoming settings" under CelldNum = TO : User Part (screenshot)

1737448803320.png

Right now i dont know how to set it, i have exported a template of a working trunk, and tried to setup a new trunk with that template, without success.
I have extracted old trunk xml and a new one made by the system from scrath, but i dont see the setting which match what i want
Mayb i can just add the:

<field name="ParameterIn" custom="" parameter="FromUserPart">$CalledNum</field>

By
<field name="ParameterIn" custom="" parameter="ToUserPart">$CalledNum</field>

To distribute calls by TO field ?

1737449302512.png

Example of invite from provider

INVITE sip:[email protected]:5060;rinstance=0ebd001eab4e6b39 SIP/2.0 (Request URI stays allways the same)
To: <sip:[email protected]> (TO FIELD which has the called number)

Thank you for your help
 
<field name="ParameterIn" custom="" parameter="FromUserPart">$CalledNum</field>

By
<field name="ParameterIn" custom="" parameter="ToUserPart">$CalledNum</field>
Exactly.

Also both your old xml and new XML are wrong. They are both set to read the called number from the "FromUserPart" field which is wrong.
I would suggest using a supported provider to avoid dealing with these issues.
 
  • Like
Reactions: PaulC_3CX
Yes, when i was reading it i could not understand why "FromUserPart" was there, its a template generated from migration.
I will try with another "fresh" template
 
  • Like
Reactions: YiannisH_3CX
Yep it worked.
 
  • Like
Reactions: YiannisH_3CX

Members Online Now

Forum statistics

Threads
111,832
Messages
589,283
Members
164,662
Latest member
DejanMDS