Reply
 
Thread Tools Display Modes
  #1  
Old 04-18-10, 08:27 PM
wardmundy wardmundy is offline
Nerd Uno
 
Join Date: Oct 2007
Posts: 3,882
The Incredible PBX Fixes
Bug Fixes coming (not too) soon, we hope.

Original Article (4/19/2010): http://nerdvittles.com/?p=677

Last edited by wardmundy : 04-18-10 at 08:33 PM.
Reply With Quote
  #2  
Old 04-19-10, 08:59 PM
wardmundy wardmundy is offline
Nerd Uno
 
Join Date: Oct 2007
Posts: 3,882
If you were one of the early pioneers today, check the password for extension 705 and make certain it is not blank. There was a rounding error for the password for this extension that could have resulted in a blank password entry in some cases.

The risk to your system is minimal provided you have installed the hardware-based firewall as outlined in the tutorial since no one has access to your SIP extensions from outside your firewall.
Reply With Quote
  #3  
Old 04-20-10, 01:43 AM
MisterQ MisterQ is offline
Member
 
Join Date: Dec 2007
Posts: 63
OK< I am coming across a number of glitches with the incredible PBX.

1. Using ipkall, and google voice, I am getting a message that the destination number is already in use. Apparently, this is "common" when numbers have been used by others, but expired on IPKALL, but not on GoogleVoice. Google are unresponsive on this. I have tried getting a new number from IPKALL (First attempt gave me the exact same number again - second time I tried for a different area code) I have tried plugging this info in - changes at the end of /etc/asterisk/extensions_custom.conf and also on the inbound routes. call is not getting through...


2. The instructions at nerdvittles.com call about initial setup in ipkall as a SIP connection, and then changing to IAX2. I did that, and then ran the configure-gv specifying IPKALL - a sip show peers and iax2 show peers from the console, show a sipgate connection/registration but no IAX2 registration with IPKall - should that exist?
Reply With Quote
  #4  
Old 04-20-10, 06:35 AM
wardmundy wardmundy is offline
Nerd Uno
 
Join Date: Oct 2007
Posts: 3,882
Originally Posted by MisterQ View Post
OK< I am coming across a number of glitches with the incredible PBX.

1. Using ipkall, and google voice, I am getting a message that the destination number is already in use. Apparently, this is "common" when numbers have been used by others, but expired on IPKALL, but not on GoogleVoice. Google are unresponsive on this. I have tried getting a new number from IPKALL (First attempt gave me the exact same number again - second time I tried for a different area code) I have tried plugging this info in - changes at the end of /etc/asterisk/extensions_custom.conf and also on the inbound routes. call is not getting through...


2. The instructions at nerdvittles.com call about initial setup in ipkall as a SIP connection, and then changing to IAX2. I did that, and then ran the configure-gv specifying IPKALL - a sip show peers and iax2 show peers from the console, show a sipgate connection/registration but no IAX2 registration with IPKall - should that exist?

1. Not a problem. Just reclaim the number using the option provided in Google Voice. If no one else owns the IPkall number, you'll be fine.

2. The IPkall connection is made on the fly. That's why you need the hole in the firewall since there is never a permanent registration. I think this is explained in the article... or the last one.

Last edited by wardmundy : 04-20-10 at 07:14 AM.
Reply With Quote
  #5  
Old 04-20-10, 07:45 PM
wardmundy wardmundy is offline
Nerd Uno
 
Join Date: Oct 2007
Posts: 3,882
SIP Security Vulnerability
There is a very serious security vulnerability that needs to be patched by loading the very latest version of FreePBX Framework as soon as it becomes available for your version of FreePBX. Just displaying a call report in the FreePBX browser could compromise your system.

The 2.6 patch (which is what you need with The Incredible PBX) already has been released. Load this patch IMMEDIATELY by opening FreePBX with a browser and...

Setup, Module Admin, Check for Updates on Line, Upgrade All

2.5.2.3: #4223 Security Vulnerability
2.6.0.2: #3805, #3707, #4188, #4223 Security Vulnerability
Reply With Quote
  #6  
Old 04-21-10, 01:35 PM
HavocStyles HavocStyles is offline
Junior Member
 
Join Date: Apr 2010
Posts: 16
Need pointed in the right direction, my old setup (still in use and working) I have a callcentric account which I have two DID's and I'm routing each DID to a different destination. i.e. one to a IVR and one to an extension.

And here is my context how I get the CID for callcentric out of the SIP headers, so I can route them properly.

