Commit graph

129 commits

Author SHA1 Message Date
Reidar Cederqvist
019a02fa7f asterisk: fix No call logs for internal calls
Remove the check of sip user so that the internal call can be parsed as call log.
2019-11-04 10:26:02 +01:00
Reidar Cederqvist
9cb726d649 voice-client: do not overwrite tx/rx gain 2019-10-16 09:44:33 +02:00
Yalu Zhang
7bec58715e Update brcm.conf.TEMPLATE in package voice-client
Add one config param "hold_target_before_refer" controlling whether the transferor puts
the transfer target on-hold before sending REFER.

(cherry picked from commit 25e6850872)
2019-09-09 16:24:07 +02:00
Yalu Zhang
484e9a8789 Add one configuration parameter, hold_target_before_refer
This is used to control if the transferor puts the transfer target on-hold before sending REFER

(cherry picked from commit 158360fb0f)
2019-09-05 11:56:43 +02:00
Sukru Senli
a2776279f0 voice-client: assign uci default values for sip_provider section 2019-08-23 11:37:35 +02:00
Sukru Senli
48a82996c8 voice-client: firewall.sip: do not hardcode rtp ports 2019-08-21 10:07:19 +02:00
Jakob Olsson
b2e60d696f voice_client: prevent malicious crontab injection through dayns #1008 2019-08-14 11:12:48 +02:00
Jakob Olsson
e39cbf8f5e voice_client: ringing: prevent scheduler from creating malicious cronjobs #1008 2019-08-06 10:56:29 +02:00
Sukru Senli
bcf34ec28a voice-client: adapt voice.asterisk to incoming calls ending up in call_line context 2019-07-04 20:10:15 +02:00
Sukru Senli
08f2370477 voice-client: supported countries ubus method 2019-06-27 18:47:17 +02:00
Sukru Senli
f501a209f5 voice-client: default useragent without ':' in macaddr 2019-06-11 12:03:36 +02:00
Sukru Senli
63c53a497f voice-client: fix logic in intel voicelib getSerial function 2019-06-10 19:40:41 +02:00
Yalu Zhang
94ad6902f7 Re-fix Bug #705: Asterisk gives tone even if number is not configured
Remove voice_client.sip0.call_lines in the default config. So no voice lines
are bound to "Incoming Phone Lines" of any SIP accounts by default.

