GoogleVoice call without merge

New features you'd like see on SIP Sorcery
Post Reply
scubed
Posts: 1
Joined: Fri Dec 23, 2011 11:39 pm

GoogleVoice call without merge

Post by scubed » Sat Dec 24, 2011 12:24 am

I have my phone set up to use GoogleVoice through SipSorcery and SipGate.
Recently, outgoing calls from SipSorcery stopped working.
(I have since fixed it.)

Looking at the documentation, the GoogleVoiceCall function requires the
call to come back to SipSorcery from the other SIP service (SipGate in this case).
So, it looks like I temporarily stopped having calls go back from SipGate to SipSorcery.
This presented itself by if I set up a 2nd SIP phone, it rings instead
of the one I'm calling from. If I pick it up, then finally the call goes through,
but ends when the original SipSorcery call times out.

While it works with merging the call into your original call,
it occurs to me that there can also be a simpler option.
Instead of staying attached to the original call and trying to
merge it in later, it could just tell GoogleVoice to call
both ends, and then ignore it and report success to the original caller.
Does GoogleVoice support doing that?

Original:
My phone --sip--> SipSorcery --> GoogleVoice
GoogleVoice --pots--> Their phone
GoogleVoice --pots--> SipGate --sip--> SipSorcery (which merges with original call)

Modified:
My phone --sip--> SipSorcery --> GoogleVoice, SipSorcery reports success.
GoogleVoice --pots--> Their phone
GoogleVoice --pots--> SipGate --sip--> My phone

Would that be possible?
So, then I could answer my phone as it rings a moment after making the call,
instead of just calling in the first place. This has 1 less edge.
(Of course, just calling is simpler from the user's perspective.)

MikeTelis
Posts: 1582
Joined: Wed Jul 30, 2008 6:48 am

Re: GoogleVoice call without merge

Post by MikeTelis » Sat Dec 24, 2011 4:01 am

scubed wrote:While it works with merging the call into your original call,
it occurs to me that there can also be a simpler option.
Instead of staying attached to the original call and trying to
merge it in later, it could just tell GoogleVoice to call
both ends, and then ignore it and report success to the original caller.
Does GoogleVoice support doing that?
Make sys.GoogleVoiceCall's time-out parameter short enough (like 1 sec) and it will fail, returning control to your dialplan. So, it's possible... but I can't see how this can be better than current behavior. Merging calls doesn't mean bridging calls. That is, Sipsorcery stays out of media path and does not introduce any extra delays or distortions in voice transmission.

Post Reply