Code:
[from-sip-external-custom]
exten => _.,1,NoOp(Received incoming SIP connection from unknown peer to ${EXTEN})
exten => _.,n,Set(DID=${IF($["${EXTEN:1:2}"=""]?s:${EXTEN})})
exten => _.,n,Goto(s,1)
; CallCentric Check
exten => s,1,GotoIf($["${DID}"="1777XXXXXXX"]?callcentric)
; Regular Check
exten => s,n,GotoIf($["${ALLOW_SIP_ANON}"="yes"]?checklang:noanonymous)
; CallCentric DID Code
exten => s,n(callcentric),Set(Var_FROM_DOMAIN=${CUT(CUT(SIP_HEADER(TO),@,2),>,1)})
exten => s,n,GotoIF($["${Var_FROM_DOMAIN}" = "callcentric.com"]?callcentric-next)
exten => s,n,GotoIF($["${Var_FROM_DOMAIN}" = "ss.callcentric.com"]?callcentric-next)
exten => s,n,GotoIF($["${Var_FROM_DOMAIN}" = "66.193.176.35"]?callcentric-next:checklang)
exten => s,n(callcentric-next),Set(Var_TO_DID=${CUT(CUT(SIP_HEADER(TO),@,1) ,:,2)})
exten => s,n,GotoIF($["${Var_TO_DID}" = ""]?checklang)
exten => s,n,Set(DID=${Var_TO_DID})
; Regular script continues
exten => s,n(checklang),GotoIf($["${SIPLANG}"!=""]?setlanguage:from-trunk,${DID},1)
exten => s,n(setlanguage),Set(CHANNEL(language)=${SIPLANG})
exten => s,n,Goto(from-trunk,${DID},1)
exten => s,n(noanonymous),Set(TIMEOUT(absolute)=15)
exten => s,n,Answer
exten => s,n,Wait(2)
exten => s,n,Playback(ss-noservice)
exten => s,n,Playtones(congestion)
exten => s,n,Congestion(5)
exten => h,1,Hangup
exten => i,1,Hangup
exten => t,1,Hangup
Problem is on this new system "The Incredible PBX" Which I have setup just like my old system. But when a call comes in it automatically routes to the context from-sip-external in which that context is only to error on congestion then hang up. Here is the context in /etc/asterisk/extensions_override_freepbx.conf

Quote:
;[from-sip-external]
;give external sip users congestion and hangup
; Yes. This is _really_ meant to be _. - I know asterisk whinges about it, but
; I do know what I'm doing. This is correct.
;exten => _.,1,NoOp(Received incoming SIP connection from unknown peer to ${EXTEN})
;exten => _.,n,Set(DID=${IF($["${EXTEN:1:2}"=""]?s:${EXTEN})})
;exten => _.,n,Goto(s,1)
;exten => s,1,GotoIf($["${ALLOW_SIP_ANON}"="yes"]?from-trunk,${DID},1)
;exten => nv-demo,1,Goto(app-daynight,2,1)
;exten => mothership,1,Goto(app-daynight,1,1)
;exten => e164,1,Goto(from-trunk,e164,1)
;exten => fax,1,Goto(from-trunk,fax,1)
;exten => gv-ringback,1,Goto(from-trunk,gv-ringback,1)
;exten => s,n,Set(TIMEOUT(absolute)=15)
;exten => s,n,Answer
;exten => s,n,Wait(2)
;exten => s,n,Playback(ss-noservice)
;exten => s,n,Playtones(congestion)
;exten => s,n,Congestion(5)
;exten => h,1,NoOp(Hangup)
;exten => i,1,NoOp(Invalid)
;exten => t,1,NoOp(Timeout)
Not sure if "This is _really_ meant to be" if your routing by DID, and grabbing the true caller ID from the SIP headers? In other words now I'm really confused.

I did try setting the DID with my callcentric ID with the CID set to my phone number and with CID priority checked, but still routes to the from-sip-external context, which is not correct and should be routing to my [from-sip-external-custom context.

Any help would be great. Thanks in advance,

Eric

***Update***

Anyway I commented out "from-sip-external" from

/etc/asterisk/extensions.conf
/etc/asterisk/extensions_override_freepbx.conf

and changed the context in /etc/asterisk/sip_general_additional.conf

to "from-sip-external-custom"

Inbound calls are now being picked up by the right context and routing appropriately. So my question is, is there any security risk in doing this? Because I can't think of any at the moment and have anonymous SIP turned off.

Cheers,
E

Last edited by HavocStyles : 04-21-10 at 02:26 PM. Reason: Solved
Reply With Quote
  #7  
Old 05-10-10, 07:34 PM
wardmundy wardmundy is offline
Nerd Uno
 
Join Date: Oct 2007
Posts: 3,882
Incredible PBX Reminders
Incredible PBX Reminders: A bug was discovered that caused scheduling of some reminders to fail because of 2 missing directories. The fix is here: http://nerd.bz/dwO0fd

Our apologies.
Reply With Quote
  #8  
Old 06-21-10, 01:27 PM
wardmundy wardmundy is offline
Nerd Uno
 
Join Date: Oct 2007
Posts: 3,882
If you installed the Incredible PBX with Asterisk 1.6 before the date of this message, log into your server as root and issue the following commands after running configure-gv.x script to assure that Google Voice outbound calling works correctly:

Code:
 sed -i 's/|/,/g' /etc/asterisk/extensions_custom.conf
 amportal restart
Reply With Quote
  #9  
Old 07-13-10, 10:39 PM
Severian Severian is offline
Junior Member
 
Join Date: Jun 2010
Posts: 2
Adding Your Credentials to The Incredible PBX.
There is an error in this description. It says "You'll also need to reenter your passwd-master password". You have never entered it, so it is hard to reenter it. Worse, it is hard to know that the password is currently set to. I think I see where this error comes from. In the recipe for installing pbxinaflash on another page on the website, you run this script after running update-fixes. Did you mean to do that in the IncrediblePBX install procedure?

I entered this report once before, but it disappeared. Why would that happen?
Reply With Quote
  #10  
Old 07-14-10, 06:36 AM
wardmundy wardmundy is offline
Nerd Uno
 
Join Date: Oct 2007
Posts: 3,882
The very first step in running configure-gv.x is setting the passwd-master password. So... you not only know what the password is, you've just set it.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 06:06 PM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright ©2007-2008, Ward Mundy & Associates