<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] Freetdm error</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Here you go<BR>
<BR>
<a href="http://pastebin.freeswitch.org/13057">http://pastebin.freeswitch.org/13057</a><BR>
<BR>
Thanks<BR>
<BR>
<BR>
On 5/26/10 2:39 PM, &quot;Moises Silva&quot; &lt;<a href="moises.silva@gmail.com">moises.silva@gmail.com</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Pastebin the debug output of the FreeSWITCH log.<BR>
<BR>
Moises Silva<BR>
Senior Software Engineer<BR>
Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada<BR>
t. 1 905 474 1990 x 128 | e. <a href="moy@sangoma.com">moy@sangoma.com</a><BR>
<BR>
<BR>
On Wed, May 26, 2010 at 5:12 PM, Sean Holt &lt;<a href="sean@obscuradigital.com">sean@obscuradigital.com</a>&gt; wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hello all,<BR>
<BR>
I&#8217;ve been hacking at this issue for the last 3 days and I can&#8217;t get beyond this error when attempting to call out through my sangoma card.<BR>
<BR>
  SIP/2.0 503 Service Unavailable<BR>
   Via: SIP/2.0/UDP 192.168.100.6:12026;branch=z9hG4bK-d8754z-77564c04563bac12-1---d8754z-;rport=12026<BR>
   From: &quot;Sean Holt&quot;&lt;sip:<a href="2028@172.16.15.10">2028@172.16.15.10</a> &lt;<a href="http://2028@172.16.15.10">http://2028@172.16.15.10</a>&gt; &gt;;tag=25dacb3d<BR>
   To: &lt;sip:<a href="5102079553@172.16.15.10">5102079553@172.16.15.10</a> &lt;<a href="http://5102079553@172.16.15.10">http://5102079553@172.16.15.10</a>&gt; &gt;;tag=4St9j3N9yXr8g<BR>
   Call-ID: NWViZTI0ODljMmY1YTM5ZDRiZmQzNTUwYzgwNWVkMDQ.<BR>
   CSeq: 1 INVITE<BR>
   User-Agent: Configured by TCAPI<BR>
   Accept: application/sdp<BR>
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE<BR>
   Supported: precondition, path, replaces<BR>
   Allow-Events: talk, hold, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer<BR>
   Reason: Q.850;cause=34;text=&quot;NORMAL_CIRCUIT_CONGESTION&quot;<BR>
   Content-Length: 0<BR>
   Remote-Party-ID: &quot;5102079553&quot; &lt;sip:<a href="5102079553@172.16.15.10">5102079553@172.16.15.10</a> &lt;<a href="http://5102079553@172.16.15.10">http://5102079553@172.16.15.10</a>&gt; &gt;;party=calling;privacy=off;screen=no<BR>
<BR>
Here&#8217;s my configuration:<BR>
I&#8217;m trying to call out from my internal voip phone through my sangoma card b600.  My phone line is plugged into the FXO port.  Module (mod_freetdm) is successfully loaded<BR>
Dialplan:<BR>
&lt;extension name=&quot;main_number_53&quot;&gt;<BR>
      &lt;condition field=&quot;destination_number&quot; expression=&quot;^(\d{11})$|^(\d{10})$$&quot;&gt;<BR>
       &lt;action application=&quot;bridge&quot; data=&quot;freetdm/2/2/$1&quot;/&gt;<BR>
      &lt;/condition&gt;<BR>
 &lt;/extension&gt; <BR>
<BR>
Freetdm.conf file<BR>
[span wanpipe wp1]<BR>
name =&gt; FreeTDM<BR>
number =&gt; 1<BR>
trunk_type =&gt; FXS<BR>
fxs-channel =&gt; 1:5<BR>
<BR>
[span wanpipe wp2]<BR>
name =&gt; FreeTDM<BR>
number =&gt; 2<BR>
trunk_type =&gt; FXO<BR>
fxo-channel =&gt; 1:1-4<BR>
<BR>
Freetdm.conf.xml file<BR>
&lt;configuration name=&quot;freetdm.conf&quot; description=&quot;FreeTDM Configuration&quot;&gt;<BR>
  &lt;settings&gt;<BR>
    &lt;param name=&quot;debug&quot; value=&quot;9&quot;/&gt;<BR>
    &lt;!--&lt;param name=&quot;hold-music&quot; value=&quot;$${moh_uri}&quot;/&gt;--&gt;<BR>
  &lt;/settings&gt;<BR>
   &lt;analog_spans&gt;<BR>
           &lt;span name=&quot;wp1&quot;&gt;<BR>
                &lt;param name=&quot;context&quot; value=&quot;context_1&quot;/&gt;<BR>
                &lt;param name=&quot;dialplan&quot; value=&quot;XML&quot;/&gt;<BR>
           &lt;/span&gt;<BR>
            &lt;span name=&quot;wp2&quot;&gt;<BR>
                &lt;param name=&quot;context&quot; value=&quot;context_1&quot;/&gt;<BR>
                &lt;param name=&quot;dialplan&quot; value=&quot;XML&quot;/&gt;<BR>
            &lt;/span&gt;<BR>
   &lt;/analog_spans&gt;<BR>
&lt;/configuration&gt;<BR>
<BR>
Let me know if I need to provide additional info<BR>
<BR>
Thanks<BR>
<FONT COLOR="#888888">Sean</FONT> <BR>
<BR>
_______________________________________________<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_______________________________________________<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE>
</BODY>
</HTML>