54 Commits

Author SHA1 Message Date
Jeff Lenk
bf060c6396 FS-4664 --resolve 2012-10-01 08:56:51 -05:00
Stefan Knoblich
416f026f8c FreeSWITCH: Add preprocessor constant for default callerid number
SWITCH_DEFAULT_CLID_NUMBER and replace all occurrences
in the FreeSWITCH codebase.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-09-17 21:32:18 +02:00
Anthony Minessale
192030c578 add metadata col to internal registrations table 2012-05-30 13:05:05 -05:00
Anthony Minessale
8bb55ed4bf abstract out originate_signal_bond to a function to avoid confustion and regressions 2012-05-29 13:10:15 -05:00
Mathieu Parent
281f88ae39 Skinny: Don't do backspace if destination number is already empty
This fix a out of bound memory write.
(normally unreachable with a real phone)
2011-12-21 19:55:01 +01:00
Mathieu Parent
ff08ea68ce Skinny: reindent using vim's =G 2011-05-26 21:43:53 +02:00
Mathieu Parent
5f6c469e44 Skinny: rename skinny-route to skinny-process
this is needed to differentiate route/cfwd
2011-05-26 21:43:53 +02:00
Marc Olivier Chouinard
ba7dc9fde8 Fix for -Wunused-but-set-variable required compiler. : mod_freetdm mod_avmd mod_cidlookup mod_ladspa mod_lcr mod_nibblebill mod_rss mod_vdm mod_dahdi_codec mod_skinny mod_cdr_pg_csv 2011-04-22 22:49:41 -04:00
Mathieu Parent
6105757898 Skinny: store accessory status in db instead of memory
(this is not used yet)
2011-04-14 13:09:15 +02:00
Mathieu Parent
2bf69d621f Skinny: handle AccessoryStatusMessage 2011-04-13 23:16:08 +02:00
Mathieu Parent
4a494ff930 Skinny: incomplete support for DialedPhoneBookMessage 2011-04-13 20:14:34 +02:00
Mathieu Parent
496fd5df0f Skinny: more verbose log when pre-register message received 2011-04-10 23:16:56 +02:00
Mathieu Parent
d86388dbf7 Skinny: noop ForwardStatReq and ForwardStat implementation 2011-02-26 11:37:32 +01:00
Mathieu Parent
0f7682a27c Skinny: don't crash when requesting an RTP port while the profile is listening on all ips
And store some more ip infos in the listener struct
2011-02-25 21:06:22 +01:00
Mathieu Parent
0a14839bf9 Skinny: mark ring ready 2011-02-23 01:07:54 +01:00
Mathieu Parent
e7a8189b2b Skinny: centralized registration 2011-02-23 01:07:54 +01:00
Mathieu Parent
33848eb01c Skinny: handle Enbloc messages 2011-02-01 08:56:26 +01:00
Mathieu Parent
709c4e5f97 Skinny: Event skinny::xml_alarm 2010-12-19 22:16:40 +01:00
Anthony Minessale
93cc3dc556 normalize tests for outbound channels to use switch_channel_direction instead of testing for CF_OUTBOUND 2010-12-15 20:59:42 -06:00
Mathieu Parent
715d250e17 Skinny: handle new XMLAlarmMessage
This add support for new SCCP Firmware 9.1

(part of FS-2912)
2010-12-15 21:29:52 +01:00
Mathieu Parent
85b0e1b9c9 Skinny: Adds unimplemented send_data(), correct formats
- send_data() (only defined in .h-file - never implemented)
- Adds correct formats when adding message body.

Thanks to Peter Olsson for spotting this in FS-2737
2010-09-27 18:49:11 +02:00
Mathieu Parent
b2fd42ef09 Skinny: Windows build fix
MS compiler doesn't have strncpy, we need another method to
ensure that the body is null-terminated
2010-09-25 10:49:12 +02:00
Mathieu Parent
25ddef504d Skinny: add support to DeviceToUser and UserToDevice messages 2010-09-24 01:55:54 +02:00
Mathieu Parent
ba3a6ad6c8 Skinny: Rename skinny-default-soft-key-set-set to skinny-soft-key-set-set 2010-09-04 10:14:22 +02:00
Mathieu Parent
07c3c94d7a Skinny: allow skinny-default-soft-key-set-set per device 2010-09-04 10:06:07 +02:00
Mathieu Parent
f5a6831ffc Skinny: allow configuration of softkeys via xml
- enhance conf/skinny_profiles/internal.xml
- Sanity checks
  + softKeySet id < 16
  + less than 16 buttons per softKeySet
  + at least the default soft-key-set to load the profile
  + at least one profile to load mod_skinny
