Mathieu Parent
9a689a45fc
Skinny: correct transfer
2010-04-16 18:01:19 +02:00
Mathieu Parent
03f91afd34
Skinny: VersionMessage per device type
2010-04-16 18:01:19 +02:00
Mathieu Parent
deb2277936
Skinny: allow firmware version per device
2010-04-16 15:16:27 +02:00
Mathieu Parent
4263dda2de
Skinny: Initial implementation of VersionReq
...
And reordering
2010-04-16 15:03:37 +02:00
Mathieu Parent
00b2622350
Skinny: initial transfer support
...
and some re-indentation
2010-04-16 11:59:58 +02:00
Mathieu Parent
3a8d9a04dc
Skinny: reordering message types
2010-04-15 15:24:04 +02:00
Mathieu Parent
e7a5420b31
Skinny: handle Hold stimulus
2010-04-15 15:05:34 +02:00
Mathieu Parent
764b435d7c
Skinny: correct backspace handling, and behave more like CCM
2010-04-15 14:47:01 +02:00
Mathieu Parent
93db4451d1
Skinny: fix previous commit, define current time on hangup
2010-04-15 11:11:05 +02:00
Mathieu Parent
d41f32356c
Skinny: calling shared lines
2010-04-15 11:07:45 +02:00
Mathieu Parent
e44d79192f
Skinny: Handle backspace
2010-04-15 10:54:01 +02:00
Mathieu Parent
befd41c829
SKinny: handle hold corner cases
...
- try to re-use existing OffHook session
- hold active lines before: newcall, resume
- allow endcall on: offHook, afterFirstDigit
- allow newcall on: connected, ringin
2010-04-09 18:02:14 +02:00
Mathieu Parent
555b205344
Skinny: handle backspace
2010-04-09 16:54:29 +02:00
Mathieu Parent
a1952b8636
Skinny: implement hold/resume
...
Also rework a bit softkey sets
2010-04-09 16:12:58 +02:00
Mathieu Parent
7e3c29c600
Skinny: manage shared lines from the calling POV
...
Called POV already implemented
2010-04-09 14:59:18 +02:00
Mathieu Parent
924e960d0a
perl-skinny: enhance test
...
- Use thread for: keepalive, receive and send
- Run indefinitevly
2010-04-09 14:40:33 +02:00
Mathieu Parent
adcb11f3d3
Skinny: fix calls without media
...
If party_id is 0, the phone will not properly release media
2010-04-09 11:13:22 +02:00
Mathieu Parent
bec8d75ef6
Skinny: don't double unlock on keypad
...
double unlock is same as locking :P
2010-04-08 23:17:13 +02:00
Mathieu Parent
c15e163b88
Skinny: avoid non-set profile name
2010-04-08 23:16:44 +02:00
Mathieu Parent
d3d50e6eb3
Skinny: release XML config
...
Fixes: reloadxml blocked
2010-04-08 22:59:31 +02:00
Mathieu Parent
ca8ec66ed3
Skinny: avoid crash on shutdown
...
Because of uninstancied listener
2010-04-08 22:48:36 +02:00
Mathieu Parent
58595bdaec
Skinny: solve deadlocks and more
...
- Solve deadlock:
+ associate all skinny_profile_find_session with the corresponding
switch_core_session_rwunlock
+ lock the newly created session in skinny_create_ingoing_session
+ enhance rwlocks debugging
- Shared lines:
+ Inform shared lines on answering
+ Answering line has info after other shared lines
2010-04-08 22:38:24 +02:00
Mathieu Parent
9c4767456a
Skinny: Hook the proper line
2010-04-02 15:12:06 +02:00
Mathieu Parent
5a4fbd414e
Skinny: unused variable
2010-04-02 14:50:11 +02:00
Mathieu Parent
9cf882566f
Skinny: security
...
- Avoid writing outside of fields
- tab ident
2010-04-02 14:47:37 +02:00
Mathieu Parent
8950d00b1f
Skinny: Fix the build
2010-04-02 14:25:16 +02:00
Mathieu Parent
c216c722af
perl-skinny: Add call test
...
- more verbose when incomplete message
- guess hostname
- do a basic call to Voicemail:
+ Newcall softkey, wait 5
+ Voicemail button, wait 20
+ EndCall softkey
2010-04-02 12:21:47 +02:00
Mathieu Parent
63f3948d83
Skinny:
...
- don't force session location (not needed)
- Correct Skinny-Station-Instance event header and log if profile or
device is not found
2010-04-02 12:15:33 +02:00
Mathieu Parent
5ce2759e70
Skinny: Add the missing api files
2010-04-02 12:14:41 +02:00
Mathieu Parent
54e73c774f
Skinny: Check for socket to see if listener is alive
...
also, use tab to indent
2010-04-01 19:50:55 +02:00
Mathieu Parent
59bb764ff9
Skinny: avoid some crashes
...
- move api to own file
- really allow several profiles (one thread per profile)
- global pool
- pool per profile
- Remove unused globals.calls
- Check for closed listener before sending data
- use mutex for hashes
2010-04-01 19:41:48 +02:00
Mathieu Parent
b8ac781c05
Skinny: Implement shared lines and more
...
- Shared lines (same line on several phones)
+ Active lines stored in db
- Separate SQL mutex per profile
- New event skinny::call_state
- Clean port_message
- More protocol understanding:
+ stimulus may have call_id
+ off_hook may have call_id
+ set_ringer may have call_id and line_instance
+ New DisplayPriNotifyMessage
- Use Cisco terms for Call state
+ Congestion -> LineInUse
+ CallRemoteMultiline -> InUseRemotely
- Add line_instance to Lines table (relative position contrary to
absolute position)
- Less assertions as FS already does some
2010-04-01 14:08:12 +02:00
Mathieu Parent
39c9065e87
perl-skinny: enhance the Testsuite
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17128 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-29 07:44:25 +00:00
Mathieu Parent
868530fc05
Skinny: split the test into perl lib + bin
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17124 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-27 22:43:18 +00:00
Mathieu Parent
b769233b76
Skinny: Split ou tables
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17022 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-17 12:52:08 +00:00
Mathieu Parent
869c221f3a
Skinny: more portable printf for sizeof (thanks to bkw)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16961 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-10 17:04:00 +00:00
Mathieu Parent
fa92f47bd1
Skinny: solve compilation on amd64
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16960 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-10 14:37:14 +00:00
Mathieu Parent
3731c4ab91
Skinny:
...
- allow several instances of the same device on different sockets
- move lines to table skinny_lines, as they need more params
- various small changes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16959 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-10 13:49:53 +00:00
Mathieu Parent
54510a372a
Skinny: off_hook_message doesn't include call_id on older phones
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16876 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-03 07:49:59 +00:00
Mathieu Parent
76be99c801
Skinny: avoid stack overflow by lowering button_template_helper size
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16875 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-03 07:48:42 +00:00
Mathieu Parent
3fe4d7a3d8
Skinny: test: put config on top
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16850 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-01 11:06:47 +00:00
Mathieu Parent
7491bd639c
Skinny: sleep to lower CPU consomption
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16825 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-25 18:26:23 +00:00
Mathieu Parent
05048ba11f
Skinny: handle ServiceUrl
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16823 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-25 17:36:45 +00:00
Mathieu Parent
adde57cb24
Skinny: handle UnregisterMessage and properly flush listener
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16820 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-25 15:23:11 +00:00
Mathieu Parent
c84d664c6b
Skinny: add send Reset/Restart
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16819 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-25 14:34:43 +00:00
Mathieu Parent
3c36d26988
Skinny: answer FeatureStatReqMessage with FeatureStatMessage
...
'#buggy version!'
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16796 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-24 12:06:58 +00:00
Mathieu Parent
32565f50f5
Skinny: previous commit was incomplete
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16795 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-24 12:06:47 +00:00
Mathieu Parent
1b988b2267
Skinny: config cleaning and refactorisation
...
- removed unused globals: codecèprefs, codec_master, codec_rates
- moved global debug to profile
- store button type as id in DB (avoid case-sensitivity problem)
-
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16794 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-24 12:06:36 +00:00
Mathieu Parent
9f870bd311
Skinny: API commands (autocompletion included!)
...
skinny profile <profile_name> device <device_name> send SetRingerMessage <ring_type> <ring_mode>
skinny profile <profile_name> device <device_name> send SetLampMessage <stimulus> <instance> <lamp_mode>
skinny profile <profile_name> device <device_name> send SetSpeakerModeMessage <speaker_mode>
skinny profile <profile_name> device <device_name> send CallState <call_state> <line_instance> <call_id>
Also:
- Correct sended line displayname
- Re-use the line on SoftKey
- Handle Answer SoftKey
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16793 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-24 12:06:25 +00:00
Mathieu Parent
a65c6c902d
Skinny: avoid some wired scenarii
...
- Close all sessions without B-leg
- Hold sessions with B-leg
- Currently hold is same as hang up
- Try to guess the best line to choose (use an existing one)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16792 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-24 12:06:16 +00:00