Reload FXS channel before chan_sip when voice configuration changes.
2019-06-10 11:43:37 +02:00
Sukru Senli
a7a16746f5 voice-client: some cleanup 2019-06-06 13:40:25 +02:00
Sukru Senli
dbfc56ac98 voice-client: make line indexing platform independent 2019-06-05 14:33:05 +02:00
Sukru Senli
244f439694 voice-client: update default config 2019-06-05 14:33:05 +02:00
Sukru Senli
0c738b9916 voice-client: avoid calling functions unnecessarily 2019-06-05 11:00:43 +02:00
Sukru Senli
3fb53303e0 Revert "Fix Bug #705: Asterisk gives tone even if number is not configured"
This reverts commit 44164d950b.
2019-06-04 15:14:46 +02:00
Yalu Zhang
44164d950b Fix Bug #705: Asterisk gives tone even if number is not configured
Set voice_client.lineX.sip_account correctly according to "voice_client.sipX.call_lines"
2019-05-17 14:10:10 +02:00
Ronny Nilsson
2e01bf6bb6 Pressing R0 in combination with call waiting feature didn't give a correct busy tone. 2019-04-29 15:02:02 +02:00
Sukru Senli
21460d7c51 voice-client: convert from old to new tel_advanced section name 2019-04-19 22:20:32 +02:00
Yalu Zhang
c6738cb0ad Revert "Restart asterisk when configuration changes"
This reverts commit 72d7f0fcf8 since
asterisk CLI "intel reload" has been implemented.
2019-04-09 10:46:18 +02:00
Kent Ekholm
338ed66325 voice-client: Fixed line name error caused by 60742c4. 2019-04-02 12:04:16 +02:00
Yalu Zhang
72d7f0fcf8 Restart asterisk when configuration changes
This is just a temporary workaround since "intel reload" doesn't work properly on
Intel platform. The commitment will be reverted when the problem is solved.
2019-04-01 11:01:25 +02:00
Sukru Senli
60742c42b3 voice-client: fix line syntax 2019-04-01 10:40:48 +02:00
Kent Ekholm
9573b64759 voice-client: Make it possible to set echo cancelling.
Ref: #425
2019-03-27 17:34:31 +01:00
Sukru Senli
6979da23ea voice-client: use correct key value for lines 2019-03-26 15:50:14 +01:00
Sukru Senli
22b307a967 voice-client: adapt config file to new section name changes 2019-03-26 09:25:28 +01:00
Sukru Senli
20500dcafb voice-client: reload asterisk upon ifup even if not bound to a specific interface 2019-03-19 08:52:18 +01:00
Kent Ekholm
fa145a60f3 voice-client: Using double quotes around string.
Ref: #400
2019-03-15 17:05:34 +01:00
Kent Ekholm
754e42f0d4 voice-client: Added dbus function to get platform and other platform specific info.
Ref: #400
2019-03-15 16:03:56 +01:00
Kent Ekholm
4a45764a5c Using TEL instead of platform specific channel name.
Ref: 400
2019-03-05 11:00:43 +01:00
Kent Ekholm
933b98aec2 Changing platform specific name "brcm" to general name "tel".
Ref: #400
2019-03-04 17:43:09 +01:00
Kent Ekholm
48c6fea60a voice-client: Removed debug log.
Ref: #345
2019-02-27 14:17:39 +01:00
Kent Ekholm
234d1356b3 voice-client: Fixing typo.
Ref: #345
2019-02-27 13:43:50 +01:00
Kent Ekholm
561083d810 Different platforms is handled during installation.
Ref: #345
2019-02-27 10:39:35 +01:00
Kent Ekholm
a73500f662 Fixes for telephone line naming.
Ref: 345
2019-02-21 12:24:22 +01:00
Kent Ekholm
32d990e0c4 Changing TAPI channel index.
Ref: #345
2019-02-21 12:24:22 +01:00
Kent Ekholm
c382d4b1c1 voice-client: Make voice-client scripts work for both Broadcom and Intel.
Ref: #345
2019-02-21 12:24:22 +01:00
Kent Ekholm
da63d95232 voice-client: Making voice-client scripts work for both Broadcom and Intel.
Ref: #345
2019-02-21 12:24:22 +01:00
Kent Ekholm
a8cb27534b voice-client: Some cleanup in voice_client script.
Ref: #10
2019-02-08 15:25:44 +01:00
Kent Ekholm
57bd744aba voice-client: Added default config files to not get erorrs from Asterisk modules.
ref: #16273
2019-01-16 14:10:09 +01:00
Kent Ekholm
6641a075ea voice-client: Changed deprecated value for parameter nat.
Ref: #16273
2019-01-16 13:02:07 +01:00
Kent Ekholm
7916ea3bd4 voice-client: Removed erroneous double quote character. 2018-12-20 14:38:01 +01:00
Kent Ekholm
4a8598aeee Removed repeated tlsbindaddr parameter. 2018-12-18 10:53:36 +01:00
Kent Ekholm
47200eb0fa Added hotplug script for asterisk to handle network related changes.
Ref. #16488
2018-12-17 15:04:39 +01:00
Kent Ekholm
6011f9bb49 Set SIP dtmf mode to auto if it was set to the obsolete compatibility.
Ref:#16274
2018-11-28 10:59:10 +01:00
Kent Ekholm
e2897f2d83 Corrected LED setting in voice-monitor script. LED was set to On when starting to dial digits.
The LED is now kept set on Notice until hook on.

Ref: #15325
2018-11-21 10:08:12 +01:00
Kent Ekholm
8f9b75b6c5 Make audio work when a call is forwarded with *21*.
Ref: #15325
2018-11-20 12:32:03 +01:00
Jakob Olsson
5260f1ecfb security fixes: change _access_r to _access_w
ice-client: perform del_list prior to add_list _access_w
2018-11-02 14:41:11 +01:00