[Freeswitch-users] outbound sip call: NO_USER_RESPONSE

Neil Patel neilp at cs.stanford.edu
Thu Apr 22 14:46:23 PDT 2010


Hey Michael,

What happens if you do something like this at the CLI:
> originate sofia/gateway/gizmo/<num> <target ext>
>

This works! Although I got "command not found" when I did this from
fs_cli... why's that?


> Be sure to turn on sip trace for the external profile to see if anything
> interesting is happening.
>

Weird. When I execute:

sofia profile gizmo siptrace on

I get:

Invalid Profile [gizmo]

This is the contents of /freeswitch/conf/sip_profiles/external/gizmo.xml:
<include>
<gateway name="gizmo">
<param name="username" value=UNAME/>
<param name="realm" value="proxy01.sipphone.com"/>
<param name="from-user" value=UNAME/>
<param name="from-domain" value="proxy01.sipphone.com"/>
<param name="password" value=PWD/>
<param name="caller-id-in-from" value="false"/>
<param name="extension" value="cluecon"/>
<param name="proxy" value="proxy01.sipphone.com"/>
<param name="register-proxy" value="proxy01.sipphone.com"/>
<param name="expire-seconds" value="3600"/>
<param name="register" value="true"/>
<param name="register-transport" value="udp"/>
<param name="retry_seconds" value="30"/>
<param name="caller-id-in-from" value="false"/>
</gateway>
</include>

-Neil

-MC
>
>
>>
>> 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 at conference.freeswitch.org entering state [terminated][480]
>> 2010-04-21 11:31:16.169900 [NOTICE] sofia.c:4789 Hangup sofia/internal/
>> 1234 at 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 at conference.freeswitch.org [KILL]
>> 2010-04-21 11:31:16.169900 [DEBUG] switch_core_session.c:1018 Send signal
>> sofia/internal/1234 at conference.freeswitch.org [BREAK]
>> 2010-04-21 11:31:16.169900 [DEBUG] switch_core_state_machine.c:314
>> (sofia/internal/1234 at 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 at conference.freeswitch.org) State HANGUP
>> 2010-04-21 11:31:16.170748 [DEBUG] mod_sofia.c:408 sofia/internal/
>> 1234 at 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 at 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 at 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 at 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 at 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 at conference.freeswitch.org [BREAK]
>> 2010-04-21 11:31:16.171750 [DEBUG] switch_core_state_machine.c:314
>> (sofia/internal/1234 at 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 at conference.freeswitch.org) State REPORTING
>> 2010-04-21 11:31:16.171750 [DEBUG] switch_core_state_machine.c:53
>> sofia/internal/1234 at 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 at 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 at 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 at conference.freeswitch.org [BREAK]
>> 2010-04-21 11:31:16.171750 [DEBUG] switch_core_session.c:1161 Session 4
>> (sofia/internal/1234 at 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 at 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 at conference.freeswitch.org) Ended
>> 2010-04-21 11:31:16.177790 [NOTICE] switch_core_session.c:1181 Close
>> Channel sofia/internal/1234 at conference.freeswitch.org [CS_DESTROY]
>> 2010-04-21 11:31:16.177790 [DEBUG] switch_core_state_machine.c:428
>> (sofia/internal/1234 at 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 at server.IP [KILL]
>> 2010-04-21 11:31:16.177790 [DEBUG] switch_core_state_machine.c:439
>> (sofia/internal/1234 at conference.freeswitch.org) State DESTROY
>> 2010-04-21 11:31:16.177790 [DEBUG] mod_sofia.c:341 sofia/internal/
>> 1234 at conference.freeswitch.org SOFIA DESTROY
>> 2010-04-21 11:31:16.177790 [DEBUG] switch_core_session.c:1018 Send signal
>> sofia/internal/1001 at 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
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100422/95b628a4/attachment.html 


More information about the FreeSWITCH-users mailing list