<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
good news :)<br>
<br>
thanks<br>
Matt<br>
<br>
<br>
<div class="moz-cite-prefix">On 30/05/2014 20:13, Jamie McClelland
wrote:<br>
</div>
<blockquote cite="mid:20140530191355.GL18534@mayfirst.org"
type="cite">
<pre wrap="">Thank you Denis and Matt!
I ended up going with the solution of adding :5080 to our flynumber
configuration - since we don't actually want to give flynumber any extra
privileges. It works like a charm!!
jamie
On Fri May 30, Matt Broad wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
You may also be able to include the external port to your host address
(talk.mayfirst.org <a class="moz-txt-link-rfc2396E" href="http://talk.mayfirst.org"><http://talk.mayfirst.org></a>:5080). This will prevent the
need to amend your acl file
(/usr/local/freeswitch/conf/autoload_configs/acl.conf.xml).
>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 :)
Also, by the looks of is, the calls that are being sent to you from
flynumber are including your Mexico number (<a class="moz-txt-link-abbreviated" href="mailto:525560504865@46.19.209.14">525560504865@46.19.209.14</a>
<a class="moz-txt-link-rfc2396E" href="mailto:525560504865@46.19.209.14"><mailto:525560504865@46.19.209.14></a>), so you would need to add to the public
dialplan an extension that will handle that number.
For example (this is untested but should work):
<include>
<extension name="mexico_number">
<condition field="destination_number" expression="^(525560504865
<a class="moz-txt-link-rfc2396E" href="mailto:525560504865@46.19.209.14"><mailto:525560504865@46.19.209.14></a>)$">
<action application="transfer" data="9999 XML public"/>
</condition>
</extension>
</include>
Hope this helps,
thanks
Matt
On 30/05/2014 07:37, Denis Papes wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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
<node type="allow" cidr="46.19.208.0/23 <a class="moz-txt-link-rfc2396E" href="http://46.19.208.0/23"><http://46.19.208.0/23></a>"/>
On Thu, May 29, 2014 at 9:13 PM, Jamie McClelland <<a class="moz-txt-link-abbreviated" href="mailto:jm@mayfirst.org">jm@mayfirst.org</a>
<a class="moz-txt-link-rfc2396E" href="mailto:jm@mayfirst.org"><mailto:jm@mayfirst.org></a>> wrote:
Hi all,
I've purchased a flynumber (<a class="moz-txt-link-freetext" href="http://www.flynumber.com/">http://www.flynumber.com/</a>) - which
gives me
a local mexico city number. It has an option to forward that to a SIP
account.
The flynumber configuration asks for the protocol (SIP), the host
(talk.mayfirst.org <a class="moz-txt-link-rfc2396E" href="http://talk.mayfirst.org"><http://talk.mayfirst.org></a>) and the
"Username/ext" (I've put 9999 - since the
extension <a class="moz-txt-link-abbreviated" href="mailto:9999@talk.mayfirst.org">9999@talk.mayfirst.org</a> <a class="moz-txt-link-rfc2396E" href="mailto:9999@talk.mayfirst.org"><mailto:9999@talk.mayfirst.org></a>
is our public conference line). It
doesn't provide me with an option to enter a password to register
with.
When I call the number, I get the following in our console (see
below).
I think that's because I'm not explicitly allowing un-registered
callers
to dial that extension. Is that true?
And if so - can someone point me to the right configuration/docs
on how
to enable that? I'm not sure this is something that should be set
in our
dial plan, or in sip_profile/internal/?
Many thanks!
jamie
p.s. I would like to enable any un-authenticated SIP user to be
able to
call <a class="moz-txt-link-abbreviated" href="mailto:9999@talk.mayfirst.org">9999@talk.mayfirst.org</a> <a class="moz-txt-link-rfc2396E" href="mailto:9999@talk.mayfirst.org"><mailto:9999@talk.mayfirst.org></a>.
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29 12:50:08.412870
[NOTICE] switch_channel.c:1054 New Channel
<a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/525560504865@46.19.209.14">sofia/internal/525560504865@46.19.209.14</a>
<a class="moz-txt-link-rfc2396E" href="mailto:525560504865@46.19.209.14"><mailto:525560504865@46.19.209.14></a>
[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
<a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/525560504865@46.19.209.14">sofia/internal/525560504865@46.19.209.14</a>
<a class="moz-txt-link-rfc2396E" href="mailto:525560504865@46.19.209.14"><mailto:525560504865@46.19.209.14></a> [BREAK]
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29 12:50:08.412870
[DEBUG] switch_core_session.c:1052 Send signal
<a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/525560504865@46.19.209.14">sofia/internal/525560504865@46.19.209.14</a>
<a class="moz-txt-link-rfc2396E" href="mailto:525560504865@46.19.209.14"><mailto:525560504865@46.19.209.14></a> [BREAK]
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29 12:50:08.412870
[DEBUG] switch_core_state_machine.c:467
(<a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/525560504865@46.19.209.14">sofia/internal/525560504865@46.19.209.14</a>
<a class="moz-txt-link-rfc2396E" href="mailto:525560504865@46.19.209.14"><mailto:525560504865@46.19.209.14></a>) Running State Change CS_NEW
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29 12:50:08.412870
[DEBUG] sofia.c:8340 <a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/525560504865@46.19.209.14">sofia/internal/525560504865@46.19.209.14</a>
<a class="moz-txt-link-rfc2396E" href="mailto:525560504865@46.19.209.14"><mailto:525560504865@46.19.209.14></a> receiving invite from
46.19.209.14:5060 <a class="moz-txt-link-rfc2396E" href="http://46.19.209.14:5060"><http://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.
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29 12:50:08.412870
[DEBUG] switch_core_session.c:1052 Send signal
<a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/525560504865@46.19.209.14">sofia/internal/525560504865@46.19.209.14</a>
<a class="moz-txt-link-rfc2396E" href="mailto:525560504865@46.19.209.14"><mailto:525560504865@46.19.209.14></a> [BREAK]
2014-05-29 12:50:08.412870 [DEBUG] sofia.c:2033 detaching session
b1322da6-8e70-47d0-8910-ea2a319fd741
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29 12:50:08.412870
[DEBUG] switch_core_state_machine.c:486
(<a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/525560504865@46.19.209.14">sofia/internal/525560504865@46.19.209.14</a>
<a class="moz-txt-link-rfc2396E" href="mailto:525560504865@46.19.209.14"><mailto:525560504865@46.19.209.14></a>) State NEW
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29 12:50:18.492927
[WARNING] switch_core_state_machine.c:567
b1322da6-8e70-47d0-8910-ea2a319fd741
<a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/525560504865@46.19.209.14">sofia/internal/525560504865@46.19.209.14</a>
<a class="moz-txt-link-rfc2396E" href="mailto:525560504865@46.19.209.14"><mailto:525560504865@46.19.209.14></a> Abandone d
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29 12:50:18.492927
[NOTICE] switch_core_state_machine.c:570 Hangup
<a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/525560504865@46.19.209.14">sofia/internal/525560504865@46.19.209.14</a>
<a class="moz-txt-link-rfc2396E" href="mailto:525560504865@46.19.209.14"><mailto:525560504865@46.19.209.14></a> [CS_NEW] [WRONG_CALL_STATE]
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29 12:50:18.492927
[DEBUG] switch_channel.c:3216 Send signal
<a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/525560504865@46.19.209.14">sofia/internal/525560504865@46.19.209.14</a>
<a class="moz-txt-link-rfc2396E" href="mailto:525560504865@46.19.209.14"><mailto:525560504865@46.19.209.14></a> [KILL]
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29 12:50:18.492927
[DEBUG] switch_core_session.c:1387 Send signal
<a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/525560504865@46.19.209.14">sofia/internal/525560504865@46.19.209.14</a>
<a class="moz-txt-link-rfc2396E" href="mailto:525560504865@46.19.209.14"><mailto:525560504865@46.19.209.14></a> [BREAK]
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29 12:50:18.492927
[DEBUG] switch_core_state_machine.c:467
(<a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/525560504865@46.19.209.14">sofia/internal/525560504865@46.19.209.14</a>
<a class="moz-txt-link-rfc2396E" href="mailto:525560504865@46.19.209.14"><mailto:525560504865@46.19.209.14></a>) Running State Change CS_HANGUP
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29 12:50:18.492927
[DEBUG] switch_core_state_machine.c:730
(<a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/525560504865@46.19.209.14">sofia/internal/525560504865@46.19.209.14</a>
<a class="moz-txt-link-rfc2396E" href="mailto:525560504865@46.19.209.14"><mailto:525560504865@46.19.209.14></a>) Callstate Change DOWN -> HANGUP
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29 12:50:18.492927
[DEBUG] switch_core_state_machine.c:732
(<a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/525560504865@46.19.209.14">sofia/internal/525560504865@46.19.209.14</a>
<a class="moz-txt-link-rfc2396E" href="mailto:525560504865@46.19.209.14"><mailto:525560504865@46.19.209.14></a>) State HANGUP
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29 12:50:18.492927
[DEBUG] mod_sofia.c:413 Channel
<a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/525560504865@46.19.209.14">sofia/internal/525560504865@46.19.209.14</a>
<a class="moz-txt-link-rfc2396E" href="mailto:525560504865@46.19.209.14"><mailto:525560504865@46.19.209.14></a> hanging up, cause: WRONG_CALL_STATE
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29 12:50:18.492927
[DEBUG] switch_core_state_machine.c:58
<a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/525560504865@46.19.209.14">sofia/internal/525560504865@46.19.209.14</a>
<a class="moz-txt-link-rfc2396E" href="mailto:525560504865@46.19.209.14"><mailto:525560504865@46.19.209.14></a> Standard HANGUP, cause:
WRONG_CALL_STATE
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29 12:50:18.492927
[DEBUG] switch_core_state_machine.c:732
(<a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/525560504865@46.19.209.14">sofia/internal/525560504865@46.19.209.14</a>
<a class="moz-txt-link-rfc2396E" href="mailto:525560504865@46.19.209.14"><mailto:525560504865@46.19.209.14></a>) State HANGUP going to sleep
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29 12:50:18.492927
[DEBUG] switch_core_state_machine.c:499
(<a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/525560504865@46.19.209.14">sofia/internal/525560504865@46.19.209.14</a>
<a class="moz-txt-link-rfc2396E" href="mailto:525560504865@46.19.209.14"><mailto:525560504865@46.19.209.14></a>) State Change CS_HANGUP ->
CS_REPORTING
b1322da6-8e70-47d0-8910-ea2a319fd741 2014-05-29 12:50:18.492927
[DEBUG] switch_core_session.c:1387 Send signal
<a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/525560504865@46.19.209.14">sofia/internal/525560504865@46.19.209.14</a>
<a class="moz-txt-link-rfc2396E" href="mailto:525560504865@46.19.209.14"><mailto:525560504865@46.19.209.14></a> [BREAK]
--
May First/People Link
Growing networks to build a just world
<a class="moz-txt-link-freetext" href="http://www.mayfirst.org">http://www.mayfirst.org</a>
<a class="moz-txt-link-freetext" href="https://support.mayfirst.org">https://support.mayfirst.org</a>
OpenPGP Key: <a class="moz-txt-link-freetext" href="http://current.workingdirectory.net/pages/identity/">http://current.workingdirectory.net/pages/identity/</a>
xmpp: <a class="moz-txt-link-abbreviated" href="mailto:jamie@im.mayfirst.org">jamie@im.mayfirst.org</a> <a class="moz-txt-link-rfc2396E" href="mailto:jamie@im.mayfirst.org"><mailto:jamie@im.mayfirst.org></a>
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a> <a class="moz-txt-link-rfc2396E" href="mailto:consulting@freeswitch.org"><mailto: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-rfc2396E" href="mailto:FreeSWITCH-users@lists.freeswitch.org"><mailto: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>
_________________________________________________________________________
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>
<pre wrap="">
</pre>
</blockquote>
<pre wrap="">
</pre>
<blockquote type="cite">
<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>
<pre wrap="">
</pre>
<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>