Hi,<div><br></div><div>In the dialplan I have the extension "Local_extension" with "john" and it's working when I call john from the account 1000 with softphone.</div><div><br></div><div>When I try to make a call from Gtalk to FS I have that in the console :</div>
<div><br></div><div><br></div><div><br></div><div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">09-11-05 09:25:58.370659 [DEBUG] switch_rtp.c:2780 Activate VAD codec PCMU 20ms</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.370659 [DEBUG] mod_dingaling.c:1184 (DingaLing/new) State Change CS_INIT -> CS_ROUTING</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.370659 [DEBUG] switch_core_session.c:969 Send signal DingaLing/new [BREAK]</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.370659 [DEBUG] mod_dingaling.c:1333 DingaLing/new CHANNEL KILL</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.370659 [DEBUG] switch_core_state_machine.c:330 (DingaLing/new) State INIT going to sleep</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.370659 [DEBUG] switch_core_state_machine.c:306 (DingaLing/new) Running State Change CS_ROUTING</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.370659 [DEBUG] switch_core_state_machine.c:333 (DingaLing/new) State ROUTING</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.370659 [DEBUG] mod_dingaling.c:1198 DingaLing/new CHANNEL ROUTING</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.370659 [DEBUG] switch_core_state_machine.c:78 DingaLing/new Standard ROUTING</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.370659 [INFO] mod_dialplan_xml.c:391 Processing <a href="http://support.voip@gmail.com/gmail.B8861D13-">support.voip@gmail.com/gmail.B8861D13-</a>>john in context public</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">Dialplan: DingaLing/new parsing [public->unloop] continue=false</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">Dialplan: DingaLing/new Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">Dialplan: DingaLing/new Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">Dialplan: DingaLing/new parsing [public->outside_call] continue=true</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">Dialplan: DingaLing/new Absolute Condition [outside_call]</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">Dialplan: DingaLing/new Action set(outside_call=true) </p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">Dialplan: DingaLing/new parsing [public->call_debug] continue=true</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">Dialplan: DingaLing/new Regex (FAIL) [call_debug] ${call_debug}(false) =~ /^true$/ break=never</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">Dialplan: DingaLing/new parsing [public->public_extensions] continue=false</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">Dialplan: DingaLing/new Regex (FAIL) [public_extensions] destination_number(john) =~ /^(10[01][0-9])$/ break=on-false</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">Dialplan: DingaLing/new parsing [public->public_did] continue=false</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">Dialplan: DingaLing/new Regex (FAIL) [public_did] destination_number(john) =~ /^(5551212)$/ break=on-false</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.370659 [DEBUG] switch_core_state_machine.c:114 (DingaLing/new) State Change CS_ROUTING -> CS_EXECUTE</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.370659 [DEBUG] switch_core_session.c:969 Send signal DingaLing/new [BREAK]</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.370659 [DEBUG] mod_dingaling.c:1333 DingaLing/new CHANNEL KILL</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.370659 [DEBUG] switch_core_state_machine.c:333 (DingaLing/new) State ROUTING going to sleep</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.370659 [DEBUG] switch_core_state_machine.c:306 (DingaLing/new) Running State Change CS_EXECUTE</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.370659 [DEBUG] switch_core_state_machine.c:340 (DingaLing/new) State EXECUTE</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.370659 [DEBUG] mod_dingaling.c:1215 DingaLing/new CHANNEL EXECUTE</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.370659 [DEBUG] switch_core_state_machine.c:151 DingaLing/new Standard EXECUTE</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">EXECUTE DingaLing/new set(outside_call=true)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.381289 [DEBUG] mod_dptools.c:752 DingaLing/new SET [outside_call]=[true]</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.381289 [NOTICE] switch_core_state_machine.c:179 Hangup DingaLing/new [CS_EXECUTE] [NORMAL_CLEARING]</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.381289 [DEBUG] switch_channel.c:1837 Send signal DingaLing/new [KILL]</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.381289 [DEBUG] libdingaling.c:298 Destroyed Session c1722311748</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.381289 [DEBUG] mod_dingaling.c:1333 DingaLing/new CHANNEL KILL</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.381289 [DEBUG] switch_core_session.c:969 Send signal DingaLing/new [BREAK]</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.381289 [DEBUG] mod_dingaling.c:1333 DingaLing/new CHANNEL KILL</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.390206 [DEBUG] switch_core_state_machine.c:476 (DingaLing/new) State HANGUP</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.390206 [DEBUG] mod_dingaling.c:1293 DingaLing/new CHANNEL HANGUP</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.390206 [DEBUG] switch_core_state_machine.c:46 DingaLing/new Standard HANGUP, cause: NORMAL_CLEARING</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.390206 [DEBUG] switch_core_state_machine.c:476 (DingaLing/new) State HANGUP going to sleep</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.390206 [DEBUG] switch_core_state_machine.c:340 (DingaLing/new) State EXECUTE going to sleep</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.390206 [DEBUG] switch_core_state_machine.c:306 (DingaLing/new) Running State Change CS_HANGUP</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.390206 [DEBUG] switch_core_state_machine.c:454 handler already called, skipping state handler.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.390206 [DEBUG] switch_core_state_machine.c:325 (DingaLing/new) State Change CS_HANGUP -> CS_REPORTING</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.390206 [DEBUG] switch_core_session.c:969 Send signal DingaLing/new [BREAK]</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.390206 [DEBUG] mod_dingaling.c:1333 DingaLing/new CHANNEL KILL</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.390206 [DEBUG] switch_core_state_machine.c:306 (DingaLing/new) Running State Change CS_REPORTING</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.390206 [DEBUG] switch_core_state_machine.c:567 (DingaLing/new) State REPORTING</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.390206 [DEBUG] switch_core_state_machine.c:53 DingaLing/new Standard REPORTING, cause: NORMAL_CLEARING</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.390206 [DEBUG] switch_core_state_machine.c:567 (DingaLing/new) State REPORTING going to sleep</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.390206 [DEBUG] switch_core_state_machine.c:319 (DingaLing/new) State Change CS_REPORTING -> CS_DESTROY</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.390206 [DEBUG] switch_core_session.c:969 Send signal DingaLing/new [BREAK]</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.390206 [DEBUG] mod_dingaling.c:1333 DingaLing/new CHANNEL KILL</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.390206 [DEBUG] switch_core_session.c:1106 Session 1 (DingaLing/new) Locked, Waiting on external entities</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.390206 [NOTICE] switch_core_session.c:1124 Session 1 (DingaLing/new) Ended</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.390206 [NOTICE] switch_core_session.c:1126 Close Channel DingaLing/new [CS_DESTROY]</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.390206 [DEBUG] switch_core_state_machine.c:413 (DingaLing/new) Running State Change CS_DESTROY</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.390206 [DEBUG] switch_core_state_machine.c:424 (DingaLing/new) State DESTROY</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.390206 [DEBUG] mod_dingaling.c:1231 NUKE RTP</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.390206 [DEBUG] switch_core_state_machine.c:60 DingaLing/new Standard DESTROY</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.390206 [DEBUG] switch_core_state_machine.c:424 (DingaLing/new) State DESTROY going to sleep</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">2009-11-05 09:25:58.459764 [DEBUG] libdingaling.c:1389 Processing 3 packets in retry queue</p><div><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br>
</span></font></div></div><div>Thanks</div><div><br></div><div><br><br><div class="gmail_quote">2009/11/4 Chris Chen <span dir="ltr"><<a href="mailto:chris.chen2004@gmail.com">chris.chen2004@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">you have to define the extension "john" or "bob" or whatever number you want in the dialplan for the context "public".<br>
<br>Just follow your jingle profile you define. Simple, no other tricks.<br>
<br>Thanks,<br><font color="#888888">Chris<br><br></font><div class="gmail_quote"><div><div></div><div class="h5">On Wed, Nov 4, 2009 at 11:56 AM, Jonathan Barou <span dir="ltr"><<a href="mailto:jbarou@sqli.com" target="_blank">jbarou@sqli.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex"><div><div></div><div class="h5">
Hi everybody,<br><br>I actually working on mod_dingaling (gtalk). I can make call from FS to Gtalk, and from Gtalk to FS.<br>But I have a problem, in jingle_profile I have a file like this :<br><br><include><br> <!-- Client Profile (Original mode) --><br>
<!-- to use this profile take the x- away from the open and close tags so its <profile> and </profile> --><br> <profile type="client"><br> <param name="name" value="<a href="http://gmail.com" target="_blank">gmail.com</a>"/><br>
<param name="login" value="<a href="http://toto@gmail.com/gtalk" target="_blank">toto@gmail.com/gtalk</a>"/><br> <param name="password" value="toto"/><br> <param name="dialplan" value="XML"/><br>
<param name="context" value="public"/><br> <param name="message" value="FreeSwitch"/><br> <param name="rtp-ip" value="$${bind_server_ip}"/><br>
<!-- <param name="ext-rtp-ip" value="auto-nat"/> --><br> <param name="auto-login" value="true"/><br> <!-- SASL "plain" or "md5" --><br>
<param name="sasl" value="md5"/><br> <!-- if the server where the jabber is hosted is not the same as the one in the jid --><br> <param name="server" value="<a href="http://talk.google.com" target="_blank">talk.google.com</a>"/><br>
<!-- Enable TLS or not --><br> <param name="tls" value="true"/><br> <!-- disable to trade async for more calls --><br> <param name="use-rtp-timer" value="true"/><br>
<!-- default extension (if one cannot be determined) --><br> <param name="exten" value="1000"/><br> <!-- VAD choose one --><br> <!-- <param name="vad" value="in"/> --><br>
<!-- <param name="vad" value="out"/> --><br> <param name="vad" value="both"/><br> <!--<param name="avatar" value="/path/to/tiny.jpg"/>--><br>
<!--<param name="candidate-acl" value="wan.auto"/>--><br> <param name="local-network-acl" value="localnet.auto"/><br> </profile><br></include><br>
<br><br><param name="exten" value="1000"/> here when I put an user account like john or bob its doesn't work whereas I put something like 1000 or 8400 it works.<br><br>When I tried to put a real phone number It doesn't work too (I have a gateway with my PBX).<br>
<br>Somebody know, why it doesn't work with name and work with number ?<br><br>Thanks.<br><font color="#888888"><br clear="all"><br>-- <br>Jonathan BAROU<br>SQLI LYON - CRCI <br>0472405368<br><a href="mailto:jbarou@sqli.com" target="_blank">jbarou@sqli.com</a><br>
<a href="mailto:lyon.crci@sqli.com" target="_blank">lyon.crci@sqli.com</a><br><br>
</font><br></div></div><div class="im">_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></div></blockquote></div><br>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Jonathan BAROU<br>SQLI LYON - CRCI <br>0472405368<br><a href="mailto:jbarou@sqli.com">jbarou@sqli.com</a><br><a href="mailto:lyon.crci@sqli.com">lyon.crci@sqli.com</a><br>
<br>
</div>