21947 Commits

Author SHA1 Message Date
Anthony Minessale
19f441c6f4 move relevant portion of display update code into the core and fix mod_loopback bug involving passing display updates across properly 2012-04-17 16:13:41 -05:00
Anthony Minessale
e27a9c78c3 put caller back into the fifo if the agent hangs up before they are bridged 2012-04-17 16:12:14 -05:00
Giovanni Maruzzelli
a621cdee99 gsmopen: added proof of concet to send pdu messages via gsmlib 2012-04-17 22:54:54 +02:00
Giovanni Maruzzelli
1f664b68f4 gsmopen: added gsmlib support to incoming smss (eg: PDU mode) 2012-04-17 21:17:09 +02:00
Giovanni Maruzzelli
3df7a04df5 gsmopen: added win_iconv 2012-04-17 20:11:44 +02:00
Giovanni Maruzzelli
3747375196 gsmopen: re-added gsmlib 2012-04-17 18:40:32 +02:00
Anthony Minessale
51810b9892 FS-4120 --resolve 2012-04-17 08:31:47 -05:00
Giovanni Maruzzelli
61894c23ae gsmopen: zeroize sms_message store in case we receive an empty message 2012-04-17 11:27:54 +02:00
Anthony Minessale
f4961bc905 fix dependency order 2012-04-16 16:38:48 -05:00
Anthony Minessale
02e5eaefec FS-4118 --resolve 2012-04-16 16:14:20 -05:00
James Zhang
e2f1b4ab27 freetdm: fix REL receiving leg always stay in TERMINATING stae in
native bridge mode
         - This is supposed to be included in commit of
           b324f8679782957bc9db3bdfd6687aa42cba77dd. Somehow it's
           not included in that commit. Without this change, the
           REL receiving leg always stay in TERMINATING state when
           received an incoming REL message.
2012-04-16 13:48:35 -04:00
Anthony Minessale
6e512f1a89 FS-4053 --resolve 2012-04-16 11:57:19 -05:00
Anthony Minessale
ecfe3263e2 FS-4114 --resolve this bug is actually in libsndfile, if its not fixed in the latest version we probably should report it upstream 2012-04-16 11:55:52 -05:00
Anthony Minessale
e1db065195 FS-4115 possible workaround for sipura bug + recording 2012-04-16 11:14:22 -05:00
Michael S Collins
044d802cf0 Suggested new phrases: day mode, night mode, lunch mode, etc. 2012-04-16 08:53:18 -07:00
Giovanni Maruzzelli
4ff99df417 gsmopen: Makefile.am updated 2012-04-16 16:23:24 +02:00
Giovanni Maruzzelli
e6689bada9 gsmopen: using non volatile memoty for storage (vs SIM), new reading with timeout from serial port 2012-04-16 15:18:08 +02:00
Stefan Knoblich
997550c511 ftmod_libpri: Check for required features in configure and remove old-style log callbacks
Non-PRI_NEW_SET_API logging callbacks were only available in libpri-1.0 and older,
which also lacks PRI_IO_FUNCS (required) and wouldn't work anyway.

Explicitly check for both PRI_* feature defines at configure time and reject libpri
versions that lack them.

Remove the non-PRI_NEW_SET_API logging callbacks in ftmod_libpri.c.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-04-14 01:39:25 +02:00
Stefan Knoblich
020724e103 ftmod_libpri: Improve libpri message logging.
Use the PRI_NEW_SET_API define provided by >=libpri-1.2 to distinguish
between old style and new style pri_set_error() and pri_set_message()
callback functions.

Improve message logging by using ftdm_log_chan() if per-span
data with a valid (d-)channel object is available.
NOTE: pri_get_userdata() returns NULL if pri is NULL.

This will reduce the horizontal space for libpri output a bit, but allows
us to see which span the message/error came from.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-04-14 01:13:22 +02:00
James
cd2d67ace1 freetdm: fixed group block/unblock state dead lock when signal link
is down and recovered later
         To re-produce this bug:
             1. do CGB on one side
             2. unplug signaling link cable
             3. plug signaling link cable back
             4. do CGU on the blocking side
             5. cic state stay in RESTART for ever
         Fix this problem by sending cic to SUSPENDED state after
         receiving/sending CGU message
2012-04-13 17:26:48 -04:00
Anthony Minessale
9c288870e2 FS-3994 --resolve regression from FS-3596:b2d2353c 2012-04-13 15:58:49 -05:00
Brian West
1454cdf15a send the name and number in the right order 2012-04-13 15:33:42 -05:00
Anthony Minessale
ab0736127a FS-4043 --resolve 2012-04-13 12:47:30 -05:00
Anthony Minessale
0eb9b0101f FS-4110 --resolve yes this block is wrong we can't guess the right presence id here 2012-04-13 11:37:06 -05:00
Anthony Minessale
f6c9e19639 FS-3750 2012-04-13 11:19:08 -05:00
Anthony Minessale
1145905513 FS-4106 --resolve 2012-04-13 11:18:16 -05:00
Giovanni Maruzzelli
11bf6f468d Merge branch 'gsmopen01' 2012-04-13 18:32:21 +02:00
Brian West
f263c0518e up this limit 2012-04-13 11:39:03 -05:00
Giovanni Maruzzelli
59af24747e gsmopen: workaround for reading with timeout, need something to simulate the poll. Next week :) 2012-04-13 18:30:48 +02:00
James Zhang
a796c6849c freetdm: fixed no ACM/CPG sending in some situations after native bridge
- clear up ACM_SENT & CPG_SENT flag in DOWN state in native
           bridge state machine
