Setting the "from domain" on a Global gateway dynamic

Status
Not open for further replies.

katakefalos

New Member
Nov 9, 2019
3
0
1
81
I would gladly pay someone $100 to find me the solution to this, either in the dial plan or perhaps the sip profile
I have tried different dial plan settings like in "dialplan.png", I would like to have the setting please see "gateway.png" dynamic filled with the domain name used.
If I set it in the gateway static, I get the invite like "sipinvite_with_fromdomain.png" if I live it empty and try everything in the dial plan I always get just the external IP like in "sipinvite_without_fromdomain.png".

Thank you!
 

Attachments

  • sipinvite_with_fromdomain.png
    sipinvite_with_fromdomain.png
    138.1 KB · Views: 10
  • sipinvite_without_fromdomain.png
    sipinvite_without_fromdomain.png
    140.3 KB · Views: 10
  • dialplan.png
    dialplan.png
    245 KB · Views: 12
  • gateway.png
    gateway.png
    267 KB · Views: 13
Not exactly sure what you are trying to achieve but have you tried gateway advanced settings and made caller id in from to true then restarted the gateway?
 
Yes, I have tried that. But I am still getting the IP after the @ like: From: "PaulMacM1_Mini" <sip:302312201111@188.40.180.227>;tag=D92Qpv4UU7N6j

Again, what I am trying to achieve is:
Use a gateway global on all domains, but have the from domain dynamic to the dialing domain or account code after the @ in the from sip invite.

Like when I configure the gateway in the "From Domain" field in gateway configuration as "pavlos57001.pbx.voxfly.com" i get what i want in the sipinvite like:

"From: "PaulMacM1_Mini" <sip:302312201111@pavlos57001.pbx.voxfly.com>;tag=1ZetBXB" the domain name instead the plain IP.

If I leave the ""From Domain" field in gateway configuration empty, I get:
"From: "PaulMacM1_Mini" <sip:302312201111@188.40.180.227>;tag=D92Qpv4UU7N6j"

I would like to use the gateway globally with empty field in the Gateway-configuration without having to create a different gateway configuration for each domain,
and with the dialplan or any other way to send the "from domain: with the value of the dialing domain in the "from" sip invite.

Like:

when a user dials from domain xxxx1.pbx.com the invite should be:
From: "PaulMacM1_Mini" <sip:302312201111@xxxx1.pbx.com>

when a user dials from domain xxxx2.pbx.com the invite should be:
From: "PaulMacM1_Mini" <sip:302312201111@xxxx2.pbx.com>

and so on...
 
Status
Not open for further replies.