Manawyrm
79aea14938
Add new clearmode codec support for data calls
...
This new codec will get handled like RFC4040 in yrtpchan, ysipchan
and will just be handled as alaw audio in zapcard/DAHDI.
The zapcard code will set the udi bearer cap to any calls with the
clearmode format (which would get sent via SIP/SDP).
2023-09-19 15:51:53 +00:00
Manawyrm
cebbaa38e1
zapcard: ioctl SetAudioMode to false, ensuring a clear data channel
2023-09-07 11:40:14 +00:00
Manawyrm
9938abb398
zapcard: use DAHDI_POLICY_WHEN_FULL for B-channel buffers
2023-09-07 11:40:14 +00:00
Manawyrm
8a6c138dc7
Add new span parameter to zapcard, removing the need for offset calculations
...
DAHDI has nice readable names for each span, there's no need to do any channel
calculations by hand. This change searches for a span with the specified name
and will use it's offset as the channel offset.
[octoi]
type=E1
offset=279
[auerswald]
type=E1
offset=31
becomes:
[octoi]
type=E1
span=trunkdev/octoi/0
[auerswald]
type=E1
span=TE8/0/2
which should be more reliable and less error-prone in the long run.
2022-10-30 12:52:21 +00:00
Harald Welte
02ab7441ae
preserve transfer-capability in Q.931 -> Q.931 calls
...
This is important so udi/rdi doesn't get converted to speech.
2022-03-08 08:26:42 +01:00
oana
6478809001
Allow ISUP decoding or encoding of data from/to hexified string.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6546 acf43c95-373e-0410-b603-e72c3f656dc1
2022-03-03 09:20:12 +00:00
oana
f078f77cf1
Handle possible missing declaration of MySQL type my_bool as its definition was removed in version > 8.0.1.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6499 acf43c95-373e-0410-b603-e72c3f656dc1
2021-06-01 14:04:29 +00:00
paulc
80cfdf66de
Fixed retrieval of MySQL error code.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6419 acf43c95-373e-0410-b603-e72c3f656dc1
2020-08-17 11:07:03 +00:00
marian
4fbc9eecfe
Added support to retry a query when deadlock is returned by the server.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6417 acf43c95-373e-0410-b603-e72c3f656dc1
2020-07-21 14:00:05 +00:00
paulc
073f33a3fb
Added setting to execute account operations on reload.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6414 acf43c95-373e-0410-b603-e72c3f656dc1
2020-07-13 14:27:52 +00:00
marian
e090326356
Added separate (global) mutex used to protect access to Channel::m_status. Removed unsafe public method used to obtain it. Added methods used to safely obtain a copy of it.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6410 acf43c95-373e-0410-b603-e72c3f656dc1
2020-05-29 14:03:35 +00:00
paulc
92b1488538
Protect and check the MGCP GW address if changing it.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6395 acf43c95-373e-0410-b603-e72c3f656dc1
2020-03-31 16:30:56 +00:00
oana
7774968d10
Return extra configuration parameters for users in user.auth response also.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6350 acf43c95-373e-0410-b603-e72c3f656dc1
2019-04-01 12:56:30 +00:00
marian
279f2ae6fe
Fixed TokenDict arrays not ending with token and value set to 0.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6342 acf43c95-373e-0410-b603-e72c3f656dc1
2019-01-18 09:46:21 +00:00
marian
72f8657188
Added Channel parameters list to be set in all Channel messages. Update it from routing and chan.control.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6339 acf43c95-373e-0410-b603-e72c3f656dc1
2019-01-14 09:54:04 +00:00
marian
06eabcb03f
Removed account lock during query: this was preventing running multiple queries at a time.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6326 acf43c95-373e-0410-b603-e72c3f656dc1
2018-10-25 11:21:09 +00:00
marian
698b55da64
Fixed vendor value build from individual octets: avoid generating wrong values when octets are promoted to int.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6302 acf43c95-373e-0410-b603-e72c3f656dc1
2018-03-13 13:07:51 +00:00
paulc
1dc8d69a8e
Added a helper class SocketRef and use it instead of all ad-hoc similar classes.
...
Fixed a memory leak in Jabber SSL listeners.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6299 acf43c95-373e-0410-b603-e72c3f656dc1
2018-02-20 11:58:02 +00:00
paulc
a77fbc77bb
Fixed SCTP validity checks for association vs primary peer.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6294 acf43c95-373e-0410-b603-e72c3f656dc1
2018-01-25 14:29:16 +00:00
paulc
accb50a103
Fixed misleading indentation.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6292 acf43c95-373e-0410-b603-e72c3f656dc1
2018-01-10 12:18:58 +00:00
paulc
671aca54ec
Use same filtering rule for accounts status and TAB completion as for login/logout.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6270 acf43c95-373e-0410-b603-e72c3f656dc1
2017-10-02 12:02:38 +00:00
paulc
d60c0d2b34
Added support for basic processing of China and Japan ISUP versions in SIP-T.
...
National specific messages are not decoded, just ITU compatibility.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6265 acf43c95-373e-0410-b603-e72c3f656dc1
2017-09-18 12:18:46 +00:00
paulc
c4c9e994f0
Renamed DebugGoOn to DebugCrit so it better matches its purpose.
...
Swapped order of DebugCall and DebugNote so DebugCall is less visible.
Changed default debug level to DebugNote.
Modified a few inadequate uses of DebugCrit.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6250 acf43c95-373e-0410-b603-e72c3f656dc1
2017-08-01 13:08:23 +00:00
paulc
7d4da59ace
Added handling of SCTP states PF and UNCONFIRMED if supported by the library.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6249 acf43c95-373e-0410-b603-e72c3f656dc1
2017-08-01 12:36:57 +00:00
oana
53f5d5b1bf
Unescape status values that might escaped characters (like ';', ',' or '|').
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6185 acf43c95-373e-0410-b603-e72c3f656dc1
2017-02-17 09:52:39 +00:00
paulc
cdba9c103b
Added method for URI escaping an entire list of characters.
...
Escape status detail characters that may disturb status parsing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6184 acf43c95-373e-0410-b603-e72c3f656dc1
2017-02-16 11:24:25 +00:00
paulc
c67312d159
Added extra checks for race conditions where CallEndpoint::setEndpoint() may fail.
...
Added convenience static RefObject::alive() method to check a RefObject pointer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6177 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-27 11:25:29 +00:00
paulc
e43033d137
Added option to return a data sniffer safe and referenced.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6175 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-26 15:32:39 +00:00
oana
21e76fd932
Export message queues statistic data via SNMP.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6160 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-03 14:51:13 +00:00
paulc
0b184401a3
Added handling of CDR operation "status" in the register module.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6150 acf43c95-373e-0410-b603-e72c3f656dc1
2016-11-15 16:44:44 +00:00
paulc
479cba85a4
Interpret call.cdr operation=update as an interim accounting.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6149 acf43c95-373e-0410-b603-e72c3f656dc1
2016-11-09 14:17:21 +00:00
paulc
88fc10abc6
Fixed a memory leak returning data from the SQLite module.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6146 acf43c95-373e-0410-b603-e72c3f656dc1
2016-11-07 17:54:44 +00:00
marian
353f7e696d
Rollback accidentally commited files in previous commit.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6137 acf43c95-373e-0410-b603-e72c3f656dc1
2016-09-15 10:45:40 +00:00
marian
4590f53dc7
Documented tcp idle/keeplive intervals.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6136 acf43c95-373e-0410-b603-e72c3f656dc1
2016-09-15 10:35:31 +00:00
paulc
648123eb0a
Fixed a pointer use after free.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6104 acf43c95-373e-0410-b603-e72c3f656dc1
2016-03-17 19:00:17 +00:00
paulc
dd5c21a636
Add the Cisco call-id to the Access-Request packet too.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6093 acf43c95-373e-0410-b603-e72c3f656dc1
2016-02-15 15:31:43 +00:00
paulc
818bce0ae9
Fixed two invalid false to null conversions.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6085 acf43c95-373e-0410-b603-e72c3f656dc1
2016-01-20 10:29:46 +00:00
paulc
3aeb6687d5
Fixed a GCC 6 build error: C++11 requires a space between literal and string macro.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6084 acf43c95-373e-0410-b603-e72c3f656dc1
2016-01-20 10:23:35 +00:00
paulc
c68db49d5d
Made Cisco and Quintum voice attributes configurable per section.
...
Fixed comments in sample config file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6083 acf43c95-373e-0410-b603-e72c3f656dc1
2016-01-12 13:44:10 +00:00
marian
63e8ac7e47
Fixed bug: avoid wrting past array bound.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6009 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-28 12:02:11 +00:00
marian
ad90bd6de7
Cancel call monitor thread instead of deleting it: avoid virtual method call on Windows.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5951 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-26 15:18:15 +00:00
marian
e400402cda
Properly check normal/emergency alignment when trying to align.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5925 acf43c95-373e-0410-b603-e72c3f656dc1
2014-11-27 14:57:13 +00:00
paulc
ba13dedd67
Added SQLite database support.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5913 acf43c95-373e-0410-b603-e72c3f656dc1
2014-09-16 13:04:05 +00:00
paulc
11a02cf913
Resolved or silenced a number of compile warnings.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5891 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-31 16:30:15 +00:00
paulc
f1185a554b
Fixed a number of unused member variables.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5890 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-31 13:54:23 +00:00
marian
3c7346a548
Fixed bug: properly initialize class member from constructor parameter.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5804 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-20 11:24:32 +00:00
paulc
7666d7995d
Properly count signaling objects created by a factory.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5787 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-24 13:50:58 +00:00
paulc
4cd2a2e2b0
Properly count objects created in the monitoring alarm hook.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5785 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-24 12:47:41 +00:00
paulc
fa60c8629a
Count circuit alocated objects in the plugin creating them.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5781 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-19 11:43:04 +00:00
paulc
37a72e4bc1
Added copyright notices to sources and scripts missing them.
...
Updated copyright notices for 2014.
Fixed end of lines in many files.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5755 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 11:42:17 +00:00