16 is normal clearing - they are the q850 names for the same thing. Why that's being done for 480 is another question - seeing the full call context and any Reason headers might shed might on that 480 maps to 41 not 16 iirc, but would be overridden by a Reason header or if something else was going on on the call such as calling the hangup after the bridge On Wednesday, July 24, 2013, Muhammad Naseer Bhatti wrote:
Got a little confusion here. FreeSWITCH log: http://pastebin.freeswitch.org/21226 SIP trace: http://pastebin.freeswitch.org/21227
Both were taken once after each other but other than the timing, everything else remains the same.
This is a vanilla install for FreeSWITCH Version 1.5.5b+git~20130724T035836Z~3ae87091e1 (git 3ae8709 2013-07-24 03:58:36Z). Just dialing a non existent number (98871002) from a registered user 1001. The hangup cause returned by the switch shows mod_sofia.c:463 Channel sofia/internal/1001@10.211.55.3:50601 hanging up, cause: NORMAL_CLEARING
However the SIP capture shows SIP/2.0 480 Temporarily Unavailable. This 480 is also showing by the switch mod_sofia.c:597 Responding to INVITE with: 480. I know the mapping is done by FreeSWITCH. In this case why 480, returned Normal Temporary Failure while the switch shows NORMAL_CLEARING? Is this because Q.850 returned is 16 and FreeSWITCH mapping for 16 is NORMAL_CLEARING?
Or is there something I am missing.
-- Thanks, Muhammad Naseer Bhatti