[Freeswitch-users] 407 Proxy Authentication Required
Brad Tuan
brad.tuan at gmail.com
Tue May 26 03:43:47 PDT 2009
I am sure the Auth-call is closed and the acl is closed.
And i didn't change any setting.
But,the response message change from "407 Proxy Authentication Required" to
"480 Temporarily Unavailable" today.........
Anybody can tell me what happen??
2009-05-26 17:37:50 [INFO] sofia_presence.c:617
actual_sofia_presence_event_handler() IN END_PRESENCE_SQL (internal)
2009-05-26 17:37:50 [WARNING] sofia_presence.c:571
actual_sofia_presence_event_handler() external is passive, skipping
2009-05-26 17:37:50 [NOTICE] switch_core_session.c:1020
switch_core_session_thread() Close Channel
sofia/internal/97719006 at 163.28.2.7:5060 [CS_DONE]
2009-05-26 17:37:50 [WARNING] sofia_presence.c:564
actual_sofia_presence_event_handler() 203.64.215.209 is an alias, skipping
2009-05-26 17:37:50 [WARNING] sofia_presence.c:564
actual_sofia_presence_event_handler() default is an alias, skipping
2009-05-26 17:37:50 [WARNING] sofia_presence.c:564
actual_sofia_presence_event_handler() nat is an alias, skipping
2009-05-26 17:37:50 [WARNING] sofia_presence.c:564
actual_sofia_presence_event_handler() outbound is an alias, skipping
2009-05-26 17:37:50 [INFO] sofia_presence.c:601
actual_sofia_presence_event_handler() IN START_PRESENCE_SQL (internal)
2009-05-26 17:37:50 [ERR] sofia_presence.c:609
actual_sofia_presence_event_handler() DUMP PRESENCE SQL:
select
sip_subscriptions.proto,sip_subscriptions.sip_user,sip_subscriptions.sip_host,sip_subscriptions.sub_to_user,sip_subscriptions.sub_to_host,sip_subscriptions.event,sip_subscriptions.contact,sip_subscriptions.call_id,sip_subscriptions.full_from,sip_subscriptions.full_via,sip_subscriptions.expires,sip_subscriptions.user_agent,sip_subscriptions.accept,sip_subscriptions.profile_name,'Call
Ended','unknown','163.28.2.7',sip_presence.status,sip_presence.rpid from
sip_subscriptions left join sip_presence on
(sip_subscriptions.sub_to_user=sip_presence.sip_user and
sip_subscriptions.sub_to_host=sip_presence.sip_host and
sip_subscriptions.profile_name=sip_presence.profile_name) where
(event='presence' or event='dialog') and sub_to_user='97719006' and
(sub_to_host='163.28.2.7' or presence_hosts like '%163.28.2.7%') and
(sip_subscriptions.profile_name = 'internal' or
sip_subscriptions.presence_hosts != sip_subscriptions.sub_to_host)
EVENT DUMP:
Event-Name: [PRESENCE_IN]
Core-UUID: [0cfc45ae-5cb5-0148-aa9b-3ed9fb0f8255]
FreeSWITCH-Hostname: [xpp-8435d6cb386]
FreeSWITCH-IPv4: [203.64.215.209]
FreeSWITCH-IPv6: [::1]
Event-Date-Local: [2009-05-26 17:37:50]
Event-Date-GMT: [Tue, 26 May 2009 09:37:50 GMT]
Event-Date-Timestamp: [1243330670130868]
Event-Calling-File: [switch_channel.c]
Event-Calling-Function: [switch_channel_presence]
Event-Calling-Line-Number: [467]
Channel-State: [CS_HANGUP]
Channel-State-Number: [10]
Channel-Name: [sofia/internal/97719006 at 163.28.2.7:5060]
Unique-ID: [9218a3e4-04be-1d4a-97ea-8bdcb20ae3b7]
Call-Direction: [inbound]
Presence-Call-Direction: [inbound]
Answer-State: [ringing]
Channel-Read-Codec-Name: [PCMU]
Channel-Read-Codec-Rate: [8000]
Channel-Write-Codec-Name: [PCMU]
Channel-Write-Codec-Rate: [8000]
Caller-Username: [97719006]
Caller-Dialplan: [XML]
Caller-Caller-ID-Name: [97719006]
Caller-Caller-ID-Number: [97719006]
Caller-Network-Addr: [163.28.32.51]
Caller-Destination-Number: [97730009]
Caller-Unique-ID: [9218a3e4-04be-1d4a-97ea-8bdcb20ae3b7]
Caller-Source: [mod_sofia]
Caller-Context: [public]
Caller-Channel-Name: [sofia/internal/97719006 at 163.28.2.7:5060]
Caller-Profile-Index: [1]
Caller-Profile-Created-Time: [1243330670083993]
Caller-Channel-Created-Time: [1243330670083993]
Caller-Channel-Answered-Time: [0]
Caller-Channel-Progress-Time: [0]
Caller-Channel-Progress-Media-Time: [0]
Caller-Channel-Hangup-Time: [1243330670130868]
Caller-Channel-Transfer-Time: [0]
Caller-Screen-Bit: [true]
Caller-Privacy-Hide-Name: [false]
Caller-Privacy-Hide-Number: [false]
proto: [..\..\src\switch_channel.c]
login: [..\..\src\switch_channel.c]
from: [97719006 at 163.28.2.7]
rpid: [unknown]
status: [CS_HANGUP]
event_type: [presence]
alt_event_type: [dialog]
event_count: [3]
2009-05-26 17:37:50 [INFO] sofia_presence.c:617
actual_sofia_presence_event_handler() IN END_PRESENCE_SQL (internal)
2009-05-26 17:37:50 [WARNING] sofia_presence.c:571
actual_sofia_presence_event_handler() external is passive, skipping
2009-05-26 17:37:50 [WARNING] sofia_presence.c:564
actual_sofia_presence_event_handler() 203.64.215.209 is an alias, skipping
2009-05-26 17:37:50 [WARNING] sofia_presence.c:564
actual_sofia_presence_event_handler() default is an alias, skipping
2009-05-26 17:37:50 [WARNING] sofia_presence.c:564
actual_sofia_presence_event_handler() nat is an alias, skipping
2009-05-26 17:37:50 [WARNING] sofia_presence.c:564
actual_sofia_presence_event_handler() outbound is an alias, skipping
2009-05-26 17:37:50 [NOTICE] switch_channel.c:592 switch_channel_set_name()
New Channel sofia/internal/97719006 at 163.28.2.7:5060[cc379275-1164-d040-b777-f4b8b3b542fb]
2009-05-26 17:37:50 [DEBUG] sofia.c:2806 sofia_handle_sip_i_state() Channel
sofia/internal/97719006 at 163.28.2.7:5060 entering state [received]
2009-05-26 17:37:50 [DEBUG] sofia.c:2810 sofia_handle_sip_i_state() Remote
SDP:
v=0
o=msx1 0 0 IN IP4 163.28.2.7
s=sip call
c=IN IP4 61.61.162.130
t=0 0
m=audio 5064 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000/1
a=rtpmap:8 PCMA/8000/1
a=rtpmap:101 telephone-event/8000/1
a=fmtp:101 0-15
2009-05-26 17:37:50 [DEBUG] sofia_glue.c:2606 sofia_glue_negotiate_sdp()
Audio Codec Compare [PCMU:0:8000:0]/[G722:9:8000:20]
2009-05-26 17:37:50 [DEBUG] sofia_glue.c:2606 sofia_glue_negotiate_sdp()
Audio Codec Compare [PCMU:0:8000:0]/[PCMU:0:8000:20]
2009-05-26 17:37:50 [DEBUG] switch_core_state_machine.c:390
switch_core_session_run() (sofia/internal/97719006 at 163.28.2.7:5060) Running
State Change CS_NEW
2009-05-26 17:37:50 [DEBUG] sofia_glue.c:1741 sofia_glue_tech_set_codec()
Set Codec sofia/internal/97719006 at 163.28.2.7:5060 PCMU/8000 20 ms 160
samples
2009-05-26 17:37:50 [DEBUG] sofia_glue.c:2566 sofia_glue_negotiate_sdp() Set
2833 dtmf payload to 101
2009-05-26 17:37:50 [DEBUG] sofia.c:2962 sofia_handle_sip_i_state() (
sofia/internal/97719006 at 163.28.2.7:5060) State Change CS_NEW -> CS_INIT
2009-05-26 17:37:50 [DEBUG] switch_core_session.c:868
switch_core_session_signal_state_change() Send signal
sofia/internal/97719006 at 163.28.2.7:5060 [BREAK]
2009-05-26 17:37:50 [DEBUG] switch_core_state_machine.c:396
switch_core_session_run() (sofia/internal/97719006 at 163.28.2.7:5060) State
NEW
2009-05-26 17:37:50 [DEBUG] switch_core_state_machine.c:390
switch_core_session_run() (sofia/internal/97719006 at 163.28.2.7:5060) Running
State Change CS_INIT
2009-05-26 17:37:50 [DEBUG] switch_core_state_machine.c:469
switch_core_session_run() (sofia/internal/97719006 at 163.28.2.7:5060) State
INIT
2009-05-26 17:37:50 [DEBUG] mod_sofia.c:83 sofia_on_init()
sofia/internal/97719006 at 163.28.2.7:5060 SOFIA INIT
2009-05-26 17:37:50 [DEBUG] mod_sofia.c:111 sofia_on_init() (
sofia/internal/97719006 at 163.28.2.7:5060) State Change CS_INIT -> CS_ROUTING
2009-05-26 17:37:50 [DEBUG] switch_core_session.c:868
switch_core_session_signal_state_change() Send signal
sofia/internal/97719006 at 163.28.2.7:5060 [BREAK]
2009-05-26 17:37:50 [DEBUG] switch_core_state_machine.c:469
switch_core_session_run() (sofia/internal/97719006 at 163.28.2.7:5060) State
INIT going to sleep
2009-05-26 17:37:50 [DEBUG] switch_core_state_machine.c:390
switch_core_session_run() (sofia/internal/97719006 at 163.28.2.7:5060) Running
State Change CS_ROUTING
2009-05-26 17:37:50 [DEBUG] switch_core_state_machine.c:472
switch_core_session_run() (sofia/internal/97719006 at 163.28.2.7:5060) State
ROUTING
2009-05-26 17:37:50 [DEBUG] mod_sofia.c:130 sofia_on_routing()
sofia/internal/97719006 at 163.28.2.7:5060 SOFIA ROUTING
2009-05-26 17:37:50 [DEBUG] switch_core_state_machine.c:71
switch_core_standard_on_routing()
sofia/internal/97719006 at 163.28.2.7:5060Standard ROUTING
2009-05-26 17:37:50 [INFO] mod_dialplan_xml.c:252 dialplan_hunt() Processing
97719006->97730009 in context public
Dialplan: sofia/internal/97719006 at 163.28.2.7:5060 parsing [public->unloop]
continue=false
Dialplan: sofia/internal/97719006 at 163.28.2.7:5060 Regex (PASS) [unloop]
${unroll_loops}(true) =~ /^true$/ break=on-false
Dialplan: sofia/internal/97719006 at 163.28.2.7:5060 Regex (FAIL) [unloop]
${sip_looped_call}() =~ /^true$/ break=on-false
Dialplan: sofia/internal/97719006 at 163.28.2.7:5060 parsing
[public->outside_call] continue=true
Dialplan: sofia/internal/97719006 at 163.28.2.7:5060 Absolute Condition
[outside_call]
Dialplan: sofia/internal/97719006 at 163.28.2.7:5060 Action
set(outside_call=true)
Dialplan: sofia/internal/97719006 at 163.28.2.7:5060 parsing
[public->call_debug] continue=true
Dialplan: sofia/internal/97719006 at 163.28.2.7:5060 Regex (FAIL) [call_debug]
${call_debug}(false) =~ /^true$/ break=never
Dialplan: sofia/internal/97719006 at 163.28.2.7:5060 parsing
[public->public_extensions] continue=false
Dialplan: sofia/internal/97719006 at 163.28.2.7:5060 Regex (FAIL)
[public_extensions] destination_number(97730009) =~ /^(10[01][0-9])$/
break=on-false
Dialplan: sofia/internal/97719006 at 163.28.2.7:5060 parsing
[public->public_did] continue=false
Dialplan: sofia/internal/97719006 at 163.28.2.7:5060 Regex (FAIL) [public_did]
destination_number(97730009) =~ /^(5551212)$/ break=on-false
2009-05-26 17:37:50 [DEBUG] switch_core_state_machine.c:107
switch_core_standard_on_routing() (sofia/internal/97719006 at 163.28.2.7:5060)
State Change CS_ROUTING -> CS_EXECUTE
2009-05-26 17:37:50 [DEBUG] switch_core_session.c:868
switch_core_session_signal_state_change() Send signal
sofia/internal/97719006 at 163.28.2.7:5060 [BREAK]
2009-05-26 17:37:50 [DEBUG] switch_core_state_machine.c:472
switch_core_session_run() (sofia/internal/97719006 at 163.28.2.7:5060) State
ROUTING going to sleep
2009-05-26 17:37:50 [DEBUG] switch_core_state_machine.c:390
switch_core_session_run() (sofia/internal/97719006 at 163.28.2.7:5060) Running
State Change CS_EXECUTE
2009-05-26 17:37:50 [DEBUG] switch_core_state_machine.c:479
switch_core_session_run() (sofia/internal/97719006 at 163.28.2.7:5060) State
EXECUTE
2009-05-26 17:37:50 [DEBUG] mod_sofia.c:173 sofia_on_execute()
sofia/internal/97719006 at 163.28.2.7:5060 SOFIA EXECUTE
2009-05-26 17:37:50 [DEBUG] switch_core_state_machine.c:144
switch_core_standard_on_execute()
sofia/internal/97719006 at 163.28.2.7:5060Standard EXECUTE
EXECUTE sofia/internal/97719006 at 163.28.2.7:5060 set(outside_call=true)
2009-05-26 17:37:50 [DEBUG] mod_dptools.c:747 set_function()
sofia/internal/97719006 at 163.28.2.7:5060 SET [outside_call]=[true]
2009-05-26 17:37:50 [NOTICE] switch_core_state_machine.c:172
switch_core_standard_on_execute() Hangup
sofia/internal/97719006 at 163.28.2.7:5060 [CS_EXECUTE] [NORMAL_CLEARING]
2009-05-26 17:37:50 [DEBUG] switch_channel.c:1612
switch_channel_perform_hangup() Send signal
sofia/internal/97719006 at 163.28.2.7:5060 [KILL]
2009-05-26 17:37:50 [DEBUG] switch_core_session.c:868
switch_core_session_signal_state_change() Send signal
sofia/internal/97719006 at 163.28.2.7:5060 [BREAK]
2009-05-26 17:37:50 [DEBUG] switch_core_state_machine.c:479
switch_core_session_run() (sofia/internal/97719006 at 163.28.2.7:5060) State
EXECUTE going to sleep
2009-05-26 17:37:50 [DEBUG] switch_core_state_machine.c:390
switch_core_session_run() (sofia/internal/97719006 at 163.28.2.7:5060) Running
State Change CS_HANGUP
2009-05-26 17:37:50 [DEBUG] switch_core_state_machine.c:430
switch_core_session_run() (sofia/internal/97719006 at 163.28.2.7:5060) State
HANGUP
2009-05-26 17:37:50 [DEBUG] mod_sofia.c:287 sofia_on_hangup() Channel
sofia/internal/97719006 at 163.28.2.7:5060 hanging up, cause: NORMAL_CLEARING
2009-05-26 17:37:50 [DEBUG] mod_sofia.c:361 sofia_on_hangup() Responding to
INVITE with: 480
2009/5/26 Jason White <jason at jasonjgw.net>
> Brad Tuan <brad.tuan at gmail.com> wrote:
> > So , Anyone please tell me how can i do??
>
> Turning off the ACL and setting auth-calls to false should be enough to do
> it.
>
> To find out where the problem is in your configuration, set the log level
> to
> debug if it isn't already, and read the logs carefully.
>
> You can also turn on SIP tracing if necessary.
>
>
> _______________________________________________
> 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/20090526/269a8096/attachment-0002.html
More information about the FreeSWITCH-users
mailing list