21979 Commits

Author SHA1 Message Date
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
Anthony Minessale
a4de359df4 FS-4077 --resolve this is unrelated, we had to move the network list loader before the modules load because some people using static configs would have mod_sofia load before the acl were in place and it would prevent mod_sofia from doing proper nat detection. This commit should fix it by loading acl both before and after module load 2012-04-11 09:53:35 -05:00
Anthony Minessale
2f998764c8 FS-4101 --resolve 2012-04-11 08:39:01 -05:00
Anthony Minessale
098f196298 FS-4088 2012-04-11 08:16:15 -05:00
Anthony Minessale
8954b44e9e FS-4088 2012-04-11 08:16:15 -05:00
Ken Rice
4307bee1e5 FS-4100 --resolve 2012-04-11 09:10:56 -05:00
Jeff Lenk
40c255b4d2 FS-4077 add missing 2012-04-11 08:17:39 -05:00
Anthony Minessale
62c14df322 FS-3774 --resolve 2012-04-10 16:19:23 -05:00
Anthony Minessale
995ae2621c FS-3769 --resolve 2012-04-10 16:17:16 -05:00
Anthony Minessale
a40f304990 ESL-45 --resolve 2012-04-10 16:11:36 -05:00
Anthony Minessale
6072da1b1f FS-3993 --resolve 2012-04-10 15:46:27 -05:00
Anthony Minessale
44589f1fb4 FS-4014 --resolve 2012-04-10 15:34:50 -05:00
Anthony Minessale
cf2406edaa FS-4024 --resolve 2012-04-10 15:32:23 -05:00
Anthony Minessale
4817768299 FS-4037 --resolve 2012-04-10 15:27:32 -05:00
Anthony Minessale
f209ae0191 add updated conf 2012-04-10 14:02:03 -05:00
Anthony Minessale
c10ba04834 fix pointless warnings 2012-04-10 14:02:03 -05:00
Anthony Minessale
f7b04b1045 FS-3826: --resolve put alsa libs where they go in the linker line, give this a try 2012-04-10 15:37:34 -05:00
Ken Rice
02db8e810f FS-4086 --resolve 2012-04-10 14:53:19 -05:00
Anthony Minessale
69f7ebd97d FS-4088 --resolve 2012-04-10 12:46:16 -05:00