where can I check if I am using chan_sip. I am on the chan sip settings but I dont see a place to add ip addreses
The NUmber you have dialed is not in service please check the number and tried again
Google Motif
My google Motif status shows disconnected. I have verified the user and password and no go. Is three anything special I need to do to allow this to connect
Google Motif
Google Voice is no longer supported.
How can I play custom tone when the other end caller hangup the call?
Uhm, this is an outbound call. My guide was based on inbound calls to the endpoints. You would have to change your Outbound Dial settings for this to work.
The NUmber you have dialed is not in service please check the number and tried again
Have you made any Trunks yet?
The following modules are disabled because they need to be upgraded: restart, sangomacrm, xmpp, zulu
Got it upgraded to 66-8 but now I get this
Symfony\Component\Process\Exception\ProcessFailedException The command “cd /var/www/html/admin/modules/pm2/node && mkdir -p /home/asterisk/.pm2 && mkdir -p /var/www/html/admin/modules/pm2/node/logs && export HOME=/home/asterisk && export PM2_HOME=/home/asterisk/.pm2 && export ASTLOGDIR=/var/log/asterisk && export ASTVARLIBDIR=/var/lib/asterisk && export PATH=$HOME/.node/bin:$PATH && export NODE_PATH=$HOME/.node/lib/node_modules:$NODE_PATH && export MANPATH=$HOME/.node/share/man:$MANPATH && /var/www/html/admin/modules/pm2/node/node_modules/pm2/bin/pm2 jlist” failed. Exit Code: 127(Command not found) Working directory: /var/www/html/admin Output: ================ Error Output: ================ /usr/bin/env: node: No such file or directory File:/var/www/html/admin/libraries/Composer/vendor/symfony/process/Process.php:221
Did some research and force uninstalled pm2 but it wont reinstall.
fwconsole ma install pm2
sh: node: command not found
Node is not installed
unable to install modeul pm2:
-failed to run isntallation scripts
Next step?
EPM: Assign Extension to Template Only
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
Zulu login
Thanks. I am struggling with the SSL as we use DDNS and I have never figured out a strategy for setting one up. There may be a way to use a DDNS FQDN but I have not tried that. If there is any reference on this, I would love a link.
Module updates not working anymore
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
Zulu login
The cert gets registered to the common name. Doesnt care about the wan ip.
International Branch Office advice
I agree with @BlazeStudios , but only if you don’t have other delay sources.
For example, if the US office is on the West Coast, that could add ~150 ms of round-trip delay (to a call to UK number answered in UK).
If your business deals mostly with consumers, they are likely to be on mobile, adding additional delay.
If you have teleworkers who are fielding calls on their mobiles, that’s yet more delay.
If these factors apply, do some testing before deciding on your approach.
Please explain how this will work. Queues with logged-in agents on both sides of the Pond?
Add Stasis application in dialplan (to use Asterisk ARI with FreePBX)
Yikes! That is awesome! I love playgrounds and new toys to play with. Sadly, I usually break them.
When I go to https://www.npmjs.com/package/freepbx and copy the “You can utilize FreePBX like so” script, then click on “Test with RunKit” it takes me to https://npm.runkit.com/freepbx. I paste the script in the sandbox and click run, I get
Error: Cannot find module 'asterisk-manager' at Module._resolveFilename in core internal/modules/cjs/loader.js — line 580
So I’m not sure exactly how to invoke.
When I installed ari-client I got warnings:
[root@agents ~]# npm install ari-client npm WARN engine ari-client@1.2.1: wanted: {"node":">=4"} (current: {"node":"0.12.18","npm":"2.15.11"}) npm WARN deprecated swagger-client@2.0.26: No longer maintained, please upgrade to swagger-client@3. npm WARN engine request@2.88.0: wanted: {"node":">= 4"} (current: {"node":"0.12.18","npm":"2.15.11"}) npm WARN deprecated sprintf@0.1.1: The sprintf package is deprecated in favor of sprintf-js. npm WARN engine har-validator@5.1.3: wanted: {"node":">=6"} (current: {"node":"0.12.18","npm":"2.15.11"}) npm WARN engine har-schema@2.0.0: wanted: {"node":">=4"} (current: {"node":"0.12.18","npm":"2.15.11"}) npm WARN engine punycode@2.1.1: wanted: {"node":">=6"} (current: {"node":"0.12.18","npm":"2.15.11"}) ari-client@1.2.1 node_modules/ari-client âââ backoff-func@0.1.2 âââ uuid@3.3.2 âââ underscore@1.9.1 âââ bluebird@2.11.0 âââ ws@1.1.5 (options@0.0.6, ultron@1.0.2) âââ swagger-client@2.0.26 (btoa@1.1.1, shred@0.8.10) âââ request@2.88.0 (is-typedarray@1.0.0, aws-sign2@0.7.0, oauth-sign@0.9.0, forever-agent@0.6.1, tunnel-agent@0.6.0, caseless@0.12.0, isstream@0.1.2, json-stringify-safe@5.0.1, safe-buffer@5.1.2, aws4@1.8.0, extend@3.0.2, performance-now@2.1.0, qs@6.5.2, combined-stream@1.0.7, mime-types@2.1.21, form-data@2.3.3, tough-cookie@2.4.3, http-signature@1.2.0, har-validator@5.1.3)
When I installed FreePBX, I got 2.0.0 instead of 2.1.2:
[root@agents ~]# npm install http://mirror.freepbx.org/npm/freepbx-2.0.0.tgz --save freepbx@2.0.0 node_modules/freepbx âââ asterisk-manager@0.1.16 âââ async@1.5.2 âââ bluebird@3.5.3 âââ locutus@2.0.10 âââ mysql@2.16.0 (sqlstring@2.3.1, safe-buffer@5.1.2, bignumber.js@4.1.0, readable-stream@2.3.6)
Then when I tried to run it with node: (“it” being the “You can utilize FreePBX like so” script saved as freepbx.js)
[root@agents ~]# node freepbx.js Unhandled rejection ReferenceError: Bluebird is not defined #different versions installed with ARI and FreePBX packages at Conf.get (/var/www/html/fop2/node_modules/freepbx/dist/lib/Conf.js:80:13) at /var/www/html/fop2/freepbx.js:11:16 at tryCatcher (/var/www/html/fop2/node_modules/freepbx/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/var/www/html/fop2/node_modules/freepbx/node_modules/bluebird/js/release/promise.js:512:31) at Promise._settlePromise (/var/www/html/fop2/node_modules/freepbx/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/var/www/html/fop2/node_modules/freepbx/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/var/www/html/fop2/node_modules/freepbx/node_modules/bluebird/js/release/promise.js:694:18) at _drainQueueStep (/var/www/html/fop2/node_modules/freepbx/node_modules/bluebird/js/release/async.js:138:12) at _drainQueue (/var/www/html/fop2/node_modules/freepbx/node_modules/bluebird/js/release/async.js:131:9) at Async._drainQueues (/var/www/html/fop2/node_modules/freepbx/node_modules/bluebird/js/release/async.js:147:5) at Immediate.Async.drainQueues [as _onImmediate] (/var/www/html/fop2/node_modules/freepbx/node_modules/bluebird/js/release/async.js:17:14) at processImmediate [as _immediateCallback] (timers.js:367:17)
Then I tried the script https://github.com/asterisk/node-ari-client/blob/master/examples/originate.js:
[root@agents fop2]# node originate.js [ 'This API is using a deprecated version of Swagger! Please see http://github.com/wordnik/swagger-core/wiki for more info' ]
Being that I am an idiot, I did all this on a box about to go into production with a LOT of custom code. I hope I didn’t break anything important to FreePBX modules.
So, now I am confused and befuddled about what to do and how I should update what to get the sample scripts to run. Do you have any further guidance for me about how to configure and invoke something like originate.js or “You can utilize FreePBX like so” script? (And I will do all further playing on development box.)
Thanks so much for your help!
Add Stasis application in dialplan (to use Asterisk ARI with FreePBX)
You can’t run the freepbx module from a random web browser. That’s what happens when you run using run kit. It runs the code in your browser. How can your browser talk to freepbx.
Also I gave you the link to npm. Why would you install freepbx with the url. Use npm. Npm install freepbx.
These simple things make me think you are WAY over your head here with whatever you are trying to do.
Take a step back. In your directory install freepbx from npm. Not a url. It’s already in npm. Then you’ll have the module. Next install asterisk-ari. Then query freepbx to get the default credentials.
I’ll write this up later tonight. I’m just baffled that I give you the link to npm to install yet you go out and install it with the url. That’s what npm is there for.
Add Stasis application in dialplan (to use Asterisk ARI with FreePBX)
Also you are on nodejs 0.12. Which means you are on CentOS 6. Or Schmooze 6. You should upgrade to CentOS 7. SNG 7. That’s why you have warnings (the warnings are pretty clear as to why they are warning you)
Add Stasis application in dialplan (to use Asterisk ARI with FreePBX)
You are correct, I am always in over my head. But I’m swimming as hard as I can! All that stuff was on the links you gave me. Apparently the mobile page is different from the regular web page.
I missed the little “> npm i freepbx” over on the right side because it said in bigger letters in the middle "
npm install http://mirror.freepbx.org/npm/freepbx-2.0.0.tgz --save" and I tested with RunKit because it said, “Test with RunKit” right under your avatar. Thank you for the links. I guess I picked the wrong ones because, as you say, I am over my head.
As to what I am trying to do: originate a call on a trunk and bridge it to an extension all the while sending call progress updates to the browser.
I can’t upgrade to SNG7 because I need HA and it does not exist for SNG7 and (according to the rumors I hear from partners) will probably only be available on 13 until 15 is released.
Can I make this work on CentOS 6?
Faxstation move trunk and DID to new location
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
New install is totally unreliable!
Thanks tm1000
Yes, just using the distro.
pm2 isn’t even installed - okay I don’t even know what pm2 is, and should it be or should it not be installed?
Update - I have increased the RAM to 8gb and the CPUs to 2 CPUs with 2 cores each. I log in and I see the “apply config” button still red, I click that bad boy and BAM! (see attached). (spoiler: just more errors, still no better)
New install is totally unreliable!
Log in via SSH then do fwconsole ma installall
Your errors have been about modules not being installed. Some are not install directly via the ISO and require Internet access during the setup to be downloaded and installed. There could have been an issue during that and this could fix it by installing all the modules.
New install is totally unreliable!
Your original post. Point #4. First screenshot. “Unable to load”. If you read the entire error it literally tells you what you should do. Which is install pm2. It even gives you the command.
Doing what @BlazeStudios said will get you going.
WebRTC registered, unable to originate phone calls from UCP
You’d have to post logs from asterisk and also let us know if you are using a fully qualified domain name