Just did a test, but no joy. I suspect I may have to dispense with the gateway settings and just bridge straight from the dial plan, but it is just a guess.<br><br><br>dialplan<br>----------------------------------------<br>
&lt;extension name=&quot;Local Dial&quot;&gt;<br>   &lt;condition field=&quot;destination_number&quot; expression=&quot;^9([2-9][0-9]{5})$&quot;&gt;<br>     &lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/phisys-2circles/01869$1&quot;/&gt;<br>
   &lt;/condition&gt;<br>&lt;/extension&gt;<br><br>gateway<br>---------------------------------------<br>&lt;include&gt;<br>  &lt;gateway name=&quot;phisys-2circles&quot;&gt;<br>    &lt;param name=&quot;from-domain&quot; value=&quot;80.40.150.150&quot;/&gt;<br>
    &lt;param name=&quot;proxy&quot; value=&quot;80.40.150.150&quot;/&gt;   <br>    &lt;param name=&quot;sip-port&quot; value=&quot;5060&quot;/&gt;<br>  &lt;/gateway&gt;<br>&lt;/include&gt;<br><br><br><br>errors<br>------------------------------------<br>
2011-08-02 11:32:42.056302 [DEBUG] mod_dptools.c:1059 sofia/internal/<a href="mailto:200@phisys.tele.phi.co.uk">200@phisys.tele.phi.co.uk</a> SET [RFC2822_DATE]=[Tue, 02 Aug 2011 11:32:42 +0100]<br>EXECUTE sofia/internal/<a href="mailto:200@phisys.tele.phi.co.uk">200@phisys.tele.phi.co.uk</a> bridge(sofia/gateway/phisys-2circles/01869321110)<br>
2011-08-02 11:32:42.073667 [ERR] mod_sofia.c:3940 Invalid Gateway<br>2011-08-02 11:32:42.073667 [NOTICE] mod_sofia.c:4282 Close Channel N/A [CS_NEW]<br>2011-08-02 11:32:42.076523 [DEBUG] switch_core_state_machine.c:452 () Running State Change CS_DESTROY<br>
2011-08-02 11:32:42.079574 [DEBUG] switch_core_state_machine.c:462 (N/A) State DESTROY<br>2011-08-02 11:32:42.079574 [DEBUG] mod_sofia.c:362 N/A SOFIA DESTROY<br>2011-08-02 11:32:42.081946 [DEBUG] switch_core_state_machine.c:462 (N/A) State DESTROY going to sleep<br>
2011-08-02 11:32:42.084166 [ERR] switch_ivr_originate.c:2640 Cannot create outgoing channel of type [sofia] cause: [INVALID_NUMBER_FORMAT]<br>2011-08-02 11:32:42.085649 [DEBUG] switch_ivr_originate.c:3506 Originate Resulted in Error Cause: 28 [INVALID_NUMBER_FORMAT]<br>
2011-08-02 11:32:42.087275 [INFO] mod_dptools.c:2623 Originate Failed.  Cause: INVALID_NUMBER_FORMAT<br>2011-08-02 11:32:42.088652 [DEBUG] switch_channel.c:2559 (sofia/internal/<a href="mailto:200@phisys.tele.phi.co.uk">200@phisys.tele.phi.co.uk</a>) Callstate Change RINGING -&gt; HANGUP<br>
2011-08-02 11:32:42.093248 [NOTICE] mod_dptools.c:2686 Hangup sofia/internal/<a href="mailto:200@phisys.tele.phi.co.uk">200@phisys.tele.phi.co.uk</a> [CS_EXECUTE] [INVALID_NUMBER_FORMAT]<br>2011-08-02 11:32:42.096925 [DEBUG] switch_channel.c:2575 Send signal sofia/internal/<a href="mailto:200@phisys.tele.phi.co.uk">200@phisys.tele.phi.co.uk</a> [KILL]<br>
<br><div class="gmail_quote">On 1 August 2011 20:50, Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Okay, so what happens when you dial out? Sorry, it&#39;s been a few days and I don&#39;t recall where we left off. Be sure to include console log w/ siptrace on <a href="http://pastebin.freeswitch.org" target="_blank">pastebin.freeswitch.org</a>.<div>

<br></div><div><font color="#888888">-MC</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Mon, Aug 1, 2011 at 12:35 PM, lloyd thomas <span dir="ltr">&lt;<a href="mailto:lloydie.t@gmail.com" target="_blank">lloydie.t@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">
I think they have my IP on a white list.<div><div></div><div><br><br><div class="gmail_quote">On 1 August 2011 16:24, Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Do they challenge you (digest auth) or do they have your IP address on a white list? That&#39;s a critical piece of information that only your provider can supply.<div><br></div><div><font color="#888888">-MC</font><div>

