-------------------------------------------------------------------------------
* e2733e1 Unify init error handling in main().
* 40f9dff Extend signals handling to catch more of them. Needed for procd reload to work.
* 075323d Re-enable of endptmngr automatic restart. The feature should work now.
* 049ab98 At startup it's no error if we can't lookup Asterisk address. It will be handled later.
* 02788f1 Variable renames for consentient naming.
* afdd8d5 Variable rename for consentient naming.
* 40b5bc1 Move variables to collect them in a nicer looking one place.
* ba83865 Move add and remove of our UBUS objects to separate functions to enable receive of messages once we are fully ready.
* 62ea918 Move closing down and freeing of all endpoint resources to a separed function, callable from several places.
* 67e408c Mark all endpoint states as not yet initialized on startup and use that later on when scanning for endpoints in use.
* a01aa5a Pass phone line number along with each audio packet.
* 9aa9950 Change debug printouts for lines to become similar to what Asterisk chan_brcm.c used.
* 1e48a90 Remove an unused compiler attribute.
* b8445e4 Regarding the RPC fifos with Asterisk; become independent of daemon startup order and Asterisk restart recovery by opening all fifos R/W.
* 010856f Better cleanup at exit
* aec7c3d Before closing the application we need to free all resources or the voip lib won't work next time we startup.
* a5867ab Helper for closing all active connections.
* 3394e42 Debug print of endpoint name
* 07e1b54 Need to check ending NULL of the string as well or "on1234" matched "on".
* 4d58f0c Fix inverted return code for setting signal tone.
* 5fb719b Line signaling didn't work before the first connection, such as the dialtone for offhook events.
-------------------------------------------------------------------------------
commit e2733e11e42e5014af7f4b6140aa0a3b6cbb6d10
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2018-03-13 15:17:44 +0100
Unify init error handling in main().
Base directory -> /
src/endpt.c | 20 ++++++--------------
1 file changed, 6 insertions(+), 14 deletions(-)
-------------------------------------------------------------------------------
commit 40f9dffb608e146bb5d7e34bf84af665147ef79f
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2018-03-13 15:15:28 +0100
Extend signals handling to catch more of them. Needed for procd reload to
work.
Base directory -> /
src/endpt.c | 35 ++++++++++++++++++++++++++++++++---
1 file changed, 32 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 075323d823f2d0b2c755ffbfa17c375a01214f23
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2018-03-12 17:20:49 +0100
Re-enable of endptmngr automatic restart. The feature should work now.
Revert "Revert "Restart the endptmngr daemon when UCI voice client
settings"" This reverts commit 719be12028f018e0c1e145082b920e7aefc3c8fa.
Base directory -> /
files/etc/init.d/endptmngr | 5 +++++
1 file changed, 5 insertions(+)
-------------------------------------------------------------------------------
commit 049ab98df570596c02e34b0b5283c5a609bc9142
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2018-03-12 17:20:40 +0100
At startup it's no error if we can't lookup Asterisk address. It will be
handled later.
Base directory -> /
src/ubus.c | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit 02788f1cb602c45e1f380ca2d06bd18885aa3d71
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2018-03-12 14:57:06 +0100
Variable renames for consentient naming.
Base directory -> /
src/ubus.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
-------------------------------------------------------------------------------
commit afdd8d52f751ae19ebfcc093e661b42bf2e5f500
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2018-03-12 14:53:47 +0100
Variable rename for consentient naming.
Base directory -> /
src/ubus.c | 96 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-------
1 file changed, 85 insertions(+), 11 deletions(-)
-------------------------------------------------------------------------------
commit 40b5bc1823dd278ee9259bc2e57fa2490877e756
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2018-03-12 13:17:24 +0100
Move variables to collect them in a nicer looking one place.
Base directory -> /
src/ubus.c | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit ba8386553fc6f5c925ecfbcfce4b03d79369a879
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2018-03-12 13:14:42 +0100
Move add and remove of our UBUS objects to separate functions to enable
receive of messages once we are fully ready.
Base directory -> /
src/endpt.c | 2 ++
src/ubus.c | 51 +++++++++++++++++++++++++++++++++++++++++++++------
src/ubus.h | 2 ++
3 files changed, 49 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit 62ea9182dccd7849074f1aabd2f5adc492f778e7
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2018-03-12 13:09:57 +0100
Move closing down and freeing of all endpoint resources to a separed
function, callable from several places.
Base directory -> /
src/endpt.c | 93 ++++++++++++++++++++++++++++++++++++-------------------------
1 file changed, 55 insertions(+), 38 deletions(-)
-------------------------------------------------------------------------------
commit 67e408c3ed2e85692ebc48d0bce43d5c59725086
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2018-03-12 13:05:21 +0100
Mark all endpoint states as not yet initialized on startup and use that
later on when scanning for endpoints in use.
Base directory -> /
src/endpt.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit a01aa5acec534058d19f4bec6163bbf28809c281
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2018-03-10 00:20:03 +0100
Pass phone line number along with each audio packet.
Base directory -> /
src/endpt.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 9aa9950930867cd135e9ef3fbfdea7d9e29ce6c7
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2018-03-09 23:18:32 +0100
Change debug printouts for lines to become similar to what Asterisk
chan_brcm.c used.
Base directory -> /
src/endpt.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 1e48a90aaaeadf395054800a67d39dafc9d1d696
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2018-03-09 23:17:38 +0100
Remove an unused compiler attribute.
Base directory -> /
src/endpt.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit b8445e49d78cf04b0ba96af4680684671b3a47f1
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2018-03-09 23:17:00 +0100
Regarding the RPC fifos with Asterisk; become independent of daemon startup
order and Asterisk restart recovery by opening all fifos R/W.
Base directory -> /
src/endpt.c | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
commit 010856fcfbd9196a93b6b244f7f907ec4897f8ac
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2018-03-09 19:51:46 +0100
Better cleanup at exit
Base directory -> /
src/endpt.c | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit aec7c3d5968c118c702619803a3393e58520f7aa
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2018-03-09 14:48:11 +0100
Before closing the application we need to free all resources or the voip lib
won't work next time we startup.
Base directory -> /
src/endpt.c | 59 +++++++++++++++++++++++++++++++++++++++++++++++------------
1 file changed, 47 insertions(+), 12 deletions(-)
-------------------------------------------------------------------------------
commit a5867ab823ef6b7069c106fbbb7046d8dc3159ca
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2018-03-09 14:46:44 +0100
Helper for closing all active connections.
Base directory -> /
src/endpt.c | 19 +++++++++++++++++++
src/endpt.h | 1 +
2 files changed, 20 insertions(+)
-------------------------------------------------------------------------------
commit 3394e42a19cec4e77508227a38fbe51067f833a2
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2018-03-06 18:28:11 +0100
Debug print of endpoint name
Base directory -> /
src/endpt.c | 2 +-
src/endpt.h | 3 ++-
src/ubus.c | 2 ++
3 files changed, 5 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 07e1b54f4de1c715474c30b531782ba3e87d8cfc
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2018-03-05 16:38:02 +0100
Need to check ending NULL of the string as well or "on1234" matched "on".
Base directory -> /
src/ubus.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 4d58f0cd79010c7a314ae019c4d0f86897aa8b2b
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2018-03-05 16:36:06 +0100
Fix inverted return code for setting signal tone.
Base directory -> /
src/ubus.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 5fb719b5d4e52666385b875de3b2f47cef9c3d74
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2018-03-05 16:33:24 +0100
Line signaling didn't work before the first connection, such as the dialtone
for offhook events.
Base directory -> /
src/endpt.c | 25 ++++++++++++++++++++-----
1 file changed, 20 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
2018-03-26 11:52:46 +02:00
37 changed files with 257 additions and 91 deletions
uci show voice_client | grep user | grep -wq "$from" && direction="OUTGOING" || direction="INCOMING"
json_add_object ""
json_add_string uniqueid "$uniqueid"
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.