3319 Commits

Author SHA1 Message Date
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
f1b636aaf7 Skinny: fix crash with outgoing channel without remote session 2010-05-21 10:18:22 +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
8bdd2f2dc2 Skinny: add message type in too short warning 2010-05-20 20:51:18 +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
d172e9febb Skinny: send the call state when requested
This solves incorrect display on the phone.

BUT: this creates a delta because the SQL value and the value known by
the phone. I hope this doesn't break other things.

(NB: the original problem here was the unability to do an UPDATE inside
a SELECT callback)
2010-05-20 17:29: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
8ec0b7f4c7 Skinny: fix redial button, and all nested "bridge" 2010-05-20 15:36:26 +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
Anthony Minessale
e15abcf9aa BOUNTY-18 2010-05-19 16:24:52 -05:00
Mathieu Parent
03d07b4cb6 Skinny: slightly better call info 2010-05-19 09:52:03 +02:00
Mathieu Parent
32b8bdb990 Skinny: display destination number if callee is not set 2010-05-18 18:14:27 +02:00
Mathieu Parent
e66e9fa878 Skinny: called is named callee 2010-05-18 13:48:16 +02:00
Mathieu Parent
0bc11afa73 Skinny: split out server part
And try to keep each file below 2000 lines
2010-05-18 10:49:01 +02:00
Mathieu Parent
51f1ad5072 Skinny: Send hangup cause to device (busy, unknown number) 2010-05-18 10:49:01 +02:00
Mathieu Parent
800918ab14 SKinny: use of labels, step2 2010-05-18 10:49:00 +02:00
Mathieu Parent
60090a8602 Skinny: using labels for display text
Based on chan-sccp-b (file src/sccp_labels.h)
2010-05-18 10:49:00 +02:00
Mathieu Parent
295f39c158 Skinny: renamed improper skinny_create_ingoing_session to _incoming_ 2010-05-18 10:49:00 +02:00
Anthony Minessale
349abc3fd0 add loopback_bowout_on_execute var to make 1 legged loopback calls bow out of the picture 2010-05-13 18:49:32 -05:00
Brian West
91065543b2 avoid extraneous incorrect display update on answer 2010-05-12 22:19:54 -05:00
Brian West
6b1351e1bc more descriptive log message 2010-05-12 21:23:49 -05:00
Mathieu Parent
3b0f1711ba Skinny: corrections to call info:
- channel vars are caller_ and not callee_
- inbound/outbound are reversed from the skinny POV
- use displayname
2010-05-12 21:02:14 +02:00
Mathieu Rene
3c5c5905ad mod_sofia: fire an event for gateway ping 2010-05-10 12:33:47 -04:00
Mathieu Parent
194e57268a Skinny: tuple profile, device_name, device_instance is unique 2010-05-10 18:19:58 +02:00
Mathieu Parent
bd6f7e73c0 perl-Skinny: don't launch thread if socket can't be created 2010-05-10 18:19:58 +02:00
Mathieu Parent
74e14f0dfb Skinny: fix the build 2010-05-10 18:19:58 +02:00
Mathieu Parent
8806bb2da1 Skinny: better call info 2010-05-10 18:19:57 +02:00
Mathieu Parent
6a29e56301 Skinny: tiny change (comment) 2010-05-10 18:19:57 +02:00
Anthony Minessale
701385d221 FSCORE-607 doh 2010-05-06 17:18:26 -05:00
Anthony Minessale
ef18989d56 sip_acl_authed_by and sip_acl_token vars to tell when you are authed by an acl 2010-05-06 15:25:30 -05:00
Michael Jerris
3362335033 typo 2010-05-05 15:15:00 -05:00
Anthony Minessale
bbf0e64830 add disable_hold var or disable-hold profile param 2010-05-05 15:14:57 -05:00
Anthony Minessale
a5f7461ee2 fix null pointer deref code path 2010-05-05 11:01:32 -05:00
Anthony Minessale
710290bcb4 MODENDP-302 2010-05-05 10:56:10 -05:00
Anthony Minessale
ba46088e68 fix NULL deref in err condition 2010-05-04 15:48:36 -05:00
Anthony Minessale
468956e109 FSCORE-603 2010-05-04 11:24:35 -05:00
Anthony Minessale
a2874b8e33 FSCORE-604 2010-05-04 09:50:55 -05:00
Michael Jerris
ea5fc46550 typo 2010-05-03 16:57:17 -04:00
Anthony Minessale
e5cc0539ff add disable_hold var or disable-hold profile param 2010-05-03 12:35:48 -05:00
Brian West
2196fcdf83 DEATH TO THE. 2010-05-02 15:09:47 -05:00
Brian West
1d210c9254 MODENDP-303 2010-05-01 19:50:53 -05:00
Anthony Minessale
6b69495034 /MODSOFIA-74 2010-04-28 17:24:03 -05:00
Anthony Minessale
dfa5439937 fix potential excess cpu usage during originate 2010-04-28 12:59:29 -05:00