3056 Commits

Author SHA1 Message Date
Mathieu Parent
b877d2aa8f Merge branch 'master' of git.freeswitch.org:freeswitch 2010-04-02 12:23:38 +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
Andrew Thompson
b45a11770a Fix portaudio modules on FreeBSD (-I include order issue) 2010-04-02 01:00:08 -04: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
Anthony Minessale
89f399832d add killgw _all_ to delete all gws 2010-03-31 15:02:50 -05:00
Giovanni
aaae4c652d skypopen: making XEvents to works when EARLYMEDIA, and correctly manage threads death 2010-03-31 16:22:25 +02:00
Giovanni
d46a1ca701 skypopen: revert test git 2010-03-31 16:20:00 +02:00
Giovanni
a8518f28ba skypopen: test git 2010-03-31 16:17:31 +02:00
Michael Jerris
a33b576e70 copy mod_gsmopen from branch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17138 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-30 05:59:43 +00: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
Brian West
f66f382d5e Case insenstive matching for this and stricter matching
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17112 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-26 16:23:49 +00:00
Anthony Minessale
2aa47c2ffd MODENDP-300
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17098 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-25 13:48:26 +00:00
Michael Jerris
ea8b4f2f20 fix telephone-event negotiation with devices that don't do what the rfc says they SHOULD do
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17097 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-25 03:51:04 +00:00
Anthony Minessale
0292b7a81d ok, patch applied cleanly
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17096 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-25 00:28:56 +00:00
Anthony Minessale
cefb4188ea fixing patch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17095 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-25 00:27:20 +00:00
Anthony Minessale
80b9db179b re-apply reformatted reverted patch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17094 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-25 00:24:45 +00:00
Anthony Minessale
c92cbcb5e3 revert
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17093 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-25 00:23:55 +00:00
Anthony Minessale
467bdfc21c prevent race in killgw followed by an immediate rescan with the same gateway name
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17092 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-25 00:09:43 +00:00
Marc Olivier Chouinard
c09c255d22 mod_sofia: Simple visual C string change to make it easier to merge custom patch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17088 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-24 19:18:09 +00:00
Marc Olivier Chouinard
58819523b6 mod_sofia: Add url encode to a var in the xml output to be valid xml. Also changed switch_url_encode to return the pointer of the string rather than the length, same as switch_amp_encode()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17087 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-24 19:04:19 +00:00
Giovanni Maruzzelli
3bd8bcc39b skypopen: snd-dummy ALSA driver, hopefully lower cpu load
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17083 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-23 17:40:04 +00:00
Michael Jerris
9ad6a089cd add sip_local_network_addr var to see the ip of the sip profile a call came in or went out on for cdr (FSCORE-562)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17073 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-23 03:59:49 +00:00
Anthony Minessale
4e554cc92e only allow barge-in on SCA mode when calls are from their own line
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17067 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-22 17:28:22 +00:00
Brian West
9d828f7fb8 This will fix it so the Cisco phones will update their display properly in these cases and not show Private for all calls
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17066 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-22 16:39:15 +00:00
Anthony Minessale
b8b60e9f99 add display feature to SCA
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17054 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-19 23:40:30 +00:00
Anthony Minessale
688fbe106d MODENDP-299
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17049 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-19 13:26:27 +00:00
Anthony Minessale
acc5f20ae1 force marked answer on dingaling outbound calls when accept is received
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17043 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-18 18:48:58 +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
Anthony Minessale
c14a3ea299 dtmf tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17018 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-16 23:04:18 +00:00
Anthony Minessale
2898234043 fix logic err that would not permit many acl entries in sofia
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17017 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-16 22:49:54 +00:00
Brian West
22da17c7e6 MODSOFIA-62
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17000 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-16 03:49:18 +00:00
Giovanni Maruzzelli
36f1cd4957 skypiax: finishing off renaming to mod_skypopen
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16991 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-14 23:40:32 +00:00
Giovanni Maruzzelli
df18a0d499 skypiax: finishing off renaming to mod_skypopen
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16990 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-14 23:36:14 +00:00
Michael Jerris
99e55ae008 mod_skypiax rename to mod_skypopen
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16988 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-14 21:57:23 +00:00
Giovanni Maruzzelli
3c2e8b348f skypiax: preparing for renaming to mod_skypopen
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16987 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-14 15:45:57 +00:00
Giovanni Maruzzelli
2a58973096 skypiax: preparing for renaming to mod_skypopen
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16986 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-14 13:34:20 +00:00
Giovanni Maruzzelli
28e266bc2b skypiax: preparing for renaming to mod_skypopen
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16985 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-14 13:21:45 +00:00
Giovanni Maruzzelli
17a378d6a4 skypiax: preparing for renaming to mod_skypopen
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16984 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-14 12:39:54 +00:00
Giovanni Maruzzelli
218badc69f skypiax: preparing for renaming to mod_skypopen
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16983 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-14 10:38:56 +00:00
Giovanni Maruzzelli
494f8570fe skypiax: fix release build in VC++ - MODSKYPIAX-74
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16977 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-12 18:33:37 +00:00
Brian West
13cc6c9146 MODENDP-298
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16968 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-11 15:52:29 +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
Marc Olivier Chouinard
0241b93bc5 mod_sofia: My iLBC changes caused a problem with fmtp was empty, this should fix it
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16928 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-06 22:51:33 +00:00