2012-04-13 11:18:53 -04:00
Giovanni Maruzzelli
f74ba1ae61 Merge branch 'master' into gsmopen01 2012-04-13 17:18:03 +02:00
Giovanni Maruzzelli
9fb2c7f25a gsmopen: hardwired SMS unicode test now works 2012-04-13 16:09:54 +02:00
Anthony Minessale
a76a252514 FS-4109 --resolve 2012-04-13 08:57:34 -05:00
Giovanni Maruzzelli
d3a11b56b3 gsmopen: make huawei 1550 work with SMS in text UCS2: if you give CSMP after CSCS will die, let's do the opposite, first csmp then cscs. Two days catching this one. Bah :/ 2012-04-13 15:46:26 +02:00
Anthony Minessale
6a3478f2f1 FS-3750 --resolve 2012-04-13 08:43:46 -05:00
Anthony Minessale
44e5691223 FS-4107 --resolve 2012-04-13 07:33:00 -05:00
Anthony Minessale
a00e9afe92 swig 2012-04-12 16:28:50 -05:00
Anthony Minessale
f9aec85b76 FS-4105 --resolve 2012-04-12 10:00:37 -05:00
Anthony Minessale
ca27465020 FS-4104 --resolve 2012-04-12 09:53:53 -05:00
Anthony Minessale
76fcaf4c35 doh 2012-04-12 09:36:23 -05:00
Anthony Minessale
ccf01a6d30 FS-4066 --resolve pidf and its many varieties FTW 2012-04-12 09:35:09 -05:00
Jeff Lenk
7e69fd8fd7 vs2010 reswig 2012-04-12 10:35:26 -05:00
Anthony Minessale
f9b3266720 endless recursion loop protection to go with new recursive variable expansion feature 2012-04-12 07:23:08 -05:00
Stefan Knoblich
5f38a7f857 ftmod_misdn: Remove unused timerfd code.
Timer-based b-channel tx gating won't work anyway, so remove all those
"#if 0"-ed bits of cruft.

Also remove the mISDN-specific timerfd_create() check in configure.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-04-12 13:08:57 +02:00
Giovanni Maruzzelli
d31b3e488c gsmopen: signal low alarm is now at < than 11 RSSI 2012-04-12 11:41:31 +02:00
Anthony Minessale
9ced4a353b FS-4037 --resolve 2012-04-11 15:31:56 -05:00
Anthony Minessale
385a92cec7 add origination_nested_vars=true to allow vars within vars in originate strings e.g. [originate {origination_nested_vars=true,TEST=,var=,recur=W00t}user/1004 3000] will end up as w00t 2012-04-11 15:30:37 -05:00
James Zhang
8d1c382632 freetdm: INR/INF implementation
- fill in IEs in INF according to INR request
         - print debug information if IE requested but not supported
2012-04-11 15:14:29 -04:00
James Zhang
16d4f1f063 freetdm: INR/INF implementation
- When NSG receives INR from network, send back INF with calling
         party category information IE and calling number information IE.
         - Introduced a new global setting of "force-inr" for testing
         purpose. Stinga generated INR/INF packets are not acceptable by
         trillium stack since it misses call related information in the
         packets. If configure force-inr to true in freetdm.conf.xml, when
         NSG receives an incoming IAM, it'll send out INR packet regardless
         of incoming IAM's IEs, and keep waiting for INF response from the
         calling side.
         - T.39 timer is introduced in order to handle INR timeout. The
         default value of T.39 is 12 seconds and is configurable according
         to spec.
         - Only supports calling number IE and calling party category IE in
         current fix. The customer only needs the calling number IE right now.
         In ISUP spec, there are 6 optional IEs. NSG only supports calling
         party number and calling category information IE since the other
         IEs are not configurable in freetdm.conf.xml or included in IAM
         message.
         - In collect state, INR/INF implementation needs to work with existed
         SAM messages. If NSG sent out INR and wait for SAM, collect state
         check both INF received and enough dialed numbers received. If one
         of these conditions are not met, it'll stay in collect state and wait
         until either conditions met or timeout. After received INF and enough
         dailed number, state moves to dailing and proceed as regular calls.
2012-04-11 11:20:32 -04:00
Anthony Minessale
febb9cc07e FS-4037 revert 48177682991e54201674364223603abb3ebefa9b causing audio issues with speex 2012-04-11 09:59:55 -05:00