51 (edited by tekoholic 2011-12-01 02:20:09)

Re: releasing PBX (supporting Asterisk) interface for LuCI

@dancho

I am aware of some of the instability VoIP solutions have with inbound from GV.  However, I will say that all the calls we tested last night came in just fine, at least to ring, and we also answered a few and held conversations.  So, on the inbound, basic settings seem to be sufficiently reliable.

On the other hand, this morning, I awoke to a network that was nearly COMPLETELY incommunicable, so POPO'd all network devices from the DSL modem in.  Upon POST of previous device, next was booted, and the switches and routers had been off for nearly 2 minutes, before coming back online (in case it's relevant).

Upon completing the power-up, and testing connectivity, I found that SIP was registered to router, but could not make a call out.  Checked router, and we're back in the Unregistered state for the GV account (still only the main one configured).  NOTHING, other than the reboot, had occurred between working and not, and it's the same DNS error on the jabber stuff.  Not sure what happened...


edit:  Had a thought:  I'm also, with the same router, attempting to get an OLSR-mesh going.  I configured what I did of * & PBX first thing, and then started installing and config'ing OLSR and related Luci bits.  During all this, the VoIP stayed operable, but I'm wondering, upon reboot, might that have adverse effect?  I've NOT got OLSR working yet, as I'm still in learning process, and it ain't easy...

Re: releasing PBX (supporting Asterisk) interface for LuCI

@ tekoholic,

The best way to find out is to revert all the OLSR settings and see if the DNS errors disappear. smile

Iordan

Re: releasing PBX (supporting Asterisk) interface for LuCI

It did not.  The error persists, and I've done everything short of reloading from scratch again.  I've got 2 of these routers...  Been putting off dragging the other (currently running DD-WRT in dumb-switch / AP mode) down out of the attic, for flashing.  I've decided that's my task for today, in sub-zero temperatures...lol

From this point forward, one of these will handle my multiwan / mesh setup, the other will be dumb-AP and asterisk box.

Re: releasing PBX (supporting Asterisk) interface for LuCI

OK. If you configure the PBX, have everything working, and then spontaneously, a few days down the road start getting the DNS stuff with no changes, then that's something to look at seriously.

Re: releasing PBX (supporting Asterisk) interface for LuCI

Linux newbie here. I have asterisk installed within OpenWRT on an abicom and am trying to get this gui happening. The install seems to be successful.


opkg list | grep pbx
asterisk18-pbx-ael - 1.8.4.4-1 - Asterisk is a complete PBX in software. It provides all of the features
asterisk18-pbx-spool - 1.8.4.4-1 - Asterisk is a complete PBX in software. It provides all of the features
luci-app-pbx - trunk+svn7972-1
yate-mod-dbpbx - 3.2.0-1-3 - PBX IVR and Multi-routing from Database module for yate
yate-mod-pbx - 3.2.0-1-3 - PBX Message Handlers module for yate
yate-mod-pbxassist - 3.2.0-1-3 - Full featured PBX and IVR module for yate

So when I visit the webserver, nothing has changed. What else needs to be done?

Re: releasing PBX (supporting Asterisk) interface for LuCI

There is an index file LuCI creates in /tmp that needs to be erased. I forget the name, but something like /tmp/luci-indexcache ??? I think a simple reboot will remove all that stuff anyway.

Re: releasing PBX (supporting Asterisk) interface for LuCI

I tried removing the index file but nothing has changed.

Little more information, installed packages are

asterisk18 - 1.8.7.1-1
asterisk18-app-authenticate - 1.8.7.1-1
asterisk18-app-disa - 1.8.7.1-1
asterisk18-app-setcallerid - 1.8.7.1-1
asterisk18-app-system - 1.8.7.1-1
asterisk18-chan-gtalk - 1.8.7.1-1
asterisk18-codec-a-mu - 1.8.7.1-1
asterisk18-codec-alaw - 1.8.7.1-1
asterisk18-func-cut - 1.8.7.1-1
asterisk18-res-clioriginate - 1.8.7.1-1

