you may want to try

<action application="bridge" data="{ignore_early_media=true}dingaling/gmail.com/$1@gmail.com"/>

jingle has no concept of telephony early media waiting for answer and all that so it's not an exact fit into sip.


On Thu, Jan 8, 2009 at 7:32 AM, kriko <kristjan.ugrin@gmail.com> wrote:
Now I've made a small dialplan to call from sip phone directly to gtalk:

   <extension name="sip2jingle">
     <condition field="source" expression="mod_sofia"/>
     <condition field="destination_number" expression="^gmail\+([^\@]+)\@?(.*)$">
<!--    <action application="answer"/> -->
<!--     <action application="playback" data="tone_stream://path=${base_dir}/conf/tetris.ttml;loops=10"/>  -->
       <action application="set" data="continue_on_fail=true"/>
       <action application="set" data="ringback=%(2000,4000,440.0,480.0)"/>
       <action application="set" data="hangup_after_bridge=true"/>
       <action application="bridge" data="dingaling/gmail.com/$1@gmail.com"/>
     </condition>
   </extension>

Simple, calling works. However still can't get ringback to work. In this case the first leg is not yet aswered.
If I apply same stuff onto SIP to SIP call then ringback works. Dingaling problem?

Log:
http://pastebin.com/m37354677

This is all that
2009-01-08 14:25:56 [NOTICE] mod_dingaling.c:1110 negotiate_media() Ring-Ready dingaling/gmail.com/atomic.devterium@gmail.com!
2009-01-08 14:25:56 [DEBUG] mod_dingaling.c:1058 do_describe() Don't have my codec yet here's one



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400