Hi all,
I've had my Obi110 for 2 weeks and my config is gradually getting more and more complex!
I'm pretty happy with it now, it's a sweet box - but I had yet another idea today.
I want to be able to call a script (either remotely via REST or whatever, or installed on the Obi110 itself) that will be triggered on a certain sequence of digits - the script will then interrogate a database and perhaps replace the number with a cheaper alternative.
I doesn't look like this is possible from Obi110 - but wanted to check if anyone had any success in anything like this?
Can the Obi make remote script calls OR can I install scripts on the Obi (shell, Perl, Python, just about anything would do as it's a simple script)?
The best I can come up with is call a SIP trunk with the dialled number as a trunk variable and then offload processing to my SIP server - I don't even know if this is possible, and I really need to process the number *before* I decide which SIP service or POTS to call with. So this is messy from the outset.
I suspect I'll need to setup something like Asterix on my local computer to handle something this complex.... but interested to hear people's thoughts!
---------
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?
Thanks,
Phil.