I'm trying to make a sip call using Gizmo. I set up the profile as specified here <http://wiki.freeswitch.org/wiki/Provider_Configuration:_Gizmo> and dropped it into /conf/sip_profiles/external/. I can see that the profile is registered when I check sofia status from CLI: Name Type Data State ================================================================================================= ... external::gizmo gateway sip:otalo@proxy01.sipphone.com<sip%3Aotalo@proxy01.sipphone.com> REGED ... ================================================================================================= On a call event, I invoke the lua commands: sessiondata = "sofia/gateway/gizmo/<num>" new_session = freeswitch.Session(sessiondata)
From this I'm getting a NO_USER_RESPONSE error:
2010-04-21 11:31:16.169900 [DEBUG] sofia.c:4153 Channel sofia/internal/ 1234@conference.freeswitch.org entering state [terminated][480] 2010-04-21 11:31:16.169900 [NOTICE] sofia.c:4789 Hangup sofia/internal/ 1234@conference.freeswitch.org [CS_CONSUME_MEDIA] [NO_USER_RESPONSE] 2010-04-21 11:31:16.169900 [DEBUG] switch_channel.c:2071 Send signal sofia/internal/1234@conference.freeswitch.org [KILL] 2010-04-21 11:31:16.169900 [DEBUG] switch_core_session.c:1018 Send signal sofia/internal/1234@conference.freeswitch.org [BREAK] 2010-04-21 11:31:16.169900 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/1234@conference.freeswitch.org) Running State Change CS_HANGUP 2010-04-21 11:31:16.170748 [DEBUG] switch_core_state_machine.c:499 (sofia/internal/1234@conference.freeswitch.org) State HANGUP 2010-04-21 11:31:16.170748 [DEBUG] mod_sofia.c:408 sofia/internal/ 1234@conference.freeswitch.org Overriding SIP cause 408 with 480 from the other leg 2010-04-21 11:31:16.170748 [DEBUG] mod_sofia.c:414 Channel sofia/internal/ 1234@conference.freeswitch.org hanging up, cause: NO_USER_RESPONSE 2010-04-21 11:31:16.170748 [DEBUG] switch_core_state_machine.c:46 sofia/internal/1234@conference.freeswitch.org Standard HANGUP, cause: NO_USER_RESPONSE 2010-04-21 11:31:16.170748 [DEBUG] switch_core_state_machine.c:499 (sofia/internal/1234@conference.freeswitch.org) State HANGUP going to sleep 2010-04-21 11:31:16.170748 [DEBUG] switch_core_state_machine.c:333 (sofia/internal/1234@conference.freeswitch.org) State Change CS_HANGUP -> CS_REPORTING 2010-04-21 11:31:16.170748 [DEBUG] switch_core_session.c:1018 Send signal sofia/internal/1234@conference.freeswitch.org [BREAK] 2010-04-21 11:31:16.171750 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/1234@conference.freeswitch.org) Running State Change CS_REPORTING 2010-04-21 11:31:16.171750 [DEBUG] switch_core_state_machine.c:590 (sofia/internal/1234@conference.freeswitch.org) State REPORTING 2010-04-21 11:31:16.171750 [DEBUG] switch_core_state_machine.c:53 sofia/internal/1234@conference.freeswitch.org Standard REPORTING, cause: NO_USER_RESPONSE 2010-04-21 11:31:16.171750 [DEBUG] switch_core_state_machine.c:590 (sofia/internal/1234@conference.freeswitch.org) State REPORTING going to sleep 2010-04-21 11:31:16.171750 [DEBUG] switch_core_state_machine.c:327 (sofia/internal/1234@conference.freeswitch.org) State Change CS_REPORTING -> CS_DESTROY 2010-04-21 11:31:16.171750 [DEBUG] switch_core_session.c:1018 Send signal sofia/internal/1234@conference.freeswitch.org [BREAK] 2010-04-21 11:31:16.171750 [DEBUG] switch_core_session.c:1161 Session 4 (sofia/internal/1234@conference.freeswitch.org) Locked, Waiting on external entities 2010-04-21 11:31:16.177790 [DEBUG] switch_ivr_originate.c:3228 Originate Resulted in Error Cause: 18 [NO_USER_RESPONSE] *2010-04-21 11:31:16.177790 [ERR] mod_conference.c:4563 Cannot create outgoing channel, cause: NO_USER_RESPONSE* 2010-04-21 11:31:16.177790 [NOTICE] mod_conference.c:4566 Hangup sofia/internal/1001@server.IP [CS_EXECUTE] [NO_USER_RESPONSE] 2010-04-21 11:31:16.177790 [NOTICE] switch_core_session.c:1179 Session 4 (sofia/internal/1234@conference.freeswitch.org) Ended 2010-04-21 11:31:16.177790 [NOTICE] switch_core_session.c:1181 Close Channel sofia/internal/1234@conference.freeswitch.org [CS_DESTROY] 2010-04-21 11:31:16.177790 [DEBUG] switch_core_state_machine.c:428 (sofia/internal/1234@conference.freeswitch.org) Running State Change CS_DESTROY 2010-04-21 11:31:16.177790 [DEBUG] switch_channel.c:2071 Send signal sofia/internal/1001@server.IP [KILL] 2010-04-21 11:31:16.177790 [DEBUG] switch_core_state_machine.c:439 (sofia/internal/1234@conference.freeswitch.org) State DESTROY 2010-04-21 11:31:16.177790 [DEBUG] mod_sofia.c:341 sofia/internal/ 1234@conference.freeswitch.org SOFIA DESTROY 2010-04-21 11:31:16.177790 [DEBUG] switch_core_session.c:1018 Send signal sofia/internal/1001@server.IP [BREAK] 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? Thanks in advance, Neil