Hey Michael,<div><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="gmail_quote"><div>What happens if you do something like this at the CLI:<br>
originate sofia/gateway/gizmo/<num> <target ext><br></div></div></blockquote><div><br></div><div>This works! Although I got "command not found" when I did this from fs_cli... why's that? </div><div>
<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="gmail_quote"><div><br>Be sure to turn on sip trace for the external profile to see if anything interesting is happening.<br>
</div></div></blockquote><div><br></div><div>Weird. When I execute:</div><div><br></div><div>sofia profile gizmo siptrace on</div><div><br></div><div>I get:</div><div><br></div><div>Invalid Profile [gizmo]</div><div><br>
</div>
<div>This is the contents of /freeswitch/conf/sip_profiles/external/gizmo.xml:</div><div><div><include></div><div><gateway name="gizmo"></div><div><param name="username" value=UNAME/></div>
<div><param name="realm" value="<a href="http://proxy01.sipphone.com">proxy01.sipphone.com</a>"/></div><div><param name="from-user" value=UNAME/></div><div><param name="from-domain" value="<a href="http://proxy01.sipphone.com">proxy01.sipphone.com</a>"/></div>
<div><param name="password" value=PWD/></div><div><param name="caller-id-in-from" value="false"/></div><div><param name="extension" value="cluecon"/></div>
<div><param name="proxy" value="<a href="http://proxy01.sipphone.com">proxy01.sipphone.com</a>"/></div><div><param name="register-proxy" value="<a href="http://proxy01.sipphone.com">proxy01.sipphone.com</a>"/></div>
<div><param name="expire-seconds" value="3600"/></div><div><param name="register" value="true"/></div><div><param name="register-transport" value="udp"/></div>
<div><param name="retry_seconds" value="30"/></div><div><param name="caller-id-in-from" value="false"/></div><div></gateway></div><div></include></div></div>
<div><br></div><div>-Neil</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="gmail_quote"><div><font color="#888888">
-MC<br> <br></font></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div><div></div><div class="h5"><div><div><pre><div><br></div><font face="arial"><span style="white-space:normal">From this I'm getting a NO_USER_RESPONSE error:</span></font></pre>
2010-04-21 11:31:16.169900 [DEBUG] sofia.c:4153 Channel sofia/internal/<a href="mailto:1234@conference.freeswitch.org" target="_blank">1234@conference.freeswitch.org</a> entering state [terminated][480]<br>
2010-04-21 11:31:16.169900 [NOTICE] sofia.c:4789 Hangup sofia/internal/<a href="mailto:1234@conference.freeswitch.org" target="_blank">1234@conference.freeswitch.org</a> [CS_CONSUME_MEDIA] [NO_USER_RESPONSE]<br>2010-04-21 11:31:16.169900 [DEBUG] switch_channel.c:2071 Send signal sofia/internal/<a href="mailto:1234@conference.freeswitch.org" target="_blank">1234@conference.freeswitch.org</a> [KILL]<br>
2010-04-21 11:31:16.169900 [DEBUG] switch_core_session.c:1018 Send signal sofia/internal/<a href="mailto:1234@conference.freeswitch.org" target="_blank">1234@conference.freeswitch.org</a> [BREAK]<br>2010-04-21 11:31:16.169900 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/<a href="mailto:1234@conference.freeswitch.org" target="_blank">1234@conference.freeswitch.org</a>) Running State Change CS_HANGUP<br>
2010-04-21 11:31:16.170748 [DEBUG] switch_core_state_machine.c:499 (sofia/internal/<a href="mailto:1234@conference.freeswitch.org" target="_blank">1234@conference.freeswitch.org</a>) State HANGUP<br>2010-04-21 11:31:16.170748 [DEBUG] mod_sofia.c:408 sofia/internal/<a href="mailto:1234@conference.freeswitch.org" target="_blank">1234@conference.freeswitch.org</a> Overriding SIP cause 408 with 480 from the other leg<br>
2010-04-21 11:31:16.170748 [DEBUG] mod_sofia.c:414 Channel sofia/internal/<a href="mailto:1234@conference.freeswitch.org" target="_blank">1234@conference.freeswitch.org</a> hanging up, cause: NO_USER_RESPONSE<br>2010-04-21 11:31:16.170748 [DEBUG] switch_core_state_machine.c:46 sofia/internal/<a href="mailto:1234@conference.freeswitch.org" target="_blank">1234@conference.freeswitch.org</a> Standard HANGUP, cause: NO_USER_RESPONSE<br>
2010-04-21 11:31:16.170748 [DEBUG] switch_core_state_machine.c:499 (sofia/internal/<a href="mailto:1234@conference.freeswitch.org" target="_blank">1234@conference.freeswitch.org</a>) State HANGUP going to sleep<br>2010-04-21 11:31:16.170748 [DEBUG] switch_core_state_machine.c:333 (sofia/internal/<a href="mailto:1234@conference.freeswitch.org" target="_blank">1234@conference.freeswitch.org</a>) State Change CS_HANGUP -> CS_REPORTING<br>
2010-04-21 11:31:16.170748 [DEBUG] switch_core_session.c:1018 Send signal sofia/internal/<a href="mailto:1234@conference.freeswitch.org" target="_blank">1234@conference.freeswitch.org</a> [BREAK]<br>2010-04-21 11:31:16.171750 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/<a href="mailto:1234@conference.freeswitch.org" target="_blank">1234@conference.freeswitch.org</a>) Running State Change CS_REPORTING<br>
2010-04-21 11:31:16.171750 [DEBUG] switch_core_state_machine.c:590 (sofia/internal/<a href="mailto:1234@conference.freeswitch.org" target="_blank">1234@conference.freeswitch.org</a>) State REPORTING<br>2010-04-21 11:31:16.171750 [DEBUG] switch_core_state_machine.c:53 sofia/internal/<a href="mailto:1234@conference.freeswitch.org" target="_blank">1234@conference.freeswitch.org</a> Standard REPORTING, cause: NO_USER_RESPONSE<br>
2010-04-21 11:31:16.171750 [DEBUG] switch_core_state_machine.c:590 (sofia/internal/<a href="mailto:1234@conference.freeswitch.org" target="_blank">1234@conference.freeswitch.org</a>) State REPORTING going to sleep<br>2010-04-21 11:31:16.171750 [DEBUG] switch_core_state_machine.c:327 (sofia/internal/<a href="mailto:1234@conference.freeswitch.org" target="_blank">1234@conference.freeswitch.org</a>) State Change CS_REPORTING -> CS_DESTROY<br>
2010-04-21 11:31:16.171750 [DEBUG] switch_core_session.c:1018 Send signal sofia/internal/<a href="mailto:1234@conference.freeswitch.org" target="_blank">1234@conference.freeswitch.org</a> [BREAK]<br>2010-04-21 11:31:16.171750 [DEBUG] switch_core_session.c:1161 Session 4 (sofia/internal/<a href="mailto:1234@conference.freeswitch.org" target="_blank">1234@conference.freeswitch.org</a>) Locked, Waiting on external entities<br>
2010-04-21 11:31:16.177790 [DEBUG] switch_ivr_originate.c:3228 Originate Resulted in Error Cause: 18 [NO_USER_RESPONSE]<br><b>2010-04-21 11:31:16.177790 [ERR] mod_conference.c:4563 Cannot create outgoing channel, cause: NO_USER_RESPONSE</b><br>
2010-04-21 11:31:16.177790 [NOTICE] mod_conference.c:4566 Hangup sofia/internal/1001@server.IP [CS_EXECUTE] [NO_USER_RESPONSE]<br>2010-04-21 11:31:16.177790 [NOTICE] switch_core_session.c:1179 Session 4 (sofia/internal/<a href="mailto:1234@conference.freeswitch.org" target="_blank">1234@conference.freeswitch.org</a>) Ended<br>
2010-04-21 11:31:16.177790 [NOTICE] switch_core_session.c:1181 Close Channel sofia/internal/<a href="mailto:1234@conference.freeswitch.org" target="_blank">1234@conference.freeswitch.org</a> [CS_DESTROY]<br>2010-04-21 11:31:16.177790 [DEBUG] switch_core_state_machine.c:428 (sofia/internal/<a href="mailto:1234@conference.freeswitch.org" target="_blank">1234@conference.freeswitch.org</a>) Running State Change CS_DESTROY<br>
2010-04-21 11:31:16.177790 [DEBUG] switch_channel.c:2071 Send signal sofia/internal/1001@server.IP [KILL]<br>2010-04-21 11:31:16.177790 [DEBUG] switch_core_state_machine.c:439 (sofia/internal/<a href="mailto:1234@conference.freeswitch.org" target="_blank">1234@conference.freeswitch.org</a>) State DESTROY<br>
2010-04-21 11:31:16.177790 [DEBUG] mod_sofia.c:341 sofia/internal/<a href="mailto:1234@conference.freeswitch.org" target="_blank">1234@conference.freeswitch.org</a> SOFIA DESTROY<br>2010-04-21 11:31:16.177790 [DEBUG] switch_core_session.c:1018 Send signal sofia/internal/1001@server.IP [BREAK]<br>
<pre><font face="arial"><span style="white-space:normal">Strangely, I get the same error even if I put in some arbitrary gateway name in the lua code, so it seems like possibly the profile isn't being properly read. I also thought that perhaps I should be using "sofia/gateway/external::gizmo/<num>" instead of "../gizmo/..", but that didn't seem to work. I haven't made any other changes to conf files, though perhaps I'm missing something?</span></font></pre>
Thanks in advance,<br><font color="#888888">Neil</font></div></div>
<br></div></div><div class="im">_______________________________________________<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></div></blockquote></div><br>
<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>