It's Soup: Incredible PBX 2

Joined
Jun 29, 2009
Messages
258
Reaction score
0
I'm getting closer... I went into the "System Administration", "Asterisk SIP Settings" and there were reported conflicts with sip_custom.conf and sip_general_custom.conf, and none of the network settings were correct (local net and dynamic IP).

I corrected all of this, and now I am able to dial out but it is strange... When I dial the number, the phone hangs up immediately or else I get a "we could not complete your call" -- this is not Alison's voice.. Some other nice voice however. Then if I try dialing again, the call usually goes through.

I'll attach a portion of the log file.

Thanks,
Don

I will just point out that for whatever reason, there are a few situations where using a "Dynamic IP" in the Asterisk SIP settings causes all kinds of weird problems that go away if you switch to a "Static IP" and put your current external IP address in the "External IP" text box. Of course, if that IP address is changed by your ISP then things stop working, but you can do it temporarily as a test to see if it fixes problems you are having with not being able to connect to (or maintain connections to) certain providers. Either switching to a Static IP will fix the problem or it won't, and if it doesn't you can just go back to using a Dynamic IP. But if it does fix the issues, then you can perhaps do something similar to what I did to rewrite the static IP address when your ISP (hopefully infrequently) changes it:

A Perl script to rewrite the “static” IP address in the FreePBX Asterisk SIP Settings when it is changed by your ISP
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,201
Reaction score
5,220
Just a heads up that we've added support this morning for a dozen of our favorite hosting providers in Incredible PBX 2.0. By default, all of the trunks now are disabled until you need them. Once you sign up with a new provider, just plug in your credentials using FreePBX, Setup, Trunks and uncheck the Disable Trunk box, and you're done.
 

chemcat9

Guru
Joined
Apr 19, 2010
Messages
111
Reaction score
4
Just a heads up that we've added support this morning for a dozen of our favorite hosting providers in Incredible PBX 2.0. By default, all of the trunks now are disabled until you need them. Once you sign up with a new provider, just plug in your credentials using FreePBX, Setup, Trunks and uncheck the Disable Trunk box, and you're done.

I like this idea. I'll give it a whirl later today. Thanks Ward!
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,201
Reaction score
5,220
Fyi...

Here's the list of supported providers:

20110831-bhb85ks354gda488998hsjnec8.jpg
 

dandy_don

Member
Joined
Sep 27, 2010
Messages
173
Reaction score
11
Ward -- This is a neat idea... So neat that I replaced the drive from my working server last night (~12:30) and tried an entire fresh install of purple, 1.8..., etc.

When I went to configure sip extensions, most of the options are no longer there such as locking down the permissions, etc. Did this also change?

The option to un-block providers didn't appear obvious, but then again, that was ~3AM. I tried several providers, but will have to try this again later. Otherwise, I really like the idea!

I've since put the working drive back in the server and will swap back in a few days and tinker some more.

Thanks,
Don
 

chdyoung

New Member
Joined
Mar 3, 2011
Messages
24
Reaction score
0
Enabling Google Voicemail

See this week's Nerd Vittles article for the Quick-and-Dirty Guide.

Enabling Google Voicemail. Some have requested a way to retain Google’s voicemail system for unanswered calls in lieu of using Asterisk voicemail. The advantage is that Google offers a free transcription service for voicemail messages. To activate this, you’ll need to edit the [googlein] context in extensions_custom.conf in /etc/asterisk.

I installed Incredible PBX 2 and PIAF Red. I could not find [googlein] in the extensions_custom.conf file. I found it in extensions_additional.conf, but any changes made there are overwritten.
 
Joined
Jun 29, 2009
Messages
258
Reaction score
0
I installed Incredible PBX 2 and PIAF Red. I could not find [googlein] in the extensions_custom.conf file. I found it in extensions_additional.conf, but any changes made there are overwritten.

I'll bet you are using the Google Voice module, and those instructions are for use with a different method. If you are using the GV module, I think the change would have to be made in /var/www/html/admin/modules/googlevoice/functions.inc.php but I can't tell you exactly what would have to be done. There is a section in that module that looks like this:

