Commit Graph

238 Commits

Author SHA1 Message Date
paulc d183c3cea2 Create and populate the call.preroute message in the call constructor, use saved message to start routing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2800 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-20 14:25:24 +00:00
paulc efad31061c Copy the packet data and append extra zeros for CRC before sending to Zaptel.
Altering a const buffer is a serious violation of the calling convention.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2799 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-20 12:40:58 +00:00
paulc 05ef31e6b7 Added parameter "queuetime" for the CDR builder to know how long a call waited in a queue.
All calls in a queue can be dropped by specifying queuename/* as id.
A call to a "single" type queue is dropped when its operator call fails.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2795 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-18 14:55:25 +00:00
paulc 6fafa9bf1e Fixed the way the remote MTP2 is disconnected.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2794 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-14 18:15:04 +00:00
paulc d140bd069d Improved RUDP debugging messages to include controlling session name.
The default RUDP sequence number is now random.
Preliminary support for RUDP v1 and version guessing from SYN length.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2781 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-11 13:46:05 +00:00
paulc 33cb279ecc Fixed the way disconnected circuits are reported from MGCP.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2773 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-28 13:04:32 +00:00
marian 00f88238bb Added capability to forward circuit events upwards to signalling module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2772 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-28 12:52:13 +00:00
paulc cf8adabc1d Implemented basic control operation for SS7 Layer 2.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2771 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-28 10:51:50 +00:00
marian b39261de15 Make sure the id contains the endpoint's port before searching for a circuit.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2746 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-03 14:02:31 +00:00
paulc 8520218d2d Added flags to data forwarded through DataNodes.
The amount of consumed data is returned to the source.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2745 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-02 09:24:33 +00:00
paulc a0821950c3 Added "address" and "version" settings so MGCP can become operational even if no RSIP is received.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2738 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-25 18:27:24 +00:00
paulc f4b1496a46 Added an unified Thread::idle method, use it instead of arbitrary
sleeps.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2737 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-24 16:47:29 +00:00
paulc 5499650213 Changed thread names to be uniform and easily readable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2733 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 14:48:26 +00:00
paulc e4bb7cac09 Added capability to issue a DLCX to clear all connections when becoming operational.
Each remote endpoint has its connections cleared when recovering from error.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2717 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-16 16:02:50 +00:00
paulc 087d8bf25b Handle a MGCP connection deletion from the gateway.
Fixed span endpoint matching to search all its circuits.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2716 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-16 13:47:52 +00:00
paulc 27ec0b5013 Added method to add a compact circuit range to an existing range.
In ysigchan status a suffix of /* or /all shows the state of all circuits of the trunk.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2712 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-15 10:38:32 +00:00
paulc ca829d943a Made some dangerous constructors explicit, fix potential problems exposed by this.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2705 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-12 15:15:36 +00:00
paulc e7dde79187 Fixed the parameter used for sending DTMF over MGCP.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2694 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-09 16:36:24 +00:00
paulc 61629e34f8 Allow to configure (and better defaults) the increment in circuit numbers caused by each span.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2693 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-09 15:34:51 +00:00
paulc 6dfcdcbd11 Fixed several warnings detected by stricter compilers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2679 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 20:05:02 +00:00
paulc a4a9588bdc Moved all point code settings to SS7ISUP so the type of point code is known and numeric (packed) values can be used.
Changed channellock to milliseconds to improve resolution.
Documented channellock and userparttest parameters.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2660 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-28 17:18:50 +00:00
paulc 914e9d2443 Changed some incorrect DebugStub levels.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2658 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-28 16:08:08 +00:00
paulc 1cc07d55dd Correctly apply minimum ACD query interval policy.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2653 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-26 15:57:05 +00:00
paulc 0a6be5b4d1 Major rewrite of signalling components creation and configuration.
The creation of subcomponents is offloaded to each component to allow for proper building of the component stack.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2650 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-26 13:43:24 +00:00
paulc 2562d52f57 The Cisco SM plugin can be unloaded if there are no sessions configured.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2623 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-11 19:45:07 +00:00
paulc 2c66a74862 Added Cisco Session Manager module.
Fixed session user cleanup.

git-svn-id: http://yate.null.ro/svn/yate/trunk@2622 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-10 15:50:08 +00:00
paulc 275bb5dfc8 BRI configuration for zapcard, no need to define it as a custom E1 anymore.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2620 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-08 16:45:22 +00:00
paulc 0343acc958 Find installed Wanpipe headers if available, let tdmcard compile if found.
The Linux kernel headers are only used as fallback for wpcard.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2619 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-08 16:03:59 +00:00
andrei 6c8eb0c2aa Added Cisco Session Manager protocol support for Signaling Link Transport.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2618 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-08 15:01:37 +00:00
andrei c05caed96b Added channel for Sangoma TDM Voice API.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2617 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-08 15:00:00 +00:00
paulc c669a24f90 Added mutex names to most Yate modules.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2613 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-05 14:06:39 +00:00
paulc 0d6d444e7a Removed leftover unused member, the Fifo class is now derived from Mutex.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2601 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-28 12:02:59 +00:00
paulc 9ca562885d Made the samples loop inner to the circuit loop so the consumer's fifo can be locked once per channel, not per sample. Fixes performance hit issues.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2600 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-28 11:33:54 +00:00
paulc 969cedc237 Fixed bug in version preserving code.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2596 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-24 17:56:44 +00:00
paulc 5040465935 Fixed endpoint incrementation algorithm and circuit creation.
Fixed MGCP connection and SDP creation.
Detect protocol version from RSIP message.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2595 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-24 17:36:25 +00:00
paulc b133009ee1 Added method and PBX operation to cancel a pending attended transfer.
Make sure pending transfers are cancelled if operations that change the pair of active / held calls can succeed.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2590 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-17 15:24:10 +00:00
paulc 55bd097471 Preliminary support for FXS (analog) MGCP gateways.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2577 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-13 12:31:11 +00:00
paulc 7d8b6d3966 Added a single method to populate the database message and show the query in debug output.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2560 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-02 15:12:29 +00:00
paulc 988d0431ff Added option to execute call diversion requested by a signalling protocol.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2552 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-29 21:14:37 +00:00
paulc 13cc53ff77 Allow mysqldb to compile on systems without mysql_set_character_set.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2539 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-24 19:59:59 +00:00
paulc c5835a2207 Added query parameter ${length} that holds length of binary data.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2537 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-24 16:09:50 +00:00
paulc 0d61814eb8 Added dbwave module that can play or record from a binary database field.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2535 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-23 15:58:01 +00:00
paulc 83069bb94c Added setting for client character set (encoding) of the MySQL connection.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2534 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-23 15:43:15 +00:00
paulc d544fdf1dc Added setting for client_encoding of the PostgreSQL connection.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2530 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-22 21:35:13 +00:00
paulc ecd08db6c8 Directly route clustered calls on target if possible and called number is empty.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2524 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-11 15:44:58 +00:00
paulc 6a4154f429 SQL escape engine runtime parameters substituted in init query.
Apply engine parameter substitution to indirect queries too.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2523 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-11 15:13:33 +00:00
paulc a105d65943 Allow replacing engine runtime parameters in the init query.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2522 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-11 15:02:59 +00:00
paulc c741cf6b4f Added call.cdr handler to add "nodename" and "nodeprefix" cluster parameters.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2520 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-11 10:41:22 +00:00
paulc f1275550d3 Use the stored "copyparams" as a fallback for the list of parameters to be copied out of the keep in new messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2511 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-04 18:04:53 +00:00
paulc 05b717e0b9 ISDN BRI support, most Andrei's (andrei@null.ro) work.
Fixes and new features throughout the signalling engine.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2505 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-02 18:51:30 +00:00