[Freeswitch-users] Hangup cause translation issues?

Allan Kristensen ak at hejdu.dk
Wed Sep 7 21:22:08 MSD 2016


Hello Michael,

Ahh, so I was looking the wrong direction for the translation (qsig -> sip)

Thanks for your help!

/Allan


On Thu, Sep 1, 2016 at 11:16 PM, Michael Jerris <mike at jerris.com> wrote:

> 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
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 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/20160907/a2b05251/attachment.html 


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