[asterisk-users] mapping of disconnect reasons

Harel Cohen harel at easycall.gi
Mon Aug 23 09:54:46 CDT 2010


Sorry for the late response.
Philipp,
I've checked the file below and also the suggested voip-info link. None of those describe how or why Asterisk assumed that 402 should be mapped to "NORMAL TERMINATION" status. Both places refer to how Asterisk status should be mapped to SIP cause and not vice-versa. Could you (or someone) please take another look to locate the correct file?
Thanks
Harel

------------------------------

Message: 4
Date: Wed, 04 Aug 2010 15:20:05 +0200
From: Philipp von Klitzing <klitzing at pool.informatik.rwth-aachen.de>
Subject: Re: [asterisk-users] mapping of disconnect reasons
To: Asterisk Users Mailing List - Non-Commercial Discussion
	<asterisk-users at lists.digium.com>
Message-ID:
	<4C598525.14932.1D6237 at klitzing.pool.informatik.rwth-aachen.de>
Content-Type: text/plain; charset=US-ASCII

> The mapping in Asterisk 1.4.24 is the problem: 402 "Payment Required"
> is mapped to 16 "Normal termination" instead of 21 "Call Rejected".
> Could you direct me to the relevant file of code where these mappings 
> are done? Before reporting a bug I would like to confirm whether this 
> issue has been addressed on newer releases.

Look in channels/chan_sip.c and search for "3398"

See also:
http://www.voip-
info.org/wiki/index.php?page=Asterisk+variable+hangupcause

Philipp




------------------------------




More information about the asterisk-users mailing list