<div dir="ltr"><div><div><div>Hi Claves,<br><br></div>I believe the problem is in the dialplan:<br><br>&lt;regex field=&quot;destination_number&quot; expression=&quot;\+1(\d{10})$&quot; /&gt;<br><br></div>The destination will be matched and formatted as a North American NAPA destination.<br>
<br></div>-Ciprian<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 19 November 2013 11:35, Claves do Amaral <span dir="ltr">&lt;<a href="mailto:claves.doamaral@gmail.com" target="_blank">claves.doamaral@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello to the list,<br>
<br>
this is my first post here so please, in case I am off topic or this<br>
is not the right place to ask questions redirect me to a more suitable<br>
list.<br>
<br>
I am trying to make calls using Freeswitch via Google Voice. I am<br>
based in London, UK. I have a standard Google voice account, I have<br>
charged it with £10 :) and successfully made a call via the Google web<br>
interface.<br>
<br>
I have compiled  the lastest stable (v1.2.stable) and configured<br>
freeswitch on a raspberry pi using the following tutorials<br>
<br>
<a href="http://raspberrypipbx.blogspot.co.uk/" target="_blank">http://raspberrypipbx.blogspot.co.uk/</a><br>
<a href="http://wiki.freeswitch.org/wiki/Google_Voice" target="_blank">http://wiki.freeswitch.org/wiki/Google_Voice</a><br>
<br>
I did not define any new account yet, using the user 1000.I am calling<br>
with a softphone (Ekiga). I successfully called the test numbers<br>
(5000, 9664) from my pc.<br>
<br>
Here I paste my configuration:<br>
<br>
root@raspberrypi:/usr/local/freeswitch# cat conf/jingle_profiles/client.xml<br>
&lt;include&gt;<br>
 &lt;profile type=&quot;client&quot;&gt;<br>
    &lt;param name=&quot;name&quot; value=&quot;gtalk&quot;/&gt;<br>
    &lt;param name=&quot;login&quot; value=&quot;<a href="http://claves.doamaral@gmail.com/talk" target="_blank">claves.doamaral@gmail.com/talk</a>&quot;/&gt;<br>
    &lt;param name=&quot;password&quot; value=&quot;********&quot;/&gt;<br>
    &lt;param name=&quot;server&quot; value=&quot;<a href="http://talk.google.com" target="_blank">talk.google.com</a>&quot; /&gt;<br>
    &lt;param name=&quot;message&quot; value=&quot;Hello from Claves do Amaral!&quot; /&gt;<br>
    &lt;param name=&quot;dialplan&quot; value=&quot;XML&quot;/&gt;<br>
    &lt;param name=&quot;context&quot; value=&quot;public&quot;/&gt;<br>
    &lt;param name=&quot;rtp-ip&quot; value=&quot;$${bind_server_ip}&quot;/&gt;<br>
    &lt;param name=&quot;ext-rtp-ip&quot; value=&quot;$${external_rtp_ip}&quot;/&gt;<br>
    &lt;param name=&quot;auto-login&quot; value=&quot;true&quot;/&gt;<br>
    &lt;!-- SASL &quot;plain&quot; or &quot;md5? --&gt;<br>
    &lt;param name=&quot;sasl&quot; value=&quot;plain&quot;/&gt;<br>
    &lt;!-- Enable TLS or not --&gt;<br>
    &lt;param name=&quot;tls&quot; value=&quot;true&quot;/&gt;<br>
    &lt;!-- disable to trade async for more calls --&gt;<br>
    &lt;param name=&quot;use-rtp-timer&quot; value=&quot;true&quot;/&gt;<br>
    &lt;param name=&quot;rtp-timer-name&quot; value=&quot;none&quot;/&gt;<br>
    &lt;!-- default extension --&gt;<br>
    &lt;param name=&quot;exten&quot; value=&quot;2001&quot;/&gt;<br>
    &lt;param name=&quot;vad&quot; value=&quot;both&quot;/&gt;<br>
    &lt;param name=&quot;candidate-acl&quot; value=&quot;wan.auto&quot;/&gt;<br>
    &lt;param name=&quot;local-network-acl&quot; value=&quot;localnet.auto&quot;/&gt;<br>
 &lt;/profile&gt;<br>
&lt;/include&gt;<br>
<br>
root@raspberrypi:/usr/local/freeswitch# cat conf/dialplan/default.xml<br>
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;<br>
&lt;include&gt;<br>
  &lt;context name=&quot;default&quot;&gt;<br>
    &lt;extension name=&quot;unloop&quot;&gt;<br>
      &lt;condition field=&quot;${unroll_loops}&quot; expression=&quot;^true$&quot;/&gt;<br>
      &lt;condition field=&quot;${sip_looped_call}&quot; expression=&quot;^true$&quot;&gt;<br>
        &lt;action application=&quot;deflect&quot; data=&quot;${destination_number}&quot;/&gt;<br>
      &lt;/condition&gt;<br>
    &lt;/extension&gt;<br>
    &lt;extension name=&quot;gvoice_out&quot;&gt;<br>
      &lt;condition regex=&quot;any&quot;&gt;<br>
        &lt;regex field=&quot;destination_number&quot; expression=&quot;^(\d*)$&quot; /&gt;<br>
        &lt;regex field=&quot;dialed_extension&quot;<br>
