Answer the question
In order to leave comments, you need to log in
How to change the hangup code in FreePBX?
Hello. I ask for help. there is FreePBX 13 c 13 Asterisk . From PBX the call goes to FreeSWITCH .
and now if I make an outgoing call from PBX to my mobile and do not answer, then FreeSWITCH gives the correct code 480, but on FreePBX it is replaced by 486, and it receives 480 from FreeSWITCH.
Tell me how you can fix this problem, just like in CDR it is displayed as Busy .
Screen attached
Answer the question
In order to leave comments, you need to log in
if it is not critical that all calls will be rejected with one hangup reason, then simply indicate the forced reason code in the hangup. if only on separate ones, then you need to track the status of the call and forward it to the desired priority or context so that it fights off with the reason you need
exten => 123,3,Hangup()
Valid values for the reason-code parameter:
16 - Normal call termination.
17 - Busy.
19 - No answer.
21 - Call rejected.
34 - The line is overloaded.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question