- Mar 06, 2022
-
-
Also fix some miscellaneous compiling warnings.
-
-
-
-
-
Signed-off-by:
Grzegorz Sluja <grzegorz.sluja@iopsys.eu>
-
When chan_brcm.so module is unloading we are trying to stop the ubus thread. With pthread_cancel() called before pthread_join() we are hanging for a long time since the thread has not set cancellation type. The cancellation type 'deferred' is set by default what means that cancellation is delayed until the thread next call, that takes time. Using pthread_kill() instead of pthread_cancel() makes the signal is sent to the thread immediately causing thread exits/joins suddenly.
-
Signed-off-by:
Grzegorz Sluja <grzegorz.sluja@iopsys.eu>
-
This commit includes 3 fixes: - change place of get/set rtp statistics to have them properly updated in cdr for both incoming and outgoing call - do not create additional "hangup" call log record - save rtp stats counters from endptmngr into brcm_subchannel instead of one global structure to support concurrent calls simultaneously Signed-off-by:
Grzegorz Sluja <grzegorz.sluja@iopsys.eu>
-
-
-
-
-
-
For an unanswered inbound call, the connection has not been created in endptmngr when the call terminates so the RTP statistics are not available.
-
The bug was a regression caused by the commitment 01294e2b which changed connection creation and destroy procedures inproperly in endptmngr.
-
Fix a bug that causes asterisk crash or hang when starting 3 party conference in some cases.The issue was caused by ubus events which has been temporarily disabled by commenting.The feature will be reimplented/fixed in a seperate ticket.
-
The bug was caused by a synchronous ubus API ubus_invoke(). The asynchronous version of API ubus_invoke_aync() shall be used instead. Also remove some unused code and stop ubus thread when the chan_brcm module is unloaded.
-
There is an issue with copying RTP statistics from snapshot to cdr hence call log does not contains RTP stats for incoming calls - for outgoing call it works fine. Signed-off-by:
Grzegorz Sluja <grzegorz.sluja@iopsys.eu>
-
-
-
-
-
-
-
-
By default all tellines are enabled, we can disable it by uci set asterisk.tellineX.enabled=0 When the corresponding telline is disabled all events in brcm_process_event() are ignored (offhook, onhook etc), no dialtone played and no call proceeded. For incoming INVITE there is no ringing on the telline, we respond with "403 Forbidden" when the telline is disabled. Signed-off-by:
Grzegorz Sluja <grzegorz.sluja@iopsys.eu>
-
MWI feature can be enabled/disabled by the 'mwi_enabled' configuration parameter in asterisk config. When the NOTIFY message is received by pjsip with new message the ubus event is sent in asterisk.mwi path. Apart from that 'mwi_dialtone_state' can be configured for specific endpoint (sip account) - it will be used as audiable indication when new message is waiting for the mailbox connected with the endpoint. Signed-off-by:
Grzegorz Sluja <grzegorz.sluja@iopsys.eu>
-
When the NOTIFY event was received by pjsip and the message body was not properly terminated with '\r\n' the SEGFAULT happened in parse_simple_message_summary(). Check the proper termination of message body for NOTIFY and fix it if its wrong. Signed-off-by:
Grzegorz Sluja <grzegorz.sluja@iopsys.eu>
-
Updated howler audio files target path
-
Added howler tones audio files and Makefile install update to copy *.cln files into target's /usr/share/asterisk/sounds dir
-
Play howler tone in case user forgot to put handset on hook as a reminder to end the call properly.
-
Move creating of ubus thread after getting the endpt_id and do not call ubus_lookup_id() afterwards since it can cause deadlock. Ubus thread uses the same ctx (ubus context *) as the chan_brcm thread while UBUS is not thread safe and ctx needs to be used by only one thread in the same time. Signed-off-by:
Grzegorz Sluja <grzegorz.sluja@iopsys.eu>
-
There was a situation that during asterisk restart -> chan_brcm.so module loading, endptmngr was not up and running yet, causing the ubus lookup for endpt_id failed. It caused chan_brcm.so module not loaded and asterisk not fully working properly. Add waiting for endptmngr fixes the issue. Signed-off-by:
Grzegorz Sluja <grzegorz.sluja@iopsys.eu>
-
-
Rejecting call ewhen do not disturbed by indicating line as busy instead of user call rejection Signed-off-by:
Adam Borowski <adam.borowski@sigma.se>
-
Rejecting call ewhen do not disturb is enabled Signed-off-by:
Adam Borowski <adam.borowski@sigma.se>
-
http://downloads.asterisk.org being down if downloading from asterisk fails second try is made to get the files from fancom mirror Signed-off-by:
Adam Borowski <adam.borowski@sigma.se>
-
http://downloads.asterisk.org being down if downloading from asterisk fails second try is made to get the files from fancom mirror Signed-off-by:
Adam Borowski <adam.borowski@sigma.se>
-
Sign '#' was recognized as the end of feature code hence some of the codes for getting status were not working, like: *#43# - check status of call waiting *#227# - check status of anonymous call rejection The fix makes '#' not recognized as the end of feature code if the previous character is '*' Signed-off-by:
Grzegorz Sluja <grzegorz.sluja@iopsys.eu>
-