[Freeswitch-users] hangup cause / sip cause ?

morbidus at rx900.org morbidus at rx900.org
Fri Aug 2 13:51:12 UTC 2019


Hi i've wrote some dialplans for billing with this great engine which is freeswitch
and i'm also using limits and failover ('manually', without the lcr module).

Everything works ok and i'm impressed by its stability and performance !

But i'm unable to get a 'final' termination cause for the calls as i'm used to get with asterisk:
i'd like to have something like 'answered', 'cancel', 'busy', 'congestion', 'chanunavail', and so on

so i'm writing last_bridge_hangup_cause, bridge_hangup_cause and hangup_cause in my cdr
and in particular when the call goes thru the second or third trunk (when using failover)
i get 'NORMAL_TEMPORARY_FAILURE', 'NORMAL_TEMPORARY_FAILURE', 'NORMAL_CLEARING'
and i don't know which one of the three is the actual termination cause :)

what are you guys using to get 'consistent' tc ?


More information about the FreeSWITCH-users mailing list