<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,<br>
You may also be able to include the external port to your host
address (<a moz-do-not-send="true" href="http://talk.mayfirst.org"
target="_blank">talk.mayfirst.org</a>:5080). This will prevent
the need to amend your acl file
(/usr/local/freeswitch/conf/autoload_configs/acl.conf.xml).<br>
<br>
From my understanding, it is always best to have unregistered calls
(especially from 3rd parties) go to the external port (5080 uses the
public dialplan), as this is, in a standard setup, kept separate to
the default dialplan and helps prevent toll fraud. Someone please
correct me if I'm wrong :)<br>
<br>
Also, by the looks of is, the calls that are being sent to you from
flynumber are including your Mexico number (<a
moz-do-not-send="true" href="mailto:525560504865@46.19.209.14">525560504865@46.19.209.14</a>),
so you would need to add to the public dialplan an extension that
will handle that number.<br>
<br>
For example (this is untested but should work):<br>
<br>
<include><br>
<extension name="mexico_number"><br>
<condition field="destination_number" expression="^(<a
moz-do-not-send="true" href="mailto:525560504865@46.19.209.14">525560504865</a>)$"><br>
<action application="transfer" data="9999 XML public"/><br>
</condition><br>
</extension><br>
</include><br>
<br>
Hope this helps,<br>
<br>
thanks<br>
Matt<br>
<br>
<br>
<div class="moz-cite-prefix">On 30/05/2014 07:37, Denis Papes wrote:<br>
</div>
<blockquote
cite="mid:CAHT_yt_Hi_2rYj3TFNHhT0TW0LVH5XSOR=NktR71oUXGMxMz5Q@mail.gmail.com"
type="cite">
<div dir="ltr">Flynumber calls are coming from DIDWW network
(46.19.208.192 - 46.19.209.255), so you have to edit your
acl.conf.xml file and add DIDWW network in it
<div><br>
</div>
<div><node type="allow" cidr="<a moz-do-not-send="true"
href="http://46.19.208.0/23">46.19.208.0/23</a>"/><br>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Thu, May 29, 2014 at 9:13 PM, Jamie
McClelland <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:jm@mayfirst.org" target="_blank">jm@mayfirst.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I've purchased a flynumber (<a moz-do-not-send="true"
href="http://www.flynumber.com/" target="_blank">http://www.flynumber.com/</a>)
- which gives me<br>
a local mexico city number. It has an option to forward that
to a SIP<br>
account.<br>
<br>
The flynumber configuration asks for the protocol (SIP), the
host<br>
(<a moz-do-not-send="true" href="http://talk.mayfirst.org"
target="_blank">talk.mayfirst.org</a>) and the
"Username/ext" (I've put 9999 - since the<br>
extension <a moz-do-not-send="true"
href="mailto:9999@talk.mayfirst.org">9999@talk.mayfirst.org</a>
is our public conference line). It<br>
doesn't provide me with an option to enter a password to
register with.<br>
<br>
When I call the number, I get the following in our console
(see below).<br>
<br>
I think that's because I'm not explicitly allowing
un-registered callers<br>
to dial that extension. Is that true?<br>
<br>
And if so - can someone point me to the right
configuration/docs on how<br>
to enable that? I'm not sure this is something that should
be set in our<br>
dial plan, or in sip_profile/internal/?<br>
<br>
Many thanks!<br>
jamie<br>
<br>
p.s. I would like to enable any un-authenticated SIP user to
be able to<br>
call <a moz-do-not-send="true"
href="mailto:9999@talk.mayfirst.org">9999@talk.mayfirst.org</a>.<br>
<br>
<br>
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29
12:50:08.412870 [NOTICE] switch_channel.c:1054 New Channel
sofia/internal/<a moz-do-not-send="true"
href="mailto:525560504865@46.19.209.14">525560504865@46.19.209.14</a><br>
[b1322da6-8e70-47d0-8910-ea2a319fd741]
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29
12:50:08.412870 [DEBUG] switch_core_session.c:1052 Send
signal sofia/internal/<a moz-do-not-send="true"
href="mailto:525560504865@46.19.209.14">525560504865@46.19.209.14</a>
[BREAK]<br>
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29
12:50:08.412870 [DEBUG] switch_core_session.c:1052 Send
signal sofia/internal/<a moz-do-not-send="true"
href="mailto:525560504865@46.19.209.14">525560504865@46.19.209.14</a>
[BREAK]<br>
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29
12:50:08.412870 [DEBUG] switch_core_state_machine.c:467
(sofia/internal/<a moz-do-not-send="true"
href="mailto:525560504865@46.19.209.14">525560504865@46.19.209.14</a>)
Running State Change CS_NEW<br>
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29
12:50:08.412870 [DEBUG] sofia.c:8340 sofia/internal/<a
moz-do-not-send="true"
href="mailto:525560504865@46.19.209.14">525560504865@46.19.209.14</a>
receiving invite from <a moz-do-not-send="true"
href="http://46.19.209.14:5060" target="_blank">46.19.209.14:5060</a>
version: 1.4.4 -1 64bit 2014-05-29 12:50:08.412870 [DEBUG]
sofia.c:8507 IP 46.19.209.14 Rejected by acl "domains".
Falling back to Digest auth.<br>
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29
12:50:08.412870 [DEBUG] switch_core_session.c:1052 Send
signal sofia/internal/<a moz-do-not-send="true"
href="mailto:525560504865@46.19.209.14">525560504865@46.19.209.14</a>
[BREAK]<br>
2014-05-29 12:50:08.412870 [DEBUG] sofia.c:2033 detaching
session b1322da6-8e70-47d0-8910-ea2a319fd741<br>
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29
12:50:08.412870 [DEBUG] switch_core_state_machine.c:486
(sofia/internal/<a moz-do-not-send="true"
href="mailto:525560504865@46.19.209.14">525560504865@46.19.209.14</a>)
State NEW<br>
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29
12:50:18.492927 [WARNING] switch_core_state_machine.c:567<br>
b1322da6-8e70-47d0-8910-ea2a319fd741 sofia/internal/<a
moz-do-not-send="true"
href="mailto:525560504865@46.19.209.14">525560504865@46.19.209.14</a>
Abandone d<br>
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29
12:50:18.492927 [NOTICE] switch_core_state_machine.c:570
Hangup sofia/internal/<a moz-do-not-send="true"
href="mailto:525560504865@46.19.209.14">525560504865@46.19.209.14</a>
[CS_NEW] [WRONG_CALL_STATE]<br>
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29
12:50:18.492927 [DEBUG] switch_channel.c:3216 Send signal
sofia/internal/<a moz-do-not-send="true"
href="mailto:525560504865@46.19.209.14">525560504865@46.19.209.14</a>
[KILL]<br>
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29
12:50:18.492927 [DEBUG] switch_core_session.c:1387 Send
signal sofia/internal/<a moz-do-not-send="true"
href="mailto:525560504865@46.19.209.14">525560504865@46.19.209.14</a>
[BREAK]<br>
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29
12:50:18.492927 [DEBUG] switch_core_state_machine.c:467
(sofia/internal/<a moz-do-not-send="true"
href="mailto:525560504865@46.19.209.14">525560504865@46.19.209.14</a>)
Running State Change CS_HANGUP<br>
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29
12:50:18.492927 [DEBUG] switch_core_state_machine.c:730
(sofia/internal/<a moz-do-not-send="true"
href="mailto:525560504865@46.19.209.14">525560504865@46.19.209.14</a>)
Callstate Change DOWN -> HANGUP<br>
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29
12:50:18.492927 [DEBUG] switch_core_state_machine.c:732
(sofia/internal/<a moz-do-not-send="true"
href="mailto:525560504865@46.19.209.14">525560504865@46.19.209.14</a>)
State HANGUP<br>
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29
12:50:18.492927 [DEBUG] mod_sofia.c:413 Channel
sofia/internal/<a moz-do-not-send="true"
href="mailto:525560504865@46.19.209.14">525560504865@46.19.209.14</a>
hanging up, cause: WRONG_CALL_STATE<br>
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29
12:50:18.492927 [DEBUG] switch_core_state_machine.c:58
sofia/internal/<a moz-do-not-send="true"
href="mailto:525560504865@46.19.209.14">525560504865@46.19.209.14</a>
Standard HANGUP, cause: WRONG_CALL_STATE<br>
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29
12:50:18.492927 [DEBUG] switch_core_state_machine.c:732
(sofia/internal/<a moz-do-not-send="true"
href="mailto:525560504865@46.19.209.14">525560504865@46.19.209.14</a>)
State HANGUP going to sleep<br>
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29
12:50:18.492927 [DEBUG] switch_core_state_machine.c:499
(sofia/internal/<a moz-do-not-send="true"
href="mailto:525560504865@46.19.209.14">525560504865@46.19.209.14</a>)
State Change CS_HANGUP -> CS_REPORTING<br>
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29
12:50:18.492927 [DEBUG] switch_core_session.c:1387 Send
signal sofia/internal/<a moz-do-not-send="true"
href="mailto:525560504865@46.19.209.14">525560504865@46.19.209.14</a>
[BREAK]<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
May First/People Link<br>
Growing networks to build a just world<br>
<a moz-do-not-send="true" href="http://www.mayfirst.org"
target="_blank">http://www.mayfirst.org</a><br>
<a moz-do-not-send="true"
href="https://support.mayfirst.org" target="_blank">https://support.mayfirst.org</a><br>
<br>
OpenPGP Key: <a moz-do-not-send="true"
href="http://current.workingdirectory.net/pages/identity/"
target="_blank">http://current.workingdirectory.net/pages/identity/</a><br>
xmpp: <a moz-do-not-send="true"
href="mailto:jamie@im.mayfirst.org">jamie@im.mayfirst.org</a><br>
</font></span><br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a moz-do-not-send="true"
href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a moz-do-not-send="true" href="http://www.cudatel.com"
target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://wiki.freeswitch.org"
target="_blank">http://wiki.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://www.cluecon.com"
target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
</body>
</html>