Yate Community Forum
Yate server => Other Yate server issues => Topic started by: djBo on January 05, 2015, 12:43:07 PM
-
Dear list,
I could be doing it wrong!
I've installed yate on my domain's main server (ubuntu, apt-get install yate) and added a couple of accounts in regfile.conf. Installed the accounts on several Android devices using the native SIP application (Android 4.4.2+). Within minutes I was making calls!
My question:
I am making a call from one device to another using "username@domainname". When I look at the device with the incoming call it says "username@domainIPaddress".
What changes do I have to make to the yate configuration, to make the incoming call show up as "username@doimainname"?
With kind regards,
Rory
-
Edit regexroute.conf.
Change the following:
[extra]
call.execute=30
[call.execute]
${domain}^$=;domain=YOUR_DOMAIN_NAME
NOTE: This will affect all outgoing calls. I suppose for your scenario it will do the job.
-
Thanks! Works like a charm :)
NOTE: This will affect all outgoing calls. I suppose for your scenario it will do the job.
Just for arguments sake: the "domain" field contains the ip-address of the server hosting yate?
-
You can put in the domain parameter the value you want to be set in the domain part of the SIP 'From' header URI.
The string your are setting there is what you want to be.
If you are not setting it yate will build the 'From' header from transport local ip address.
-
Just out of curiosity:
Which yate version did you install?
I think the ubuntu sources do not provide the latest yate version.
You can find updated packages here: https://launchpad.net/~sico/+archive/ubuntu/yate