arnaudcoquelet / fusionpbx

Automatically exported from code.google.com/p/fusionpbx
0 stars 0 forks source link

Intercept Issues #819

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Call in on a DID that goes to an extension
2. Dial **107, in this case
3. Wait

What is the expected output? What do you see instead?
It should pickup the call coming in on 107 on 103, the extension I dialed it 
from.
It just hangs up on extension 103.

What version of the product are you using? On what operating system?
V.3.6.3 on Debian 7

Please provide any additional information below.
In the log viewer it shows it's trying to access a variable that doesn't exist.
[ERR] mod_lua.cpp:203 /usr/local/freeswitch/scripts/intercept.lua:138: attempt 
to concatenate global 'call_hostname' (a nil value)

Original issue reported on code.google.com by Scart...@gmail.com on 20 Jan 2015 at 8:37

GoogleCodeExporter commented 9 years ago
Check that you have a FQDN configured in
/etc/hosts
/etc/hostname

Original comment by ewsamu...@gmail.com on 2 Mar 2015 at 7:58

GoogleCodeExporter commented 9 years ago
What should be in there? Any FQDN?

Original comment by steven.t...@gmail.com on 2 Mar 2015 at 9:34

GoogleCodeExporter commented 9 years ago
Sorry for the late response but the hostname of your server should be fine.

Original comment by ewsamu...@gmail.com on 25 Mar 2015 at 9:58

GoogleCodeExporter commented 9 years ago
If the domains on our server go by the nomenclature of (company).pbx.oursip.com 
should pbx.oursip.com be in there?

Original comment by steven.t...@gmail.com on 25 Mar 2015 at 4:01

GoogleCodeExporter commented 9 years ago
It is valid to do it this way

(company).pbx.oursip.com 

Or it can be done this way both are valid.

(company).oursip.com

Original comment by markjcrane@gmail.com on 25 Mar 2015 at 4:04

GoogleCodeExporter commented 9 years ago
Ok, because there is currently nothing in the hosts or hostname that references 
our pbx. And would each separate domain have to be added as an entry?

Original comment by steven.t...@gmail.com on 25 Mar 2015 at 4:08

GoogleCodeExporter commented 9 years ago
You can use wildcard DNS. When the phone registers there has to be someway for 
it to tell FreeSWITCH that it is using a different domain/tenant.

However I think this is a different issue its referring to the hostname of the 
server and you need a way to know which server to send the call to.

Original comment by markjcrane@gmail.com on 25 Mar 2015 at 10:45