<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Well, I guess I over-thought it with a little bit of novice. All I had to do is to use bridge with transfer_ringback:<br>&lt;extension name="gtalk_ext_1000"&gt;<br>&nbsp; &lt;condition field="destination_number" expression="^(1000)$"&gt;<br>&nbsp;&nbsp;&nbsp; &lt;action application="set" data="ringback=${us-ring}"/&gt;<br>&nbsp;&nbsp;&nbsp; <b>&lt;action application="set" data="transfer_ringback=${us-ring}"/&gt;</b><br>&nbsp;&nbsp;&nbsp; <b>&lt;action application="set" data="call_timeout=60"/&gt;</b><br>&nbsp;&nbsp;&nbsp; &lt;action application="set" data="hangup_after_bridge=true"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;action application="set" data="continue_on_fail=true"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;action application="set" data="execute_on_answer=send_dtmf 1"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;action application="answer"/&gt;<br>&nbsp;&nbsp;&nbsp; <b>&lt;action application="bridge" data="{sip_invite_domain=$${domain}}user/1000@${domain_name}"/&gt;</b><br>&nbsp;&nbsp;&nbsp; &lt;action application="sleep" data="1000"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;action application="hangup"/&gt;<br>&nbsp; &lt;/condition&gt;<br>&lt;/extension&gt;<br><br><br><br><hr id="stopSpelling">From: majdi@ieee.org<br>To: freeswitch-users@lists.freeswitch.org<br>Date: Tue, 2 Nov 2010 20:49:38 +0000<br>Subject: [Freeswitch-users] Dingaling/gtalk parking and bridging extension        dialplan<br><br>

<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

</style>


Hello guys, <br>I am looking for your help and experience in putting a more efficient though hopefully simple extension dialplan to handle incoming Dingaling/gtalk call. <br>This will help all Dingaling users especially with the limitation of Google Voice of having 25 seconds before forwarding the call to voicemail, since Google does not allow disabling the voicemail forwarding.<br>Basically, I want to immediately allow FS to answer the Jingle/gtalk call and park it, but keep ringing the caller leg, then call the SIP extension and once it is answered to bridge the call with the parked Jingle/gtalk and stop ringing.<br>The call flow:<br>- Answer Jingle/gtalk<br>- Park the call and keep ringing treatment back to caller<br>- Call extension 1000 (SIP)<br>- When 1000 answer =&gt; Pick up parked gtalk call and stop ringing.<br>- If timeout (60 sec) =&gt; Disconnect both SIP and gtalk call legs&nbsp; (no voicemail forwarding)<br><br>Thanks,<br>                                               
<br>_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org                                               </body>
</html>