Change FromHostPart in SIP format

carlosyr

Premier Customer
Joined
Apr 1, 2025
Messages
2
Reaction score
1
Hi,

I have a Generic SIP Provider that requires a domain to be included in the "From" section of the SIP Header. For example:


Code:
From: "+123456789"<sip:[email protected]:5060>;tag=xxxxxx


This domain is not a public domain, so I currently resolve this by using the split DNS technique and setting the remote host part with the DNS.

I would like to achieve the same outcome using only 3CX, eliminating the need for split DNS.

So far, I have attempted to create a custom template without success. I downloaded the template and tried to edit the `FromHostPart` parameter, but it didn't work:


XML:
<field name="ParameterOut" custom="custom.from.domain" parameter="FromHostPart">$GWHostPort</field>



Do you have any advice?

Thanks
 
You can try this:

Code:
<field name="ParameterOut" custom="custom.from.domain" parameter="FromHostPart">$CustomField</field>
 
Hi YiannisH_3cx,

That did the trick!

Thanks for your help; I really mean it.
 
  • Like
Reactions: YiannisH_3CX
Glad I could assist
 

Latest Posts

Forum statistics

Threads
111,964
Messages
590,000
Members
164,869
Latest member
hpgitsupport