[asterisk-bugs] [Asterisk 0012957]: Call rejected with 403 when sending a call between two SIP gateways

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Nov 26 14:04:00 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12957 
====================================================================== 
Reported By:                asenci
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   12957
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.4.21 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-06-30 12:46 CDT
Last Modified:              2008-11-26 14:03 CST
====================================================================== 
Summary:                    Call rejected with 403 when sending a call between
two SIP gateways
Description: 
I have two Asterisk servers, one acting as SIP/TDM gateway and another as
IVR server.

The issue happens when a SIP/TDM client calls the IVR and the call is
bridged to another SIP/TDM client in the first server.

Call flow:
Client 1 dial to the IVR
Call enters Server A
Server A sends call to Server B
Server B presents the IVR to Client 1
Client chooses Client 2 in the IVR
Server B bridges the call back to the Server A (Client 2)
Call rejected with 403


Setting "fromuser=" in the "Server A" peer at Server B allows the call to
be bridged back to Server A, but scramble Caller ID.

Tested with Asterisk versions 1.4.18, 1.4.19, 1.4.19 and 1.4.21, all with
the same results.
====================================================================== 

---------------------------------------------------------------------- 
 (0095557) putnopvut (administrator) - 2008-11-26 14:03
 http://bugs.digium.com/view.php?id=12957#c95557 
---------------------------------------------------------------------- 
The code doesn't provide any sort of debug messages to indicate why
authentication failed, even though the function used to authenticate
returns a reason. So this is going to be a bit tough to figure out just
based on the information that I have.

What I'm going to do is to post a tiny patch which will print the return
value from checking authentication credentials so that we can see the
reason that the 403 was sent.

As another exercise, I'm curious to know if Fluorine can place calls to
22229670 under normal conditions. If not, then this may just be an
authentication issue in your setup. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-26 14:03 putnopvut      Note Added: 0095557                          
======================================================================




More information about the asterisk-bugs mailing list