I
I
Igor2019-06-20 22:37:15
Asterisk
Igor, 2019-06-20 22:37:15

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
5d0be0136fe50331687124.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2019-06-21
@mole2

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 question

Ask a Question

731 491 924 answers to any question