[Freeswitch-users] Hangup cause translation issues?

Michael Jerris mike at jerris.com
Fri Sep 2 01:16:40 MSD 2016


https://tools.ietf.org/html/rfc4497#section-8.4.4 <https://tools.ietf.org/html/rfc4497#section-8.4.4>

   480 Temporarily unavailable         18  No user responding


> On Sep 1, 2016, at 5:03 PM, Allan Kristensen <ak at hejdu.dk> wrote:
> 
> Hello,
> 
> Why am I getting a (q850) NO_USER_RESPONSE (18) hangup cause from a SIP 480 Temp. unavail.
> 
> When the RFC 4497 says (pick one):
> 
> 19 No answer from the user     480 Temporarily unavailable
> 20 Subscriber absent           480 Temporarily unavailable
> 
> I looked in the source (sofia_glue.c) and it says:
> 
> /* map sip responses to QSIG cause codes ala RFC4497 section 8.4.4 */
> switch_call_cause_t sofia_glue_sip_cause_to_freeswitch(int status)
> {
>         switch (status) {
>         ...
>         ...
>         case 480:
>                 return SWITCH_CAUSE_NO_USER_RESPONSE;
> 
> Which is code 18, it seems incorrect.. is it just me?
> 
> /Allan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160901/624b4a08/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list