Call script from Obi110

<< < (3/3)

QBZappy:
Quote from: giqcass on December 08, 2013, 09:36:34 pm

Hairbrain Idea #1:
What if you created 2 xml files for auto provisioning?  One for night time and one for day time.  Set up your own server and make sure one file is available during the day with the correct dial plans and a different one is available at night. The Obi would grab the provisioning file and update automatically.  The Obi does a graceful reset after updates so if you are in the middle of a call it would reset until you hung up.

I think this would be trivial to setup, once you put the initial learning curve behind you. :) We could build off RonR's provisioning app. Can be setup using task scheduler, his apps are windows based. It could be used to push different configs at various times.

I found this interesting considering the topic.
Combining SIP and XMPP
http://www.onsip.com/about-voip/sip/combining-sip-and-xmpp

giqcass:
Quote from: QBZappy on December 08, 2013, 09:51:35 pm

We could build off RonR's provisioning app. Can be setup using task scheduler, his apps are windows based. It could be used to push different configs at various times.


I was thinking about using his script to make different preset xml files and then any server/language could be used to make sure the Obi has access to the appropriate file at the appropriate time.  Whatever system you use to host the provisioning files can do the file swapping.  A DDWRT or Tomato router could host the files on a usb drive and CRON could be set to move the files into a folder.  The Obi can be set up to look for the files in that folder.



Quote from: QBZappy on December 08, 2013, 09:51:35 pm

I found this interesting considering the topic.
Combining SIP and XMPP
http://www.onsip.com/about-voip/sip/combining-sip-and-xmpp


I read that article as well when I was researching my XMPP idea.

sdb-:
Quote from: giqcass on December 08, 2013, 09:47:54 pm

Quote from: QBZappy on December 08, 2013, 09:12:40 pm

What do you expect from connecting an OBi to a private xmpp server?


I know that the Obi sends information to the XMPP server about presence and about who it wants to call.  If I set up my own XMPP server I could intercept that information and make the server do various things for me.  Add pygooglevoice to the XMPP server and it has the ability to initiate a callback to an Ipkall number I have forwarded to my Obi.


Sounds like straining at a gnat...

How about instead of XMPP, you run asterisk or freeswitch instead?  Having run a couple of different XMPP servers for several years, XMPP does pretty good at chat.  The jingle extension is a pain, and that is what you would need to interface with the OBi.  But the OBi will communicate with a SIP server for presence and in/outgoing calls so there is no need for XMPP.

There have been ways before to hook asterisk and freeswitch to googlevoice (such as pygooglevoice) and if it is possible in the future I'm sure there will be ways again.  That way you are standard VoIP as much as possible, and limit the impact of google voice changes to the "provider" layer of your server.

giqcass:
Quote from: sdb- on December 09, 2013, 08:31:58 pm

Sounds like straining at a gnat...

How about instead of XMPP, you run asterisk or freeswitch instead?  


Much of it is about learning.  I would like to see what else I can do with XMPP other then just chat and voice.  I would like to be able to interact with other systems.  Setting up my XMPP server won't cost me anything but time.  As far as I'm concerned XMPP is basically dead because even jabber.org seems to be stagnating but I already have a device that speaks it so why not play with it.  I want access to my appengine accounts via the phone.  I could also use, Voxeo, twillio, or tropo.  Voxeo is my favorite.   I plan on playing around with asterisk as well.  I have 4 ATAs sitting around here and I plan to get a Raspberry pi.  I haven't given freeswitch a lot of thought but I might check it out.  I mainly hang around this forum to see what everyone else is doing with their Obis so I appreciate your suggestions. Keep em coming!

If we could call a script like falloutphil said that would really rock!

Navigation

[0] Message Index

[*] Previous page