Thanks for clarifying.<div><br></div><div>Here&#39;s the output (with siptrace on) when trying to dial out over the gateway:</div><div><br></div><div><div>2010-04-22 15:13:10.104866 [NOTICE] switch_channel.c:669 New Channel sofia/internal/<a href="mailto:1001@server.com">1001@server.com</a> [a6aac86b-4a40-41f3-8968-f9b37501483a]</div>

<div>2010-04-22 15:13:10.112850 [INFO] mod_dialplan_xml.c:418 Processing neilp-&gt;5001 in context default</div><div>2010-04-22 15:13:10.120874 [INFO] switch_core_session.c:1750 Sending early media</div><div>2010-04-22 15:13:10.122856 [NOTICE] mod_sofia.c:1907 Pre-Answer sofia/internal/<a href="mailto:1001@server.com">1001@server.com</a>!</div>

<div>2010-04-22 15:13:10.123810 [NOTICE] switch_channel.c:669 New Channel sofia/internal/<a href="mailto:1234@conference.freeswitch.org">1234@conference.freeswitch.org</a> [af13cf37-eb6a-4e9f-b1cc-366b6a24aec5]</div><div>

2010-04-22 15:13:10.386879 [INFO] switch_rtp.c:2049 Auto Changing port from IP1 to IP2</div><div>2010-04-22 15:13:10.697870 [NOTICE] sofia.c:4789 Hangup sofia/internal/<a href="mailto:1234@conference.freeswitch.org">1234@conference.freeswitch.org</a> [CS_CONSUME_MEDIA] [NO_USER_RESPONSE]</div>

<div>2010-04-22 15:13:10.706880 [ERR] mod_conference.c:4563 Cannot create outgoing channel, cause: NO_USER_RESPONSE</div><div>2010-04-22 15:13:10.706880 [NOTICE] mod_conference.c:4566 Hangup sofia/internal/<a href="mailto:1001@server.com">1001@server.com</a> [CS_EXECUTE] [NO_USER_RESPONSE]</div>

<div>2010-04-22 15:13:10.706880 [NOTICE] switch_core_session.c:1179 Session 2 (sofia/internal/<a href="mailto:1234@conference.freeswitch.org">1234@conference.freeswitch.org</a>) Ended</div><div>2010-04-22 15:13:10.706880 [NOTICE] switch_core_session.c:1181 Close Channel sofia/internal/<a href="mailto:1234@conference.freeswitch.org">1234@conference.freeswitch.org</a> [CS_DESTROY]</div>

<div>2010-04-22 15:13:10.714854 [NOTICE] switch_core_session.c:1179 Session 1 (sofia/internal/<a href="mailto:1001@server.com">1001@server.com</a>) Ended</div><div>2010-04-22 15:13:10.714854 [NOTICE] switch_core_session.c:1181 Close Channel sofia/internal/<a href="mailto:1001@server.com">1001@server.com</a> [CS_DESTROY]</div>

</div><div><br></div><div><br></div><div> In case it is relevant, the call is triggered in a lua script which is executed by dialing a extension 5001. The dialplan in freeswitch/conf/dialplan/default/5001_gizmo.xml:</div>

<div><div> &lt;extension name=&quot;gizmo&quot;&gt;</div><div>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^5001$&quot;&gt;</div><div>      &lt;action application=&quot;lua&quot; data=&quot;makecall.lua&quot;/&gt;</div>

<div>    &lt;/condition&gt;</div><div>  &lt;/extension&gt;</div></div><div><br></div><div>makecall.lua:</div><div><div>function make_call()</div><div>  sessiondata = &quot;sofia/gateway/gizmo/&lt;num&gt;&quot;</div><div>
  new_session = freeswitch.Session(sessiondata)</div>
<div>end</div><div>make_call()</div></div><div><br></div><div><br><br><div class="gmail_quote">On Thu, Apr 22, 2010 at 2:58 PM, William Suffill <span dir="ltr">&lt;<a href="mailto:william.suffill@gmail.com">william.suffill@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;">gizmo is your gateway.<br><br><br>siptrace is by profile. <br><br><br>sofia status in the cli will list your profiles/gateways (default cfgs use internal/external)<br>

<br>so in that case sofia profile external siptrace on 
<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></div>