Code:
                        if (true) {
                                $ext->add($incontext, $address, '', new ext_answer('') );
                                $ext->add($incontext, $address, '', new ext_wait('1') );
                                $ext->add($incontext, $address, '', new ext_senddtmf('1') );
                        }

My GUESS would be that this section would need to be replaced with SOMETHING like this:

Code:
                        if (true) {
                                $ext->add($incontext, $address, '', new ext_set('DIAL_OPTIONS=${DIAL_OPTIONS}aD(:1)') );
                        }

Would this actually work? Don't know (I don't actually use the GV module). But if it did, you might have to re-save all your Google Voice accounts and then do an orange bar reload, and if you did that the change would apply to all of your accounts.

The proper solution for GV module users would be to add a checkbox on the page ("Don't answer until extension answers") and then, depending on whether the box is unchecked or checked, execute the first or second code block (I have no idea what the "true" variable is there for, by the way - I'm not the author of this module, and I don't know PHP). But that would be something that tm1000 (or someone else that understands the code in this module) would have to add.

N.B. Even if this would work, it should ONLY be used if the destination of the Google Voice Inbound Route is an extension. If it is ANYTHING else, the results might not be what you expect. Whether it will work depends on whether the DIAL_OPTIONS variable is replaced without preserving the existing contents (if that happens it WON'T work).
 

chdyoung

New Member
Joined
Mar 3, 2011
Messages
24
Reaction score
0
I'll bet you are using the Google Voice module, and those instructions are for use with a different method...

The proper solution for GV module users would be to add a checkbox on the page ("Don't answer until extension answers") and then, depending on whether the box is unchecked or checked, execute the first or second code block...

N.B. Even if this would work, it should ONLY be used if the destination of the Google Voice Inbound Route is an extension...

Yes, I am using the Google Voice module, and the GV instructions are part of Ward's Quick and Dirty Guide.

Yes, I wish there was a "Don't answer until extension answers" checkbox in the GV module. That would make life simple as Incredible PBX is attempting to do (and mostly succeeding).

I have multiple GV trunks and inbound routes, and most of them go to different ring groups.

BTW, I have quit using custom contexts to determine which trunk an extension uses for outgoing calls, and use your recommended method of /callerid in the last box in "Dial Patterns that will use this (outbound) Route".
 
Joined
Jun 29, 2009
Messages
258
Reaction score
0
Yes, I wish there was a "Don't answer until extension answers" checkbox in the GV module. That would make life simple as Incredible PBX is attempting to do (and mostly succeeding).

I have multiple GV trunks and inbound routes, and most of them go to different ring groups.

I'm not sure if this will work with a ring group — again, it all depends on whether the ring group dialplan code changes the DIAL_OPTIONS variable without preserving the existing contents.

As I said, tm1000 would probably be the logical person to make any additions to the GV module, since he was the one who made the most recent changes.
 

joev

New Member
Joined
Aug 27, 2011
Messages
3
Reaction score
0
Piaf Red in Proxmox

Sorry if this is already posted but how do I install piaf red in proxmox?
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,201
Reaction score
5,220
Installing PIAF-Red with Proxmox

1. Upload the PIAF 1.7.5.6.3 ISO using the ISO Images option.
2. Create a new KVM virtual machine using the new ISO as the Installation Media.
3. Start the new virtual machine and click on Open VNC Console.
4. Follow along in the standard install until the VM reboots. Then choose PIAF-Red option from the menu.
 

paulnye

Guru
Joined
Apr 17, 2011
Messages
208
Reaction score
2
many 'Permission denied' errors when installing IncPBX 2

After a clean install of piaf then I add IncPBX 2 I get all these 'Permission denied, No such file or directory' errors. I have tried w/asterisk 1.8.5 and 10. No difference.

To install IncPBX2 I did..
cd /root
wget http://incrediblepbx.com/incrediblepbx2.x
chmod +x incrediblepbx2.x
./incrediblepbx2.x

After its done I get..
touch: setting times of `./proc/1718/task/1718': Permission denied
touch: cannot touch `./proc/1718/task/1718/exe': No such file or directory
touch: setting times of `./proc/1895/task/1895': Permission denied
touch: cannot touch `./proc/1895/task/1895/exe': No such file or directory
touch: setting times of `./proc/1941/task/1941': Permission denied
touch: cannot touch `./proc/1941/task/1941/exe': No such file or directory
touch: setting times of `./proc/1948/task/1948': Permission denied
touch: cannot touch `./proc/1948/task/1948/exe': No such file or directory
touch: setting times of `./proc/1949/task/1949': Permission denied
touch: cannot touch `./proc/1949/task/1949/exe': No such file or directory
touch: setting times of `./proc/1950/task/1950': Permission denied
touch: cannot touch `./proc/1950/task/1950/exe': No such file or directory
touch: setting times of `./proc/1953/task/1953': Permission denied
touch: cannot touch `./proc/1953/task/1953/exe': No such file or directory
touch: setting times of `./proc/1956/task/1956': Permission denied
touch: cannot touch `./proc/1956/task/1956/exe': No such file or directory
touch: setting times of `./proc/1960/task/1960': Permission denied
touch: cannot touch `./proc/1960/task/1960/exe': No such file or directory
touch: setting times of `./proc/1975/task/1975': Permission denied
touch: setting times of `./proc/1975/task/1978': Permission denied
touch: setting times of `./proc/1975/task/1979': Permission denied
touch: setting times of `./proc/1980/task/1980': Permission denied
touch: setting times of `./proc/1981/task/1981': Permission denied
touch: setting times of `./proc/2303/task/2303': Permission denied
touch: setting times of `./proc/2354/task/2354': Permission denied
touch: setting times of `./proc/2354/task/2355': Permission denied
touch: setting times of `./proc/2356/task/2356': Permission denied
touch: setting times of `./proc/2356/task/2357': Permission denied
touch: setting times of `./proc/2386/task/2386': Permission denied
touch: setting times of `./proc/2389/task/2389': Permission denied
touch: setting times of `./proc/2433/task/2433': Permission denied
touch: setting times of `./proc/2456/task/2456': Permission denied
touch: setting times of `./proc/2469/task/2469': Permission denied
touch: setting times of `./proc/2475/task/2475': Permission denied
touch: setting times of `./proc/2495/task/2495': Permission denied
touch: cannot touch `./proc/2495/task/2495/exe': No such file or directory
touch: setting times of `./proc/2532/task/2532': Permission denied
touch: setting times of `./proc/2649/task/2649': Permission denied
touch: setting times of `./proc/2650/task/2650': Permission denied
touch: setting times of `./proc/2657/task/2657': Permission denied
touch: setting times of `./proc/2663/task/2663': Permission denied
touch: setting times of `./proc/2672/task/2672': Permission denied
touch: setting times of `./proc/2693/task/2693': Permission denied
touch: setting times of `./proc/2732/task/2732': Permission denied

- removed lines here to save space

find: ./proc/16771/task/16771/fd/4: No such file or directory
find: ./proc/16771/task/16771/fdinfo/4: No such file or directory
touch: setting times of `./proc/16771/task/16771/cwd': Permission denied
find: ./proc/16771/fd/4: No such file or directory
find: ./proc/16771/fdinfo/4: No such file or directory
touch: setting times of `./proc/16771/cwd': Permission denied
Done.

--2011-09-07 01:35:28-- http://nerdvittles.dreamhosters.com/pbxinaflash/source/fail2ban/asterisk18.conf
Resolving nerdvittles.dreamhosters.com... 173.236.131.22
Connecting to nerdvittles.dreamhosters.com|173.236.131.22|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1375 (1.3K) [text/plain]
Saving to: `asterisk18.conf'

100%[======================================>] 1,375 --.-K/s in 0s

2011-09-07 01:35:28 (155 MB/s) - `asterisk18.conf' saved [1375/1375]

Stopping fail2ban: [ OK ]
Starting fail2ban: [ OK ]
--2011-09-07 01:35:34-- http://incrediblepbx.com/incrediblefax.sh
Resolving incrediblepbx.com... 173.192.28.149
Connecting to incrediblepbx.com|173.192.28.149|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11012 (11K) [application/x-sh]
Saving to: `incrediblefax.sh'

100%[======================================>] 11,012 --.-K/s in 0.06s

2011-09-07 01:35:34 (170 KB/s) - `incrediblefax.sh' saved [11012/11012]

Dialplan reloaded.
--2011-09-07 01:35:35-- http://pbxinaflash.com/gvoice819patch
Resolving pbxinaflash.com... 173.192.28.149
Connecting to pbxinaflash.com|173.192.28.149|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 594 [text/plain]
Saving to: `gvoice819patch'

100%[======================================>] 594 --.-K/s in 0s

2011-09-07 01:35:35 (78.6 MB/s) - `gvoice819patch' saved [594/594]

NOTES: Disk Backup, Hamachi VPN & Cepstral TTS are NOT installed.
Type: help-pbx. Install script for Cepstral is in /root/nv.
If you use Hamachi, be sure to also read the hamachi.faq document.
To install Incredible FAX support, run: /root/incrediblefax.sh now.
Your Fax on Demand access password is 42159

For tips on resetting the Nerd Vittles applications to use Cepstral,
see this article: http://nerdvittles.com/?p=205

Be sure to read all of the Best of Nerd Vittles application notes.
Many of these applications have default passwords that need to be changed NOW!

We changed the passwords on EVERY extension and the FreePBX DISA option.
Read about the guy that didn't and got a 100,000 dollar phone bill:
http://nerdvittles.com/index.php?p=580

ALWAYS RUN THE INCREDIBLE PBX BEHIND A SECURE FIREWALL!
Please read the tutorial at the following link before using this software:
http://nerdvittles.com/index.php?p=764


root@pbx:~ $
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,201
Reaction score
5,220
Incredible PBX attempts to straighten out time stamps on your server as part of the setup process. This is a real problem on some virtual machines that we've encountered. The errors you are seeing are because some files are either in use or are protected so the time stamps can't be adjusted. Ignore it!
 

joev

New Member
Joined
Aug 27, 2011
Messages
3
Reaction score
0
1. Upload the PIAF 1.7.5.6.3 ISO using the ISO Images option.
2. Create a new KVM virtual machine using the new ISO as the Installation Media.
3. Start the new virtual machine and click on Open VNC Console.
4. Follow along in the standard install until the VM reboots. Then choose PIAF-Red option from the menu.

My server does not support Full Virtualization (KVM). Is there a Container Virtualization (OpenVZ) for PIAF-Red ?
 

paulnye

Guru
Joined
Apr 17, 2011
Messages
208
Reaction score
2
'Symlink' error in FreePBX

After successfully installing IncPBX2, the FreePBX gui 'notice box' says:

Symlink from modules failed

retrieve_conf failed to sym link:
/etc/asterisk/logger.conf from core/etc
This can result in FATAL failures to your PBX. If the target file exists and not identical, the symlink will not occur and you should rename the target file to allow the automatic sym link to occur and remove this error, unless this is an intentional customization.
Added 4 minutes ago
(retrieve_conf.SYMLINK)


Should I try to resolve this?
(Asterisk 1.8.5, physical box, FreePBX 2907, then added incPBX2)
 

dandy_don

Member
Joined
Sep 27, 2010
Messages
173
Reaction score
11
Ward -- I just did a fresh install of Incredible PBX 2.0, Asterisk 1.8.6.0, FreePBX 2.9.0.7, PIAF 1.7.5.6...

In FreePBX, when I click "Setup", "Trunks", I do not find any of the options you describe for these specific providers.

Where are the specific trunk configurations for these providers that you listed? This would be a very nice feature if I could find it. I have my sipgate and vitelity credentials but there does not appear to be a sipgate or vitelity trunk "shell" to merely enter one's credentials...

Thanks!
Don
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,201
Reaction score
5,220
If you did a fresh install of Incredible PBX 2.0, you didn't end up with FreePBX 2.9. Sorry, we support FreePBX 2.8 are the present time.
 

paulnye

Guru
Joined
Apr 17, 2011
Messages
208
Reaction score
2
So should we update FreePBX

If you did a fresh install of Incredible PBX 2.0, you didn't end up with FreePBX 2.9. Sorry, we support FreePBX 2.8 are the present time.

Ward, this is the first time I was aware that you dont support freePBX latest version 2.9. Are there any known consequences of doing the update?
 

Members online

Forum statistics

Threads
25,810
Messages
167,754
Members
19,240
Latest member
nikko
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top