<div>
</div><div><br><br><div class="gmail_quote">On Fri, Jul 29, 2011 at 9:31 PM, lloyd thomas <span dir="ltr">&lt;<a href="mailto:lloydie.t@gmail.com" target="_blank">lloydie.t@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">OK Inbound working with:<br><br>  &lt;!--2circles --&gt;   <br>    &lt;list name=&quot;domains&quot; default=&quot;allow&quot;&gt;<br>



      &lt;node type=&quot;allow&quot; cidr=&quot;<a href="http://80.40.150.150/32" target="_blank">80.40.150.150/32</a>&quot;/&gt;<br>
    &lt;/list&gt;<br><br>Just need to sort outbound.<div><div></div><div><br><br><div class="gmail_quote">On 30 July 2011 04:59, lloyd thomas <span dir="ltr">&lt;<a href="mailto:lloydie.t@gmail.com" target="_blank">lloydie.t@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">Hi, dialling in produces the following error.<br><br>2011-07-30 04:56:07.818936 [DEBUG] sofia.c:6517 IP 80.40.150.150 Rejected by acl &quot;domains&quot;. Falling back to Digest auth.<br>




2011-07-30 04:56:07.826367 [WARNING] sofia_reg.c:1246 SIP auth challenge (INVITE) on sofia profile &#39;internal&#39; for [01869******@172.16.XXX.XXX] from ip 80.40.150.150<div><div></div><div><br>
<br><br><div class="gmail_quote">On 30 July 2011 04:34, lloyd thomas <span dir="ltr">&lt;<a href="mailto:lloydie.t@gmail.com" target="_blank">lloydie.t@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">





I am registering with a them. I could not find suitable example in <a href="http://wiki.freeswitch.org/wiki/SIP_Provider_Examples" target="_blank">http://wiki.freeswitch.org/wiki/SIP_Provider_Examples</a> which<div><div>




</div>
<div><br><br><div class="gmail_quote">
On 29 July 2011 21:57, Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">






Are you registering with the provider or are they registering with you? If they register with you then a user example is appropriate. If you are registering with them then all you need is a gateway configured. <div>-MC<div>






<div></div><div><br>
<br><div class="gmail_quote">On Fri, Jul 29, 2011 at 1:40 PM, lloyd thomas <span dir="ltr">&lt;<a href="mailto:lloydie.t@gmail.com" target="_blank">lloydie.t@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">







Sorry, example is not clear to me.<br>I don&#39;t understand why a user config is relevant to sip registration for a provider.<br>An example will help me more. Maybe CIDR attribute in a sip_profile gateway could help.<br>







<br>
<br><div class="gmail_quote">On 29 July 2011 19:55, Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@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">








Look at the cidr attribute in the user directory to authenticate by IP:<br><a href="http://wiki.freeswitch.org/wiki/Acl#Users" target="_blank">http://wiki.freeswitch.org/wiki/Acl#Users</a><br><br>-Steve<br><br><div class="gmail_quote">








<div><div></div><div>On 29 July 2011 19:38, lloyd thomas <span dir="ltr">&lt;<a href="mailto:lloydie.t@gmail.com" target="_blank">lloydie.t@gmail.com</a>&gt;</span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div>

<p class="MsoNormal"><b><span style="font-family:&quot;Courier New&quot;">Hi I need a little help setting up a SIP registration for a provider that does not use auth.</span></b></p><p class="MsoNormal"><b>All I have is info below.</b><br>












<b><span style="font-family:&quot;Courier New&quot;"></span></b></p><p class="MsoNormal"><b><span style="font-family:&quot;Courier New&quot;"><br></span></b></p><p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;"><br>












</span></p><p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;">SBC/Proxy IP:</span><span style="font-family:&quot;Courier New&quot;">       
<a href="http://80.40.150.150:5060" target="_blank">80.40.150.150:5060</a></span></p>

<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;">Authentication: </span><span style="font-family:&quot;Courier New&quot;">     Trusted IP – 88.221.85.33</span></p>

<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;">Assigned
DDI:   </span><span style="font-family:&quot;Courier New&quot;">    
01869******, 01869******</span></p>

<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;">DTMF Method:</span><span style="font-family:&quot;Courier New&quot;">         RFC2833</span></p>

<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;">Status:             
</span><span style="font-family:&quot;Courier New&quot;">Live</span></p>

<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;">No. of
trunks:  </span><span style="font-family:&quot;Courier New&quot;">    
2x</span></p>

<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;">Session
Timer:  </span><span style="font-family:&quot;Courier New&quot;">    
1800</span></p>

<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;">Profile</span><b><span style="font-family:&quot;Courier New&quot;">:</span></b><span style="font-family:&quot;Courier New&quot;">            
Generic (35060)</span></p><p class="MsoNormal"><br><span style="font-family:&quot;Courier New&quot;"></span></p><p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;">Apparently the following is used for *</span></p>












<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;">[vibe]</span></p><p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;">type = friend</span></p><p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;">host = 80.40.150.150<br>












</span></p>

<br></div></div>_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
<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></blockquote></div><br><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%">
</div>
<div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%">

</div>
<br>_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
<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></blockquote></div><br>
<br>_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
<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></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
<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></blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>
</div></div><br>_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
<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></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
<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></blockquote></div><br>
</div></div><br>_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
<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></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<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>