<br><br><div class="gmail_quote">On Wed, Apr 21, 2010 at 3:10 PM, Neil Patel <span dir="ltr">&lt;<a href="mailto:neilp@cs.stanford.edu">neilp@cs.stanford.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I&#39;m trying to make a sip call using Gizmo. I set up the profile as specified <a href="http://wiki.freeswitch.org/wiki/Provider_Configuration:_Gizmo" target="_blank">here</a> and dropped it into /conf/sip_profiles/external/. I can see that the profile is registered when I check sofia status from CLI:<div>


<div>                     Name<span style="white-space: pre;">        </span>   Type<span style="white-space: pre;">        </span>                                      Data<span style="white-space: pre;">        </span>State</div>

<div>=================================================================================================</div><div>                 ...</div><div>         external::gizmo<span style="white-space: pre;">        </span>gateway<span style="white-space: pre;">        </span>            <a href="mailto:sip%3Aotalo@proxy01.sipphone.com" target="_blank">sip:otalo@proxy01.sipphone.com</a><span style="white-space: pre;">        </span>REGED</div>


<div>           ...</div><div>=================================================================================================</div></div><div><br></div><div>On a call event, I invoke the lua commands:<div><br></div><div>


<pre><div><span>sessiondata</span> <span>=</span> <span>&quot;</span><span>sofia/gateway/gizmo/&lt;num&gt;&quot;</span></div><div><span>new_session</span> <span>=</span> <span>freeswitch</span><span>.</span><span>Session</span><span>(</span><span>sessiondata</span><span>)</span></div>

</pre></div></div></blockquote><div>What happens if you do something like this at the CLI:<br>originate sofia/gateway/gizmo/&lt;num&gt; &lt;target ext&gt;<br><br>Be sure to turn on sip trace for the external profile to see if anything interesting is happening.<br>
-MC<br> <br></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><pre><div><br></div><font face="arial"><span style="white-space: normal;">From this I&#39;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 -&gt; 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 -&gt; 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&#39;t being properly read. I also thought that perhaps I should be using &quot;sofia/gateway/external::gizmo/&lt;num&gt;&quot; instead of &quot;../gizmo/..&quot;, but that didn&#39;t seem to work. I haven&#39;t made any other changes to conf files, though perhaps I&#39;m missing something?</span></font></pre>


Thanks in advance,<br><font color="#888888">Neil</font></div></div>
<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>