luci - 0.10+svn7349-1
luci-app-ntpc - 0.10+svn7349-1
luci-app-pbx - trunk+svn8037-1
luci-i18n-english - 0.10+svn7349-1
luci-lib-core - 0.10+svn7349-1
luci-lib-ipkg - 0.10+svn7349-1
luci-lib-json - 0.10+svn7349-1
luci-lib-lmo - 0.10+svn7349-1
luci-lib-nixio - 0.10+svn7349-1
luci-lib-sys - 0.10+svn7349-1
luci-lib-web - 0.10+svn7349-1
luci-mod-admin-core - 0.10+svn7349-1
luci-mod-admin-full - 0.10+svn7349-1
luci-sgi-cgi - 0.10+svn7349-1
luci-theme-base - 0.10+svn7349-1
luci-theme-openwrt - 0.10+svn7349-1

screenie of the the web gui http://imageshack.us/photo/my-images/22 … eoqpv.png/

Re: releasing PBX (supporting Asterisk) interface for LuCI

private_ryan0 wrote:

I tried removing the index file but nothing has changed.

I had same behavior because I installed asterisk and Luci module to usb drive
After creating links interface is visible
Script can be found in old openwrt wiki or here
http://rascal.su/blog/2010/05/04/%D0%BF … k-dir-825/

yep, that blog is in russian and it is not mine ))
I ran script as

opkg-link mount <my mount point>

Re: releasing PBX (supporting Asterisk) interface for LuCI

I also find the GV  setting in luci-app-pbx can't correctly handle some special letter in  passwd
example "&" in passwd , it set "|SECRET|"  in jabber_users.conf

(trunk Dec 24 at a71xx platform)

Re: releasing PBX (supporting Asterisk) interface for LuCI

@dancho

Howdy again!

I believe that I've discovered the cause for the DNS issue jabber was having:  filterwin2k was being enabled in the dnsmasq, and it was throwing jabber for a loop...

