Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] 407 Proxy Authentication Required


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
brad.tuan at gmail.com
Guest





PostPosted: Mon May 25, 2009 8:17 pm    Post subject: [Freeswitch-users] 407 Proxy Authentication Required Reply with quote

I'm trying to pass a sip call from ProxyA to my Freeswitch
 
but my FS always return a "407  Proxy Authentication Required" to ProxyA as follow
 
Source    Destination   Protocol     Info
ProxyA      MyFS        SIP/SDP    Request: INVITE sip:97730009@xxx.xxx.xxx.xxx:5060;transport=udp, with session description
MyFS        ProxyA         SIP         Status: 100 Trying
MyFS        ProxyA         SIP         Status: 407 Proxy Authentication Required
 
I have already tried to
     1. sip_profiles/internal.xml,external.xml -> set auth- calls=false  <<----It isn't work
  
     2. comment <param name="auth-calls" value="true"/>                <<----It isn't work,neither
         then add this line:
           <param name="apply-inbound-acl" value="ProxyA"/>
       
         and add a new list to the "acl.conf.xml" like
              <list name="ProxyA" default="deny">
           <node type="allow" cidr="xxx.xxx.xxx.xxx/32"/>
           </list>
 
So , Anyone please tell me how can i do??
 
Tkanks a lot
 
-Brad
Back to top
jason at jasonjgw.net
Guest





PostPosted: Mon May 25, 2009 8:41 pm    Post subject: [Freeswitch-users] 407 Proxy Authentication Required Reply with quote

Brad Tuan <brad.tuan@gmail.com> wrote:
Quote:
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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
brad.tuan at gmail.com
Guest





PostPosted: Tue May 26, 2009 5:46 am    Post subject: [Freeswitch-users] 407 Proxy Authentication Required Reply with quote

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@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email]) [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@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@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@163.28.2.7 (97719006@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@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email]) [cc379275-1164-d040-b777-f4b8b3b542fb]
2009-05-26 17:37:50 [DEBUG] sofia.c:2806 sofia_handle_sip_i_state() Channel sofia/internal/97719006@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email]) 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@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email])) 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@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email]) 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@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email])) 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@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email]) [BREAK]
2009-05-26 17:37:50 [DEBUG] switch_core_state_machine.c:396 switch_core_session_run() (sofia/internal/97719006@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email])) State NEW
2009-05-26 17:37:50 [DEBUG] switch_core_state_machine.c:390 switch_core_session_run() (sofia/internal/97719006@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email])) 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@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email])) State INIT
2009-05-26 17:37:50 [DEBUG] mod_sofia.c:83 sofia_on_init() sofia/internal/97719006@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email]) SOFIA INIT
2009-05-26 17:37:50 [DEBUG] mod_sofia.c:111 sofia_on_init() (sofia/internal/97719006@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email])) 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@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email]) [BREAK]
2009-05-26 17:37:50 [DEBUG] switch_core_state_machine.c:469 switch_core_session_run() (sofia/internal/97719006@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email])) 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@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email])) 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@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email])) State ROUTING
2009-05-26 17:37:50 [DEBUG] mod_sofia.c:130 sofia_on_routing() sofia/internal/97719006@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email]) SOFIA ROUTING
2009-05-26 17:37:50 [DEBUG] switch_core_state_machine.c:71 switch_core_standard_on_routing() sofia/internal/97719006@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email]) Standard 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@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email]) parsing [public->unloop] continue=false
Dialplan: sofia/internal/97719006@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email]) Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
Dialplan: sofia/internal/97719006@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email]) Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
Dialplan: sofia/internal/97719006@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email]) parsing [public->outside_call] continue=true
Dialplan: sofia/internal/97719006@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email]) Absolute Condition [outside_call]
Dialplan: sofia/internal/97719006@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email]) Action set(outside_call=true)
Dialplan: sofia/internal/97719006@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email]) parsing [public->call_debug] continue=true
Dialplan: sofia/internal/97719006@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email]) Regex (FAIL) [call_debug] ${call_debug}(false) =~ /^true$/ break=never
Dialplan: sofia/internal/97719006@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email]) parsing [public->public_extensions] continue=false
Dialplan: sofia/internal/97719006@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email]) Regex (FAIL) [public_extensions] destination_number(97730009) =~ /^(10[01][0-9])$/ break=on-false
Dialplan: sofia/internal/97719006@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email]) parsing [public->public_did] continue=false
Dialplan: sofia/internal/97719006@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email]) 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@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email])) 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@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email]) [BREAK]
2009-05-26 17:37:50 [DEBUG] switch_core_state_machine.c:472 switch_core_session_run() (sofia/internal/97719006@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email])) 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@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email])) 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@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email])) State EXECUTE
2009-05-26 17:37:50 [DEBUG] mod_sofia.c:173 sofia_on_execute() sofia/internal/97719006@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email]) SOFIA EXECUTE
2009-05-26 17:37:50 [DEBUG] switch_core_state_machine.c:144 switch_core_standard_on_execute() sofia/internal/97719006@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email]) Standard EXECUTE
EXECUTE sofia/internal/97719006@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email]) set(outside_call=true)
2009-05-26 17:37:50 [DEBUG] mod_dptools.c:747 set_function() sofia/internal/97719006@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email]) 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@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email]) [CS_EXECUTE] [NORMAL_CLEARING]
2009-05-26 17:37:50 [DEBUG] switch_channel.c:1612 switch_channel_perform_hangup() Send signal sofia/internal/97719006@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email]) [KILL]
2009-05-26 17:37:50 [DEBUG] switch_core_session.c:868 switch_core_session_signal_state_change() Send signal sofia/internal/97719006@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email]) [BREAK]
2009-05-26 17:37:50 [DEBUG] switch_core_state_machine.c:479 switch_core_session_run() (sofia/internal/97719006@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email])) 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@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email])) 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@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email])) State HANGUP
2009-05-26 17:37:50 [DEBUG] mod_sofia.c:287 sofia_on_hangup() Channel sofia/internal/97719006@163.28.2.7:5060 ([email]sofia/internal/97719006@163.28.2.7:5060[/email]) 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@jasonjgw.net (jason@jasonjgw.net)>
Quote:
Brad Tuan <brad.tuan@gmail.com (brad.tuan@gmail.com)> wrote:
Quote:
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@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
jason at jasonjgw.net
Guest





PostPosted: Tue May 26, 2009 6:08 am    Post subject: [Freeswitch-users] 407 Proxy Authentication Required Reply with quote

Brad Tuan <brad.tuan@gmail.com> wrote:

Quote:
But,the response message change from "407 Proxy Authentication Required" to
"480 Temporarily Unavailable" today.........

Anybody can tell me what happen??

Your SIP trace might give you a clue as to what happened.
sofia profile external siptrace on
(substituting the relevant profile for "external" in the above command, as
required, and repeating the command if more than one profile is involved).


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
brian at freeswitch.org
Guest





PostPosted: Tue May 26, 2009 9:47 am    Post subject: [Freeswitch-users] 407 Proxy Authentication Required Reply with quote

Looks like his outbound call is failing now.

/b

On May 26, 2009, at 6:07 AM, Jason White wrote:

Quote:
Your SIP trace might give you a clue as to what happened.
sofia profile external siptrace on
(substituting the relevant profile for "external" in the above
command, as
required, and repeating the command if more than one profile is
involved).


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services