expression=&quot;^\+1(\d{10})@<a href="http://voice.google.com" target="_blank">voice.google.com</a>$&quot; /&gt;<br>
        &lt;regex field=&quot;destination_number&quot; expression=&quot;\+1(\d{10})$&quot; /&gt;<br>
        &lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;<br>
        &lt;action application=&quot;set&quot; data=&quot;ringback=${us-ring}&quot;/&gt;<br>
        &lt;action application=&quot;set&quot; data=&quot;call_timeout=45&quot; /&gt;<br>
        &lt;action application=&quot;ring_ready&quot;/&gt;<br>
        &lt;action application=&quot;bridge&quot;<br>
data=&quot;dingaling/gtalk/+$<a href="mailto:1@voice.google.com">1@voice.google.com</a>&quot;/&gt;<br>
      &lt;/condition&gt;<br>
    &lt;/extension&gt;<br>
.....<br>
<br>
This is the result of trying to call my mobile. I have tried to call<br>
using several prefixes (+44, 0044, 44,..) and changing the latest<br>
&lt;action&gt; above to different patterns (+1$<a href="mailto:1@voice.google.com">1@voice.google.com</a>,<br>
$<a href="mailto:1@voice.google.com">1@voice.google.com</a>, ...) but the result did not change.<br>
<br>
2013-11-19 10:53:44.350111 [INFO] mod_dialplan_xml.c:558 Processing<br>
Claves do Amaral &lt;1000&gt;-&gt;<a href="tel:447462295322" value="+447462295322">447462295322</a> in context default<br>
2013-11-19 10:53:44.370101 [NOTICE] mod_sofia.c:2821 Ring-Ready<br>
sofia/internal/1000@raspberrypi!<br>
2013-11-19 10:53:44.390105 [NOTICE] mod_dptools.c:948 Ring Ready<br>
sofia/internal/1000@raspberrypi!<br>
2013-11-19 10:53:44.390105 [NOTICE] switch_channel.c:1052 New Channel<br>
dingaling/gtalk/+<a href="mailto:447462295322@voice.google.com">447462295322@voice.google.com</a><br>
[dc04188c-5108-11e3-a264-1dcc41a01c4a]<br>
2013-11-19 10:53:44.410083 [NOTICE] mod_dingaling.c:1807 Ring-Ready<br>
dingaling/gtalk/+<a href="mailto:447462295322@voice.google.com">447462295322@voice.google.com</a>!<br>
2013-11-19 10:53:45.370020 [INFO] mod_dingaling.c:1561 Stun Success<br>
<a href="http://46.64.61.76:53970" target="_blank">46.64.61.76:53970</a><br>
2013-11-19 10:53:45.390046 [NOTICE] mod_dingaling.c:864 Hangup<br>
dingaling/gtalk/+<a href="mailto:447462295322@voice.google.com">447462295322@voice.google.com</a> [CS_INIT]<br>
[NORMAL_CLEARING]<br>
2013-11-19 10:53:45.410085 [INFO] mod_dptools.c:3201 Originate Failed.<br>
 Cause: NORMAL_CLEARING<br>
2013-11-19 10:53:45.410085 [NOTICE] switch_channel.c:4643 Hangup<br>
sofia/internal/1000@raspberrypi [CS_EXECUTE] [NORMAL_CLEARING]<br>
2013-11-19 10:53:45.430173 [NOTICE] switch_core_session.c:1567 Session<br>
11 (sofia/internal/1000@raspberrypi) Ended<br>
2013-11-19 10:53:45.430173 [NOTICE] switch_core_session.c:1571 Close<br>
Channel sofia/internal/1000@raspberrypi [CS_DESTROY]<br>
2013-11-19 10:53:45.650107 [INFO] mod_dingaling.c:1561 Stun Success<br>
<a href="http://46.64.61.76:53971" target="_blank">46.64.61.76:53971</a><br>
2013-11-19 10:53:45.970013 [INFO] mod_dingaling.c:1561 Stun Success<br>
<a href="http://46.64.61.76:53972" target="_blank">46.64.61.76:53972</a><br>
2013-11-19 10:53:46.110013 [INFO] mod_dingaling.c:1561 Stun Success<br>
<a href="http://46.64.61.76:53973" target="_blank">46.64.61.76:53973</a><br>
2013-11-19 10:53:46.130083 [NOTICE] switch_core_session.c:1567 Session<br>
12 (dingaling/gtalk/+<a href="mailto:447462295322@voice.google.com">447462295322@voice.google.com</a>) Ended<br>
2013-11-19 10:53:46.130083 [NOTICE] switch_core_session.c:1571 Close<br>
Channel dingaling/gtalk/+<a href="mailto:447462295322@voice.google.com">447462295322@voice.google.com</a> [CS_DESTROY]<br>
<br>
<br>
Please, can you help?<br>
Claves<br>
<br>
<br>
--<br>
Claves do Amaral<br>
<br>
Email: <a href="mailto:claves.doamaral@gmail.com">claves.doamaral@gmail.com</a><br>
LinkedIn: <a href="http://www.linkedin.com/pub/claves-do-amaral/a/b3b/1a9" target="_blank">http://www.linkedin.com/pub/claves-do-amaral/a/b3b/1a9</a><br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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>
</blockquote></div><br><br clear="all"><br>-- <br>Best Regards,<br>Ciprian Dosoftei<br><br>The information transmitted is intended only for the addressee and may contain privileged and/or confidential material. If you are not the intended recipient, kindly contact the sender and delete the message.<br>
<br>Any disclosure, distribution or copying of this message is strictly prohibited without the expressed permission of the sender.
</div>