Not sure yet (I've just reflashed and reinstalled everything), but it seems that way...

I've a few Q's, however:  Why is SRTP not supported?  Is the voicemail package operational yet?  For the VM package, if I've got big storage connected, must I still enable email sending?  And lastly, is this a doable scenario:

user1@gmail.com <-> ext-2001 <-> VM-2001
user2@gmail.com <-> ext-2002 <-> VM-2002
user3@...?

It seems, so far, that there's only one VM box enabled, where it might be nice to have one for each extension...  Google voice handles all our VM on external #'s, but it'd be nice to have internal VM boxes, for extension to extension calling...

Thx again!!

Re: releasing PBX (supporting Asterisk) interface for LuCI

dancho/mazilo/all:

A bit of a side note but would anyone here know how to setup YATE for openwrt? It seems to have been ported and I can fire off a build that includes yate modules but I just don't know how to configure it for google voice.
Any advice?

thanks,
chhatc

Re: releasing PBX (supporting Asterisk) interface for LuCI

chhatc wrote:

dancho/mazilo/all:

A bit of a side note but would anyone here know how to setup YATE for openwrt? It seems to have been ported and I can fire off a build that includes yate modules but I just don't know how to configure it for google voice.
Any advice?

thanks,
chhatc

Sorry that I couldn't be of any help because I don't use YATE, yet. sad

If you had an access to IRC, you can try #yate channel on FreeNode to get some helps.

Mazi

63 (edited by silicone 2012-01-26 19:11:30)

Re: releasing PBX (supporting Asterisk) interface for LuCI

Dancho - I would kiss you or have your first born in thanks for what you've done with this interface. THANK YOU!! Props to mazilo too - I used your info extensively to get my PAP2 and RTP300 working.

To get this working I simply added the packages to the final Backfire while in LUCI and it's working great with 3 sip and a gtalk account.

Now what will it take? to get this "callback" project working? That's the biggest reason I went down this path and have wasted countless hours learning my microscopic awareness of asterisk and my new wzr-hp-g300nh. *It's hard to learn linux and these systems in forums where people only speak linux and there's no apparent translation to english*. 

I've looked around and found the following links informative but I've nowhere near the competence required to compile this - I sure wish you success in bumping up #3 on your TODO list to #1

http://blog.jploh.com/2007/01/28/asteri … back-disa/
http://www.gufonero.com/asterisk/callback.html
http://nerdvittles.com/index.php?p=73
http://forums.digium.com/viewtopic.php?f=1&t=76673
http://forums.asterisk.org/viewtopic.ph … t=callback
http://forums.asterisk.org/viewtopic.ph … t=callback
http://www.voip-info.org/wiki/view/Aste … +Originate
http://www.voip-info.org/wiki/view/Aste … +Originate
http://www.voip-info.org/wiki/view/Asterisk+manager+API
http://www.voip-info.org/wiki/view/Aste … o-dial+out
http://www.voip-info.org/wiki/view/Aste … s+callback

not sure if this helps but apparently FreePBX has it as a working feature in the GUI for some time now.

Of course I'll continue reading and learning but I'm not confident in my ability to contribute before I die or telephones become extinct.

Re: releasing PBX (supporting Asterisk) interface for LuCI

dancho, does your interface support using YATE ?

65

Re: releasing PBX (supporting Asterisk) interface for LuCI

I was wondering where I can get the source? I downloaded the following, but couldnt find luci-app-pbx anywhere:

svn co svn://svn.openwrt.org/openwrt/branches/backfire
svn co svn://svn.openwrt.org/openwrt/trunk/

Re: releasing PBX (supporting Asterisk) interface for LuCI

@jm1

try here. from dancho's server

http://dancho.no-ip.com/pbx/luci-app-pbx-0.11.tar.gz

from openwrt china community's svn

https://dev.openwrt.org.cn/browser/luci … order=name

from luci svn

http://luci.subsignal.org/trac/browser/ … s/luci-pbx

Re: releasing PBX (supporting Asterisk) interface for LuCI

@jm1, Please get it from the LuCI SVN, as the one from my server is woefully outdated!

@nikescar, can you please remove the option from my server, as it is probably not the best option at the moment smile.

Cheers,
Iordan

Re: releasing PBX (supporting Asterisk) interface for LuCI

@silicone

Are you still using the interface? If so, I hope it's doing the job well. As far as call-back is concerned, that is still on my TODO list. I have call-through working, although I'd imagine that a person with free incoming calls would not care too much about that. I desperately need to find time to develop the rest of the features I have plans for.

Re: releasing PBX (supporting Asterisk) interface for LuCI

@chhatc,

No, my interface only supports asterisk for now. I would like to also add freeswitch support, but I hadn't even considered yate. Why should I consider yate instead of freeswitch? smile

Re: releasing PBX (supporting Asterisk) interface for LuCI

@tekoholic

I was faced with the choice of having a big complicated voicemail system or a simple one, and chose the simple one. In part, I wanted to save some space by not requiring the voicemail module for asterisk. I don't know how much of a show-stopper this is for individual users and very small businesses. It sounds like you are actually using this in a business setting, is that correct?

Re: releasing PBX (supporting Asterisk) interface for LuCI

@ccwufu

Yes, I see how this can happen. I'll take a look and see if it's possible to improve on the password handling. I think I should add a warning for what characters are not supported if there are such characters. Have you seen any other characters cause problems other than '&'? I'd imagine some other ones like " will probably also cause trouble...

Re: releasing PBX (supporting Asterisk) interface for LuCI

@dancho  Yes still using your interface and it works absolutely brilliantly!!

... still no progress on call back though.. and you're right, I am of those with a free incoming cell account - with call back my cost for my plan will go down to $0. Needless to say the motivation is strong smile

Re: releasing PBX (supporting Asterisk) interface for LuCI

@dancho
Are you working on freeswitch version of your package?

I'd like test it on ALIX plattform and publish to the forum the performance of: ALIX 2D + CD CARD + Freeswitch + LuCi PBX

Ruben

Re: releasing PBX (supporting Asterisk) interface for LuCI

@rubenmoran

Hey, I've had some trouble convincing OpenWRT to make a small change to the base installation which would enable the PBX voicemail to work, and so development has stalled a bit. When I get that sorted out, I was planning to first take a look at call-back support, and only then do something about freeswitch. It's not near at the moment.

Cheers!
Iordan

Re: releasing PBX (supporting Asterisk) interface for LuCI

Thanks by your reply. I was away from openwrt, I take some months playing on voyage linux + freeswitch. Works good ALIX 2D + Voyage Linux + FreeSwitch without GUI... so looking for take a decision about what GUI test (fusionpbx, blue.box, or create one) was how I got you and your creation. I'll test ALIX 2D + OpenWRT + Freeswitch and at same time  I'll study your code. So maybe I can make some work and comments that can help to generate code for freeswitch gui smile

Ruben