Call script from Obi110

<< < (2/3) > >>

QBZappy:
Quote from: falloutphil on December 08, 2013, 07:35:59 am

One last question - I'm assuming Obi110 has no way of routing by time (peak/off-peak) - this would be very useful in the UK where most POTS calls are free after 7pm, but expensive at other times?


I think this could be accomplished indirectly. The OBi can be setup to use trunks. Then consider that routers can block internet access by time of day. Well at least a tomato firmware router can, and I suspect others can as well. Combine the two and you might end up with what you need.

This is what you need to work out. After a good long look at my Tomato Access Restriction settings, it might be possible to block a port/application/source or destination ip (whatever) in a granular way.

BTW can you accomplish this using a softphone. I believe Linphone can be controlled programmatically.

giqcass:
I had been asking Obi to implement a way to call a remote script based on a speed dial.  I was also hoping we could pass variables in the url.  I have an untested idea about running my own XMPP gateway and tricking my Obi into talking to it instead of Googles XMPP server.  When Google shuts down XMPP support I expect app engine to still support it.  That would give me a lot of ability to add features to my Obi.  If Obi would implement my feature request it would be a lot simpler and more flexible.

QBZappy:
@gigcass

List of XMPP servers
http://xmpp.org/xmpp-software/servers/

Over on the Jitsi forums I read a lot of people are using OPENFIRE
http://www.igniterealtime.org/projects/openfire/index.jsp

ejabberd
http://www.process-one.net/en/ejabberd/

free hosted service jabber.org (free XMPP account)
http://www.jabber.org/

Note that gmail accounts are federated, meaning that any xmpp account can communicate with another xmpp account. This is similar to email. Any email service can send to any other email service. After Google drops xmpp support for GV, it is not clear that gmail will still speak xmpp. This implies that it is not clear if using the gmail xmpp client in the OBI device can speak to a private xmpp server. This could be tested by setting up an private xmpp server and setting up an account other than a gmail account to see if it connects.

List of xmpp clients:
http://xmpp.org/xmpp-software/clients/

Note that xmpp is a chatting protocol not really intended to be used for voip. GTALK (voip product) somehow used xmpp to to do voip (note as opposed to sip). I'm not sure how the OBi can be expected to do voip with a private xmpp server. This is only possible because Google did a mashup of GTALK/GCHAT/GV that we can make a phone call. The only other voip app that I know which uses xmpp is Jitsi. AFAIK the xmpp part is simply used for presence and IM. The actual voip part of the app is using sip.

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

EDIT:
Apparently voice chat can be done on a private xmpp server. There is some potential in this line of reasoning, barring any technical issues about how all of this is implemented in the OBi itself. See here for an idea of how others have implemented this with means other than an OBi.
Voice Chat
http://community.igniterealtime.org/message/224079#224079

giqcass:
Quote from: falloutphil on December 08, 2013, 07:35:59 am

One last question - I'm assuming Obi110 has no way of routing by time (peak/off-peak) - this would be very useful in the UK where most POTS calls are free after 7pm, but expensive at other times?


I like the Idea QBZappy  had using trunk groups. The main issues I can think of.
Make sure register intervals are low so the Obi knows right away when the router cuts off a service.What happens if a call is going on when the service is shut off.  My first thought was it would cut off.  After thinking for a bit I realized the call itself could be on a different port then the registration server.
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.
Hairbrain Idea #2:
I think it would only work out on a 200 series Obi using Obi plus service.  The call could be routed through the Auto Attendant.  This would be done using a hotline feature or by sending calls to a sip uri at localhost.  I don't use ObiPlus so I don't have experience with that part of the system.

giqcass:
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.

Navigation

[0] Message Index

[#] Next page

[*] Previous page