Wouldn’t the “phone” through the modem be done by VOIP – whether cable or ADSL – and therefore you would be looking at SIP for communications?
Try a search for something like SIP SDK or MSDN SIP and you may get some ideas. _____ Ian Thomas Albert Park, Victoria From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of mike smith Sent: Wednesday, December 17, 2014 11:49 AM To: Glen Harvy; ozDotNet Subject: Re: Programmatically call forward Your modem modern probably doesn't even connect to a phone line. Or may not, ADSL is often naked as well. So you'd need a DTMF with AUSTEL approved isolator. Hmmm. Or a sound card could do the generation, but you'd still need to get it isolated. On Wed, Dec 17, 2014 at 4:11 AM, Glen Harvy <g...@aquarius.com.au> wrote: The short answer is - Yes. A long time ago, in a galaxy far far away, there were modems. You plugged the phone line into them and then plugged the modem into your coms/serial port. The software would then send commands to the modem to send the appropriate tones for '*' '2' '1'' <phone number>' '#'. I see no reason why you still can't do it. CodeProject had several examples you can use to send the appropriate code to your modem/router and it should also be possible to interface with the modem/router via the network rather than the serial port. You may need an API to the router, not the telco service provider. On 16/12/2014 10:05 PM, Craig van Nieuwkerk wrote: Can I do this programatically though, from a .NET program? On Tue, Dec 16, 2014 at 9:00 PM, Mark Hurd <markeh...@gmail.com> wrote: On: *21<forward number># Off: #21# -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 16 December 2014 at 18:58, Craig van Nieuwkerk <crai...@gmail.com> wrote: > I have a client who wants to be able to have a button in our app to turn > on/off call forwarding on their phone system. > > Does Telstra (or Optus) have any API anyone knows about for things like > this? > > Craig -- Meski <http://courteous.ly/aAOZcv> http://courteous.ly/aAOZcv "Going to Starbucks for coffee is like going to prison for sex. Sure, you'll get it, but it's going to be rough" - Adam Hills