dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

16507 Commits

Author SHA1 Message Date
tilghman 0c8cf106ef Add schedule extensions to app_meetme. In addition, the reporter found a
problem within strptime(3), which we are correcting here with ast_strptime().
(closes issue #11040)
 Reported by: DEA
 Patches: 
       20080910__bug11040.diff.txt uploaded by Corydon76 (license 14)
 Tested by: DEA


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145649 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-01 23:02:25 +00:00
mmichelson e938c5abe7 Okay, this should really do it now. While I did manage
to fix blind transfers with my last commit here, I also
caused an unwanted side-effect. That is, only the first
priority of the 'h' extension would be executed when
a blind transfer occurred instead of all priorities.

Essentially, my last commit corrected the return value
of ast_bridge_call. However, the implementation still
was not 100% correct. Now it is.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145606 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-01 22:23:50 +00:00
mmichelson e9ca9344be if (!(x) == 0) is the same as
if (x).



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145579 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-01 21:33:11 +00:00
mmichelson 96e5e7411f The logic surrounding the return value of ast_spawn_extension
within ast_bridge_call was reversed.

This problem was observed when a blind transfer placed from
the callee channel of a test call failed.

While the problem I am solving here is exactly the same
as what was reported in issue #13584, the difference is
that this fix I am applying is trunk-only. Issue #13584
was reported against the 1.4 branch, and my tests
of 1.4's blind transfers appear to work fine.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145553 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-01 21:06:26 +00:00
lmadsen 0b3d62b280 Merged revisions 145479 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r145479 | lmadsen | 2008-10-01 13:18:30 -0400 (Wed, 01 Oct 2008) | 6 lines
  
  Update the realtime_pgsql.sql script to create the setinterfacevar column.
  
  (closes issue #13549)
  Reported by: fiddur
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145487 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-01 17:26:20 +00:00
tilghman 126de9ec36 Initializing buffer prevents a segfault when arguments are incomplete.
(closes issue #13471)
 Reported by: alecdavis
 Patches: 
       20080916__bug13471.diff.txt uploaded by Corydon76 (license 14)
 Tested by: alecdavis


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145428 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-01 15:44:06 +00:00
mmichelson 26370991d0 Too many times have I mistyped the word
'install' as 'isntall'

Now this typo shall no longer be a problem since
'make isntall' just builds the 'install' target.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145381 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-01 14:44:12 +00:00
russell 9f0cd6ea12 tabs to spaces
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145329 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-01 12:29:18 +00:00
jpeeler 4f61b238f1 (closes issue #13337)
Reported by: pj
Tested by: pj

Set transport to SIP_TRANSPORT_UDP mode if not specified which fixes calls to get_transport returning UNKNOWN.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145249 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-30 22:21:19 +00:00
russell 081b057030 Add support for call pickup on Snom phones. Asterisk now includes a magic
call-id in the dialog-info event package used with extension state subscriptions
on Snom phones.  Then, when the phone sends an INVITE with Replaces for the
special callid, Asterisk will perform a pickup on the extension that was
subscribed to.

The original code on this issue was submitted by xylome.  However, contributions
have been made by (at least) mgernoth and pkempgen.  The final patch was written
by seanbright, and includes the necessary logic to allow this work in a
technology independent way.

(closes issue #5014)
Reported by: xylome
Patches:
      issue5014-trunk.diff uploaded by seanbright (license 71)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145226 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-30 21:32:53 +00:00
rmudgett 6d28fd7067 * Miscellaneous formatting changes to make v1.4 and trunk
more merge compatible in the mISDN area.

channels/chan_misdn.c
*  Eliminated redundant code in cb_events() EVENT_SETUP



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145200 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-30 21:00:54 +00:00
mvanbaak b6fa2c3b98 Merge the cli_cleanup branch.
This work is done by lmadsen, junky and mvanbaak
during AstriDevCon.

This is the second audit the CLI got, and
this time lmadsen made sure he had _ALL_ modules
loaded that have CLI commands in them.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145121 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-28 23:32:14 +00:00
tilghman 74e9c236bd Change several improper "sizeof" to "strlen", as sizeof in that context would
incorrectly use the size of a pointer, rather than the length of a string.
(Closes issue #13574)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145076 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-28 21:39:07 +00:00
kpfleming 2003cfe993 rename chandup() and clarify its usage
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145027 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-28 17:08:12 +00:00
kpfleming 0a7b9056c6 remove incorrect comment
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@144951 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-27 16:17:43 +00:00
kpfleming 1c9fffa54c fix bugs caused by r144949 when MALLOC_DEBUG is defined
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@144950 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-27 16:10:33 +00:00
kpfleming db07a1f968 Merged revisions 144924-144925 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r144924 | kpfleming | 2008-09-27 10:00:48 -0500 (Sat, 27 Sep 2008) | 6 lines
  
  improve header inclusion process in a few small ways:
  
    - it is no longer necessary to forcibly include asterisk/autoconfig.h; every module already includes asterisk.h as its first header (even before system headers), which serves the same purpose
    - astmm.h is now included by asterisk.h when needed, instead of being forced by the Makefile; this means external modules will build properly against installed headers with MALLOC_DEBUG enabled
    - simplify the usage of some of these headers in the AEL-related stuff in the utils directory
........
  r144925 | kpfleming | 2008-09-27 10:13:30 -0500 (Sat, 27 Sep 2008) | 2 lines
  
  fix some minor issues with rev 144924
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@144949 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-27 15:52:56 +00:00
mvanbaak 38c229a3bc fix a couple of CLI commands that did not have a help description.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@144879 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-27 00:49:24 +00:00
file 54653dc385 Update documentation to include default setting. This is for you jtodd!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@144829 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-26 23:12:13 +00:00
mmichelson c0ecbc3264 Blocked revisions 144758 via svnmerge
........
r144758 | mmichelson | 2008-09-26 17:14:59 -0500 (Fri, 26 Sep 2008) | 7 lines

This patch was applied to 1.4 but it completely
does not apply since the "found" pointer is not
passed in to this function. If this is going to
be backported, it needs to be done differently or
a deeper backport needs to be done.


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@144759 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-26 22:15:40 +00:00
murf 1cf3653763 (closes issue #13564)
Reported by: mnicholson
Patches:
      pbx_lua9.diff uploaded by mnicholson (license 96)

Many thanks to Matt for his upgrade to the lua dialplan
option! 

the Description from the bug:

This patch adds a stack trace to errors encountered while executing lua extensions. The patch also handles out of memory errors reported by lua.




git-svn-id: http://svn.digium.com/svn/asterisk/trunk@144681 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-26 18:02:06 +00:00
murf fce2faea65 Merged revisions 144677 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r144677 | murf | 2008-09-26 11:47:13 -0600 (Fri, 26 Sep 2008) | 12 lines

(closes issue #13563)
Reported by: mnicholson
Patches:
      found1.diff uploaded by mnicholson (license 96)

This patch was mainly meant to apply to trunk and 1.6.x,
but I'm applying it to 1.4 also, which should be a perfectly
harmless fix to the vast majority of users who are not using
external switches, but the few who might be affected 
will not have to go to the pain of filing a bug report.


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@144678 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-26 17:50:35 +00:00
murf fd606789e9 Matt suggests we remove utils/build-extensions-conf.lua, as per bug 12961, it is no longer necessary.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@144635 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-26 16:51:30 +00:00
murf a1d03040c7 (closes issue #13557)
Reported by: nickpeirson

The user attached a patch, but the license is not yet
recorded. I took the liberty of finding and replacing
ALL index() calls with strchr() calls, and that
involves more than just main/pbx.c;

chan_oss, app_playback, func_cut also had calls
to index(), and I changed them out. 1.4 had no
references to index() at all.




git-svn-id: http://svn.digium.com/svn/asterisk/trunk@144569 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-25 22:21:28 +00:00
murf 6da91364cb (closes issue #13559)
Reported by: mnicholson
Patches:
      pbx_lua8.diff uploaded by mnicholson (license 96)




git-svn-id: http://svn.digium.com/svn/asterisk/trunk@144563 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-25 21:54:11 +00:00
murf db4e1bcd92 I added a little verbage to hashtab for the hashtab_destroy func.
It was pretty sparsely documented.

This update fleshes out the pbx_lua module, to 
add the switch statements to the extensions in the
extensions.lua file, as well as removing them when
the module is unloaded.

Many thanks to Matt Nicholson for his fine
contribution!




git-svn-id: http://svn.digium.com/svn/asterisk/trunk@144523 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-25 21:18:12 +00:00
murf 9a47c54777 (closes issue #13558)
Reported by: mnicholson

Considering that the example extensions.lua used nothing but ["12345"] notation,
and that the resulting error message: 

[Sep 24 17:01:16] ERROR[12393]: pbx_lua.c:1204 exec: Error executing lua extension: attempt to call a nil value

is not very informative as to the nature of the problem, I think this bug
fix is a big win!





git-svn-id: http://svn.digium.com/svn/asterisk/trunk@144482 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-25 17:51:11 +00:00
murf 1e45802e18 Blocked revisions 144420 via svnmerge
I am pushing this up to trunk and beyond, because I am not
certain that this bug will happen in the same way in 
trunk and 1.6.x. If someone can document this problem
in 1.6.x or trunk, I can revert this block and push the
change up.

........
r144420 | murf | 2008-09-25 10:12:14 -0600 (Thu, 25 Sep 2008) | 25 lines

(closes issue #12101)
Reported by: MVF
Tested by: neutrino88, urzedo, murf, thiagofernandes

Many thanks to neutrino88 for this patch, which
solves a problem whereby channels get a CANCEL
request, respond to it properly, but end up 
in a hung state, infinitely being rescheduled.
This fix is a bit crude, in that catches the
problem at a rather late phase, but it may
prevent infinite rescheduling problems that
might still arise.

It might have been better to find out why,
in the course of protocol handling, the channel
was not destroyed, but we leave that to 
future generations.

Many thanks to urzedo and thiagofernandes for
their work in verifying that the patch code
indeed is being executing, and averting the
problem.



........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@144421 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-25 16:21:54 +00:00
tilghman b745f547cc Recorded merge of revisions 144356 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r144356 | tilghman | 2008-09-24 20:44:47 -0500 (Wed, 24 Sep 2008) | 6 lines
  
  Backport Hebrew language to voicemail.
  (closes issue #13155)
   Reported by: greenfieldtech
   Patches: 
         voicemail-hebrew-patch-1.4-SVN.c.patch uploaded by greenfieldtech (license 369)
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@144357 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-25 01:46:13 +00:00
dbailey 1a77d75092 Blanch the 404 error message for those with no sense of humor
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@144314 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-24 22:05:44 +00:00
crichter ab98bd3960 Merged revisions 144238 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r144238 | crichter | 2008-09-24 10:20:52 +0200 (Mi, 24 Sep 2008) | 1 line

improved helptext of misdn_set_opt.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@144257 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-24 08:42:55 +00:00
tilghman 04a25e0658 Create a 'hashcompat' option that permits the results of a CURL() able to be
passed directly into the HASH() function.  Requested via the -users list, and
committed at Astricon in the Code Zone.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@144199 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-24 06:43:05 +00:00
mmichelson cc658bae96 Fix a conflict in flag values
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@144149 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-23 23:33:33 +00:00
murf 281ea9e4f7 Merged revisions 144066 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r144066 | murf | 2008-09-23 10:41:49 -0600 (Tue, 23 Sep 2008) | 29 lines

(closes issue #13489)
Reported by: DougUDI
Tested by: murf

(closes issue #13490)
Reported by: seanbright
Tested by: murf

(closes issue #13467)
Reported by: edantie
Tested by: murf, edantie, DougUDI


This crash happens because we are unsafely handling old pointers.
The channel whose cdr is being handled, has been hung up and 
destroyed already. I reorganized the code a bit, and tried not
to lose the fork-cdr-chain concepts of the previous code.
I now verify that the 'previous' channel (the channel we
had when the bridge was started), still exists, by looking it up
by name in the channel list. I also do not try to reset the
CDR's of channels involved in bridges. 

Testing shows it solves the crash problem, and should not
negatively impact previous fixes involving CDR's generated
during/after blind transfers. (The reason we need to reset
the CDR's on the "beginning" channels in the first place).



........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@144067 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-23 16:52:32 +00:00
mmichelson 57b96b0814 When a promiscuous redirect contained both a user and
host portion in the Contact URI and specifies a 
transport, the parsing done in parse_moved_contact
resulted in a malformed URI.

This commit fixes the parsing so that a proper
Dial string may be formed when the forwarded
call is placed.

(closes issue #13523)
Reported by: mattdarnell
Patches:
      13523v2.patch uploaded by putnopvut (license 60)
Tested by: mattdarnell



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@144025 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-23 15:37:00 +00:00
murf f5a6f60d5e Blocked revisions 143964 via svnmerge
........
r143964 | murf | 2008-09-23 08:22:10 -0600 (Tue, 23 Sep 2008) | 21 lines

In at least one machine, we noted that the timestr
was not getting set in the STMT; it was coming out,
usually, as binary garbage to an mssql server.
These changes fixed the problem. The only thing
I can venture forth as a guess, is that the pointer
is being stored in the interface, not a copy of the
string. Because we ripped the build process into a 
subroutine, the timestr became a temp. stack variable,
and between the time the STMT got built and the
time it was executed on the server, the string being
pointed to was damaged. At any rate, even if this
theory is false, and some mechanism was at fault,
this fix worked reliably where it didn't before.

Why this bug didn't bite last week, I have no idea.
This change basically defines the timestr buffer
in the calling function, extending the life of the
buffer to cover both the STMT's building and
processing to the server.

I AM BLOCKING THIS FIX FROM TRUNK, because we
tested out a trunk release, and it is working
fine.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@143974 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-23 14:26:32 +00:00
seanbright ff52e4051f Merged revisions 143903 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r143903 | seanbright | 2008-09-22 18:49:00 -0400 (Mon, 22 Sep 2008) | 8 lines

Use the advertised header size in .au files instead of just assuming they
are 24 bytes (the minimum).

(closes issue #13450)
Reported by: jamessan
Patches:
      pcm-header.diff uploaded by jamessan (license 246)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@143904 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-22 22:50:07 +00:00
mvanbaak 06fe671553 fix privacymanager example so it shows how to use the
PRIVACYMRGSTATUS variable


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@143843 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-21 09:53:01 +00:00
mvanbaak b4327ecd35 document the new context argument for privacymanager
so people can do pattern matching on the input


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@143840 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-21 09:31:54 +00:00
mvanbaak 2a0cc6b555 fix privacy documentation. We no longer do priority jumping +101
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@143837 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-21 09:27:08 +00:00
mvanbaak 41dfa7ae0f make 'module unload chan_skinny.so' actually work.
(closes issue #13524)
Reported by: wedhorn
Patches:
      unload.diff uploaded by wedhorn (license 30)
	  With small tweak by me to prevent a crash


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@143799 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-20 10:39:20 +00:00
seanbright 0a4cc3ed00 Merged revisions 143736 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r143736 | seanbright | 2008-09-19 20:50:10 -0400 (Fri, 19 Sep 2008) | 9 lines

Make vmail.cgi work with mailboxes defined in users.conf, too.

(closes issue #13187)
Reported by: netvoice
Patches:
      20080911__bug13187.diff.txt uploaded by Corydon76 (license 14)
      (Slightly modified to take alchamist's comments on mantis into account)
Tested by: msales, alchamist, seanbright

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@143737 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-20 00:52:20 +00:00
murf 59c179f163 This blocks 143674 from trunk; it appears to already done in trunk, since ast_odbc_direct_execute creates a new stmt for each attempt.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@143697 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-19 21:41:39 +00:00
mmichelson 13f00c1f2b We should only unsubscribe to the device state event
subscription if we have previously subscribed. Otherwise
a segfault will occur.

(closes issue #13476)
Reported by: jonnt
Patches:
      13476.patch uploaded by putnopvut (license 60)
Tested by: jonnt



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@143609 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-19 15:43:28 +00:00
murf d40eb60d1b Merged revisions 143534 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r143534 | murf | 2008-09-18 16:11:51 -0600 (Thu, 18 Sep 2008) | 1 line

A micro-fix, in sip_park_thread, where d is freed before the func is done using it.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@143559 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-18 23:41:33 +00:00
jpeeler 2bbfcd9651 Blocked revisions 143475 via svnmerge
........
r143475 | jpeeler | 2008-09-18 16:01:23 -0500 (Thu, 18 Sep 2008) | 1 line

compare peer and chan instead of looking at the parked user (pu), which could have possibly already have been freed by the parking thread
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@143476 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-18 21:02:02 +00:00
tilghman 78ba80bd25 Merged revisions 143404 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r143404 | tilghman | 2008-09-17 15:55:47 -0500 (Wed, 17 Sep 2008) | 6 lines
  
  When callerid is blank, we want to use "unknown caller" in those cases, too.
  (closes issue #13486)
   Reported by: tomo1657
   Patches: 
         20080917__bug13486.diff.txt uploaded by Corydon76 (license 14)
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@143405 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-17 20:57:58 +00:00
mmichelson 705105e678 If attempting to free a NULL pointer when MALLOC_DEBUG
is set, don't bother searching for a region to free, just
immediately exit.

This has the dual benefit of suppressing a warning message
about freeing memory at (nil) and of optimizing the free()
replacement by not having to do any futile searching for
the proper region to free.

(closes issue #13498)
Reported by: pj
Patches:
      13498.patch uploaded by putnopvut (license 60)
Tested by: pj



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@143400 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-17 20:25:40 +00:00
mmichelson 2503a199c4 Merged revisions 143337 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r143337 | mmichelson | 2008-09-17 13:24:15 -0500 (Wed, 17 Sep 2008) | 6 lines

Allow for "G.729" if offered in an SDP even though
it is not RFC 3551 compliant. Some Cisco switches
will send this in an SDP, and it doesn't hurt to
be able to accept this.


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@143340 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-17 18:26:35 +00:00
jpeeler 80fe04302a Blocked revisions 143270 via svnmerge
........
r143270 | jpeeler | 2008-09-16 16:44:21 -0500 (Tue, 16 Sep 2008) | 9 lines

(closes issue #13493)
Reported by: mdu113
Patches:
      bug13493.diff uploaded by jpeeler (license 325)
Tested by: mdu113

Changed park_call_full to hold the parkinglot lock a little longer, which protects the parkeduser struct from being freed out from underneath. Made sure that the parking extension is added to the parking context while holding the lock thereby ensuring that there are no spurious warnings from removal attempts when a hangup occurs while the parking lot is being announced.


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@143271 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-16 21:44:52 +00:00