[Freeswitch-users] context is not working

Raymond Chandler intralanman at freeswitch.org
Thu May 14 07:37:51 PDT 2009


The dialplan for the context US might be helpful also

-Ray

Mathieu Rene wrote:
> Please paste the user directory entry.
>
> Math
>
> On 14-May-09, at 4:26 PM, vijay tiwari wrote:
>
>> hello all
>>
>> i have created a two user one with defualt user_context and other one 
>> with which  i created with the name "US". and i am able to make a 
>> call when using defualt user_context. but when i try to call from 
>> user which have user_context="US" the is not working,
>>
>> logs when call is working
>>
>> 2009-05-13 20:54:45 [DEBUG] mod_sofia.c:130 
>> sofia_on_routing() sofia/US/8989 at 122.160.83.216 
>> <mailto:sofia/US/8989 at 122.160.83.216> SOFIA ROUTING
>> 2009-05-13 20:54:45 [DEBUG] switch_core_state_machine.c:64 
>> switch_core_standard_on_routing() sofia/US/8989 at 122.160.83.216 
>> <mailto:sofia/US/8989 at 122.160.83.216> Standard ROUTING
>> 2009-05-13 20:54:45 [INFO] mod_dialplan_xml.c:233 dialplan_hunt() 
>> Processing 8989->01112127773456 in context default
>> 2009-05-13 20:54:45 [DEBUG] mod_dialplan_xml.c:117 parse_exten() 
>> Regex: [unloop] ${unroll_loops}(true) =~ /^true$/
>> 2009-05-13 20:54:45 [DEBUG] mod_dialplan_xml.c:117 parse_exten() 
>> Regex: [unloop] ${sip_looped_call}() =~ /^true$/
>> .
>> .
>> .
>> 2009-05-13 20:54:45 [DEBUG] mod_dialplan_xml.c:117 parse_exten() 
>> Regex: [XXX] destination_number(01112127773456) =~ /^011(\d+)$/
>> 2009-05-13 20:54:45 [DEBUG] switch_core_state_machine.c:100 
>> switch_core_standard_on_routing() (sofia/US/8989 at 122.160.83.216 
>> <mailto:sofia/US/8989 at 122.160.83.216>) State Change CS_ROUTING -> 
>> CS_EXECUTE
>>
>>
>>
>> logs when call not working
>>
>> 2009-05-13 20:22:27 [DEBUG] switch_core_state_machine.c:457 
>> switch_core_session_run() (sofia/US/12345 at 122.160.83.216 
>> <mailto:sofia/US/12345 at 122.160.83.216>) State ROUTING
>> 2009-05-13 20:22:27 [DEBUG] mod_sofia.c:130 
>> sofia_on_routing() sofia/US/12345 at 122.160.83.216 
>> <mailto:sofia/US/12345 at 122.160.83.216> SOFIA ROUTING
>> 2009-05-13 20:22:27 [DEBUG] switch_core_state_machine.c:64 
>> switch_core_standard_on_routing() sofia/US/12345 at 122.160.83.216 
>> <mailto:sofia/US/12345 at 122.160.83.216> Standard ROUTING
>> 2009-05-13 20:22:27 [INFO] mod_dialplan_xml.c:233 dialplan_hunt() 
>> Processing 12345->01112127773456 in context US
>> 2009-05-13 20:22:27 [INFO] switch_core_state_machine.c:122 
>> switch_core_standard_on_routing() No Route, Aborting
>> 2009-05-13 20:22:27 [NOTICE] switch_core_state_machine.c:123 
>> switch_core_standard_on_routing() 
>> Hangup sofia/US/12345 at 122.160.83.216 
>> <mailto:sofia/US/12345 at 122.160.83.216> [CS_ROUTING] 
>> [NO_ROUTE_DESTINATION]
>> 2009-05-13 20:22:27 [DEBUG] switch_channel.c:1566 
>> switch_channel_perform_hangup() Send 
>> signal sofia/US/12345 at 122.160.83.216 
>> <mailto:sofia/US/12345 at 122.160.83.216> [KILL]
>> 2009-05-13 20:22:27 [DEBUG] switch_core_session.c:820 
>> switch_core_session_signal_state_change() Send 
>> signal sofia/US/12345 at 122.160.83.216 
>> <mailto:sofia/US/12345 at 122.160.83.216> [BREAK]
>> 2009-05-13 20:22:27 [DEBUG] switch_core_state_machine.c:457 
>> switch_core_session_run() (sofia/US/12345 at 122.160.83.216 
>> <mailto:sofia/US/12345 at 122.160.83.216>) State ROUTING going to sleep
>> 2009-05-13 20:22:27 [DEBUG] switch_core_state_machine.c:383 
>> switch_core_session_run() (sofia/US/12345 at 122.160.83.216 
>> <mailto:sofia/US/12345 at 122.160.83.216>) Running State Change CS_HANGUP
>>
>>
>> ------------------------------------------------------------------------
>> Get easy photo sharing with Windows LiveT Photos. Drag n' drop 
>> <http://www.microsoft.com/india/windows/windowslive/photos.aspx> _______________________________________________
>> Freeswitch-users mailing list
>> Freeswitch-users at lists.freeswitch.org 
>> <mailto: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/20090514/75241617/attachment-0002.html 


More information about the FreeSWITCH-users mailing list