wardmundy
Nerd Uno
- Joined
- Oct 12, 2007
- Messages
- 19,202
- Reaction score
- 5,221
Bug Fixes coming (not too) soon, we hope.
Original Article (4/19/2010): http://nerdvittles.com/?p=677
Original Article (4/19/2010): http://nerdvittles.com/?p=677
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?
[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
;[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)
sed -i 's/|/,/g' /etc/asterisk/extensions_custom.conf
amportal restart
sed -i 's/|/,/g' /etc/asterisk/odbc.conf
echo " " >> /etc/asterisk/asterisk.conf
echo "[options]" >> /etc/asterisk/asterisk.conf
echo "app_set=1.6" >> /etc/asterisk/asterisk.conf
amportal restart
amportal stop
cd /usr/src/asterisk-addons
make clean
make install
amportal start
cd /tmp
mv -f iptables /etc/sysconfig/iptables
chmod 644 /etc/sysconfig/iptables
service iptables restart
sed -i 's|sox -r 8000 -w|sox -r 8000 -2|' /var/lib/asterisk/bin/audio-email.pl
sed -i 's|sox -r 8000 -w|sox -r 8000 -2|' /var/www/html/admin/modules/dictate/bin/audio-email.pl
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.
Check your inbox!
We’ve sent you an email. Click on the button in the email body to verify your email address – (if you can not find it, check your spam folder).
Upon verification you will be directed to the 3CX setup wizard.