I'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">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 class="Apple-tab-span" style="white-space:pre">        </span> Type<span class="Apple-tab-span" style="white-space:pre">        </span> Data<span class="Apple-tab-span" style="white-space:pre">        </span>State</div>
<div>=================================================================================================</div><div> ...</div><div> external::gizmo<span class="Apple-tab-span" style="white-space:pre">        </span>gateway<span class="Apple-tab-span" style="white-space:pre">        </span> <a href="mailto:sip%3Aotalo@proxy01.sipphone.com">sip:otalo@proxy01.sipphone.com</a><span class="Apple-tab-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 class="line" id="LC2"><span class="n">sessiondata</span> <span class="o">=</span> <span class="s2">"</span><span class="s">sofia/gateway/gizmo/<num>"</span></div><div class="line" id="LC3"><span class="n">new_session</span> <span class="o">=</span> <span class="n">freeswitch</span><span class="p">.</span><span class="n">Session</span><span class="p">(</span><span class="n">sessiondata</span><span class="p">)</span></div>
<div class="line" id="LC3"><br></div><font class="Apple-style-span" face="arial"><span class="Apple-style-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">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">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">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">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">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">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">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">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">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">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">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">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">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">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">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">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">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">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">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">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">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">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">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">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 class="Apple-style-span" face="arial"><span class="Apple-style-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>Neil</div></div>