Commit graph

117 commits

Author SHA1 Message Date
Yalu Zhang
291266f500 Re-fix Bug #705: Asterisk gives tone even if number is not configured
Set the parameter "context" in asterisk channel configuration file according to
voice_client.sipX.call_lines, i.e. "Incoming Phone Lines".

Also 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.
2019-06-10 10:18:54 +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
Kent Ekholm
d145686f74 Setting hideconnect = yes in asterisk.conf to hide connection messages that spams the Asterisk CLI. 2018-10-26 11:56:23 +02:00
Kent Ekholm
79976db976 Added cbbs parameters in voice_client needed to make cbbs work.
option cbbs_key '5'
option cbbs_maxretry '5'
option cbbs_retrytime '300'
option cbbs_waittime '30'
2018-10-25 15:42:38 +02:00
Kent Ekholm
8989b900f1 <provider>-direct must be before outgoing, otherwise service codes will be called instead of handled.
Ref: #15325
2018-10-16 16:48:05 +02:00
Kent Ekholm
a8d2e32d39 Modified dialplan template for local calls to make hangup context be called regardless of which party is hanging up the call.
Ref: #15917
2018-10-12 17:12:11 +02:00
Ronny Nilsson
51f702eee8 Voice: Remove obsolete Asterix settings. Those are now handled by endptmngr. 2018-10-03 14:27:05 +02:00
Ronny Nilsson
7b7521dae6 Voice: slight increase of default Broadcom audio volume. 2018-09-27 15:34:27 +02:00
Kent Ekholm
933591bcc6 Fixed a typo. A double quotes was missing. 2018-09-21 16:05:24 +02:00
Kent Ekholm
44a6239d1a A timeout of 20 seconds for incoming calls will be set if CFBS is enabled.
That will make the call be forwarded after 20 seconds.
When CFBS is not enabled will the incoming call continue to to ring.

Ref: #15812
2018-09-19 15:32:45 +02:00
Kent Ekholm
29c4ae9114 Making endcall macro handle empty arguments.
Ref: 15326
2018-09-18 13:33:01 +02:00
Reidar Cederqvist
bbb3f94335 voice-client: fix security issue refs #14962 2018-05-18 17:11:56 +02:00
Kent Ekholm
04e772ce31 Added indications for croatia. 2018-04-17 16:08:18 +02:00
Kent Ekholm
445e56309a Added codes for Croatia. 2018-04-17 13:08:27 +02:00