Good morning.
I have started working from home. My office has an elastix server and I have access to my extension from outside (ext: 126 ... BIG secret). i also have an elastix server at home, and so I do NOT want to setup this second configuration on every phone in the house. Is it possible to setup the extension the office pbx is offering me (126) as a TRUNK on my elastix, so I can just use an outbound route to access office extensions simply by prepending a "6" ..(i.e 6111 on HOME machine calls ext 111 on office machine)? I have setup the outbound route correctly (I think) as : () + 6 | [ZXX] (NO prepend, t as prefix and ZXX as match pattern), But I cant get the trunk to work. currently I have set it up as:
trunk name: office-126
username=126
secret=******
type=peer
qualify=yes
insecure=invite
host={office server external ip}
fromdomain={office server external ip}
disallow=all
allow=g729
context=from-trunk
fromuser=126
User context: 126
username=126
secret=****
type=friend
nat=yes
host={office server external ip}
fromdomain={office server external ip}
context=from-internal
disallow=all
allow=g729
dtmfmode=rfc2833
insecure=invite
Sure it is posible. Most providers offer sip extensions, not trunk.
You have add registration string
register=>username:password#ip
For more info see manual about sip.conf
Related
I have deployed some VNF's on openstack using openbaton on a private network. I have enclosed a screenshot of openstack's network topology.
Now I want to monitor these VNFs using zabbix. To do so after ssh into a VNF with IP 10.0.0.3, I installed zabbix-agent on it and changed ServerActive=<zabbix-server-IP-address> in it's config file to allow for auto-registration of zabbix-agent. Correspondingly, I also added an action of Add Host & Link to templates on zabbix-server.
But after doing this, in the list of hosts in the zabbix-server, I am getting an entry as <openstack-IP-address>:10050, with an error message as
Get value from agent failed: cannot connect to [[<openstack-IP-address>]:10050]: [111] Connection refused
I think this is because the zabbix-agent is listening on port 10050 inside a VNF(which is on a private network). There is no zabbix-agent listening on port 10050 on <openstack-IP-address>.
What should I do so that zabbix-server can recognize the zabbix-agent running inside the VNF?
You probably want to use active items - that is, the mode where the agent connects to the server. You already use active agent auto-registration.
To do so, full-clone the default template and change all of these entities to active:
items
LLD rules
LLD item prototypes
Then modify your action to link the cloned template instead, and "unlink & clear" the previously linked template.
Do you abele to telnet to port 10050 from your zabbix server to the VNF?
Initially zabbix-server was installed on an external server.
That's why it was not able to access(ping / telnet) the VNF on the private network.
To solve this problem I installed zabbix-server on a VNF itself on the same private network. By doing this zabbix-server was able to monitor the zabbix-agents installed on other VNFs.
I have a Asp.net website hosted through Ultidev, and am using DynDns to assign a hostname (web address) to the site. My question is, is their a setting or configuration or something that I can change to go to www.yoursitename.org and my page load? Or must you always specify the port to connect to in order to connect to your site www.yoursitename.org:12345
Assuming you have already configured your router to forward port 80 (standard http port) traffic to you host computer, and opened PC firewall to allow inbound port 80 connections, then what you need to do is to run "[UltiDev Web Server Explorer][1]" and there add combination of the www.yoursitename.org and port 80 as shown on the screenshots below. One thing to note that if port 80 is already occupied in the exclusive mode by an another web server (Apache, etc.), you will see that when saving UWS configuration, the www.yoursitename.org:80 will disappear. If it didn't disappear, then the site:port combination was available and now will be used.
I'm a new user, trying to use "Click to Deploy" for Wordpress.
The next instruction is to click on the IP address for your server and follow the instructions to Allow HTTP traffic.
However, when I go to Compute > Compute Engine > VM Instances
...when I try to click on the IP Address in the EXTERNAL IP column, it has no function.
Information from the install:
"Your Wordpress server has been deployed
Deployment information
Zone: us-central1-a
Machine Type: g1-small
Image: debian-7-wheezy-v20140926
Wordpress Version: 4.1
phpMyAdmin Installed: true
What to do next:
To open the HTTP port to your server:
Find your server in the Compute Engine Instance List
Click on the IP address for your server and follow the instructions to Allow HTTP traffic
The HTTP port will not be accessible until this step is completed
Set up Wordpress by navigating to this IP address with your browser
Access phpMyAdmin at your external IP address appended with /phpmyadmin"
I agree that the instruction provided by the Developers Console is not very accurate.
What you need to do in order to allow HTTP traffic and be able to access to your fresh instance is:
Go to Compute > Compute Engine > VM Instances > wordpress instance. This should match the following regular expression: wordpress-([a-z\d]){4}.
Click the 'Allow HTTP traffic' checkbox.
Click on the external IP address and you should be redirected to: <external IP address>/wp-admin/install.php.
I've just setup FreePBX on my VPS. Everything is OK there are no notices. There hasn't been any errors in the installation. When I create my extension from the FreePBX create new SIP extension and try to connect afterwards I get Forbidden on my SIP client. The extension and the password are the same as I setup in the PBX.
This is the message from the log:
[2014-11-25 23:53:49] NOTICE[9209] chan_sip.c: Registration from '<sip:777#$$SERVER_IP$$>' failed for '$$MY_IP$$:59096' - Wrong password
The strange thing is that when I create an extension from the sip_custom.conf I connect to the server successfuly.
Any ideas :?
You have do apply changes(red button) after each change
You also have ensure your nat settings setuped correctly
You can check that device added in sip_additional.conf file and in asterisk via
asterisk -rx "sip show users"
Again, if you use nat=no and your device after nat, it will not work. Same can be if you use nat=yes and you have no nat.
I'm running asterisk 1.6.2.6 and freepbx-2.7.0
My trunk is configured as follows:
Outgoing Settings
Trunk name: GoTalk
Peer Details:
host=sip.gotalk.com
username=09xxxxxx
secret=YNxxxxxx
type=peer
fromuser=09xxxxxx
fromdomain=sip.gotalk.com
canreinvite=no
insecure=very
Incoming Settings
User Context: 09xxxxx
User Details:
username=09xxxxx
fromuser=09xxxxx
type=peer
secret=YNxxxxx
insecure=very
host=dynamic
fromdomain=sip.gotalk.com
context=from-pstn
Register String:
09xxxxxx:YNxxxxxxx#sip.gotalk.com/09xxxxxx
I have an inbound route called Incoming with DID 09xxxxxx
diverted to local extension 200
When I do a sip trace and dial my telephone number 0741xxxxx I just get failure beeps. I never see any SIP traffic from GoTalk to my asterisk server trying to connect the call.
Seems I'm not registering correctly for incoming calls because GoTalk aren't sending them to me. I am correct in using the GoTalk username 09xxxxxx as the DID, aren't I ? I've tried using my phone number but it makes no difference.
It's solved
GoTalk need the more convoluted Register String:
09xxxxxxxx:YNyyyyyy:09xxxxxxx#sip.gotalk.com:5060/09xxxxxx
Put that in and it registered and received calls fine