- Lower some ERRORs to WARNINGs as they don't prevent module loading
- Default skinny_str2soft_key_event to 0
2010-09-04 09:35:43 +02:00
Jeff Lenk
3be9460406 fix build 2010-08-26 14:08:42 -05:00
Mathieu Parent
f34b76c5e6 Skinny: MODSKINNY-12 (Cisco phone 7910 transfer button will not work) 2010-08-24 22:13:44 +02:00
Mathieu Parent
7eec05736a Skinny: more API
- allow to set most settings at runtime (all but ip, port and odbc-dsn)
- little rewrite of the config load
- don't print Keepalive and KeepaliveAck messages unless profile debug is >=10
- print usage when incorrect parameters
2010-07-28 19:42:59 +02:00
Mathieu Parent
0a04ecb8dd Skinny: ring tone on dialing side 2010-07-28 00:31:52 +02:00
Mathieu Parent
53f75e9c94 Skinny: blind transfer MODSKINNY-10 2010-07-27 23:50:56 +02:00
Mathieu Parent
2d1c5c8dfa Skinny: don't hangup remote calls 2010-07-27 23:48:21 +02:00
Mathieu Parent
165140e076 Skinny: ib_calls stats 2010-07-27 23:48:21 +02:00
Mathieu Parent
b40804a5e3 Skinny: corrected early media
This is part of MODSKINNY-8
2010-07-22 23:30:15 +02:00
Mathieu Parent
5e07bd336c Skinny: hangup and hold calls in PROCEED state
as those CONNECTED
2010-07-20 22:43:56 +02:00
Mathieu Parent
5017869399 Skinny: handle early media
See MODSKINNY-8 (switch_core_io.c:121
SKINNY/internal/SEP002699438FB6:0/1 has no read codec when using early
media)
2010-06-17 07:44:33 +02:00
Mathieu Parent
1d7d014612 Skinny: Basic MWI
With following limitations:
- only first line is handled
- only works well when domain name = profile name
2010-06-16 22:42:15 +02:00
Mathieu Parent
1632f82a1a Skinny: typo 2010-05-21 15:53:15 +02:00
Mathieu Parent
0cb6af2f5a Skinny: One more for MODSKINNY-1: (soft_key_event) 2010-05-21 15:52:30 +02:00
Mathieu Parent
18a7657332 Skinny: one more for MODSKINNY-1 (keypad_button) 2010-05-21 15:47:57 +02:00
Mathieu Parent
2e2d587e7b Skinny: one more fix for MODSKINNY-1 (on_hook) 2010-05-21 15:41:41 +02:00
Mathieu Parent
2cb595c71c Skinny: Avoid message too short for off_hook
Resolve MODSKINNY-1:  FreeSwitch stops working when I use a cisco 7910
phone - FREESWITCH 1.0.6
2010-05-21 15:36:01 +02:00
Mathieu Parent
9682599b6b Skinny: fix unhold 2010-05-21 02:22:32 +02:00
Mathieu Parent
14fee6c798 Skinny: set BOND variable early to have call info during ring
This is hackish
2010-05-21 02:09:09 +02:00
Mathieu Parent
5bdf8bcc16 Skinny: More channel variables 2010-05-21 01:12:40 +02:00
Mathieu Parent
bfb6a8b1f5 Skinny: Initial Windows support
Thanks to Peter Olsson

Closes: MODSKINNY-3
2010-05-20 23:19:10 +02:00
Mathieu Parent
a1f9cc1efa Skinny: pass remote session to ring_lines because BOND is not set yet 2010-05-20 18:45:25 +02:00
Mathieu Parent
924683a73c Skinny: handle SWITCH_MESSAGE_INDICATE_DISPLAY
- send SWITCH_MESSAGE_INDICATE_DISPLAY when ringing (after knowing calle
  info
- send call info when receiving SWITCH_MESSAGE_INDICATE_DISPLAY

The send SWITCH_MESSAGE_INDICATE_DISPLAY part doesn't work yet, because
partner channel is locked (have to find out why)
2010-05-20 17:14:49 +02:00
Mathieu Parent
23b09b4593 Skinny: Correct state handling
- wait for media before marking channel as answered
- set effective_caller_{id,name} before sending call info
2010-05-20 16:34:38 +02:00
Mathieu Parent
8cc89ab042 Skinny: rewrite of the skinny state machine
- for incoming calls, go CS_ROUTING only when number is dialed.
  CS_HIBERNATE before
- start media when both side have answered

Also:
- send tone for UNALLOCATED_NUMBER and USER_BUSY
- if channel variables are not sufficent to set call info, ask the
  partner channel
2010-05-20 15:16:08 +02:00