New GTalk Dial Plan Method

Latest news about SIP Sorcery

Postby jadam » Sat Dec 12, 2009 11:37 am

Thanks for the info Mike so I've used Gmail rather than Googlemail accounts and it works fine as you say from one account to the other. I looked it up and in the UK when you sign up Google give you a @googlemail rather than @gmail, because of a legal issue with another company already using gmail.com or gmail.co.uk. I proxied my IP to the US instead and signed up, also for googlevoice :D Apologies for ever doubting.
The other point was about seeing the long running dialplan terminated message and the possibility for the Gtalk functionality causing the mystery bug?
jadam
 
Posts: 58
Joined: Sat Oct 18, 2008 9:05 pm
Location: England

Postby MikeTelis » Sat Dec 12, 2009 12:51 pm

The other point was about seeing the long running dialplan terminated message and the possibility for the Gtalk functionality causing the mystery bug?

Could be. Why don't you extend dialplan time-out by say, 10 seconds (I believe it's safe and harmless):

sys.ExtendScriptTimeout(10)

and check if this helps? :)
MikeTelis
 
Posts: 1138
Joined: Wed Jul 30, 2008 6:48 am

Re: New GTalk Dial Plan Method

Postby MrChris » Mon Jul 26, 2010 3:39 am

This is aswome. This is just what I was looking for (for the most part). I only have a outbound script setup and working fine with gv. when I create an outbound dialplan with only the below in it, it sends the message to my gtalk client but my phone never rings. (Im guessing becuase its the only line in my inbound dialplan)? But im not sure what else needs to be in my inbound dialplan?

Code: Select all
sys.GTalk("gtalkfromuser","gtalkfrompassword","gtalkto","#{req.Header.From.FromURI.User} is calling your phone right now")


Any help with the correct syntax would be great,

Thanks a shitload,

MrChris
MrChris
 
Posts: 19
Joined: Thu Oct 01, 2009 2:22 am

Re: New GTalk Dial Plan Method

Postby MikeTelis » Mon Jul 26, 2010 4:01 am

You need to forward incoming call to your ATA, add this line (after sys.GTalk):

sys.Dial("#{sys.Username}@local")
MikeTelis
 
Posts: 1138
Joined: Wed Jul 30, 2008 6:48 am

Re: New GTalk Dial Plan Method

Postby MrChris » Mon Jul 26, 2010 4:53 am

Thanks MikeTelis that did the trick!

The more and more I think about it the more I cant help but see how much potential this can have. When will we see the same build version go public that we see on the main website?

Thanks,

MrChris
MrChris
 
Posts: 19
Joined: Thu Oct 01, 2009 2:22 am

Previous

Return to News

Who is online

Users browsing this forum: No registered users and 1 guest

cron