aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2009-08-18git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.2.13@212958 ↵v1.2.13kpfleming11-9/+23
f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-17importing files for 1.2.13 releasekpfleming3-0/+3740
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.2.13@45413 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-17Creating tag for the release of asterisk-1.2.13kpfleming0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.2.13@45412 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-17Don't create a "real" pvt structure for requests that shouldn't be able to ↵file1-23/+59
create one. Instead use a temporary pvt and fill it with enough information so we can send a reply. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@45380 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-17Fix an integer signedness problem.qwell1-0/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@45332 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-17provide licensing language for IAXy firmware filekpfleming1-0/+12
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@45326 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-17After some research, we realized that the default behaviour since a longoej2-11/+1
time was doing the right thing, even though the change optimized a bit and removed a lot of potential risks. Conclusion: No need for a configuration option at all. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@45306 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-16Use responses rather then replies even though they mean the same thing.file2-9/+9
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@45265 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-16Add 'ignoreoodreplies' option which will not create a pvt structure on a SIP ↵file2-1/+15
response but instead basically drop it. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@45260 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-14Made a small update to solve bug 8128; The switch-case fallthru goto to a ↵murf1-1/+27
pattern extension needed to resolved the wildcards to an appropriate digit for extension matching to work git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@45134 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-13don't drop the entire permit/deny list when an attempt is made to add an ↵kpfleming1-2/+2
invalid entry (BE-92) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@45119 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-13avoiding warning, fixing potential bug (backported from 1.2)crichter1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@45090 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-13Turn on volume adjustment if it needs to be on (issue #8136 reported by ↵file1-4/+15
mnicholson) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@45060 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-13when sending a call to a peer, use the proper socket if we have multiple ↵kpfleming1-0/+3
bindings (reported on asterisk-dev) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@45048 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-13Pass the right value to usleep for sleeping, and always add the background ↵file1-9/+9
refresh item back into the scheduler if enabled since it is deleted during reload. (issue #8142 reported by p_lindheimer) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@45030 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-13fixed some echocandisable issues when bridged. this caused a kernel panic ↵crichter2-5/+7
sometimes..also some minor formatting fixes git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@45020 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-13fixed issue, that the hangupcause got a wrong isdn cause at RELEASE_COMPLETEcrichter1-5/+12
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@44993 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-12ensure that IAX2 and SIP sockets allow UDP fragmentation when running on ↵kpfleming4-0/+31
Linux (thanks to Brian Candler on the asterisk-dev list for the tip) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@44955 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-10(re)added support of dynamical enabling hdlc on bchannelscrichter2-1/+5
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@44785 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-09Issue #8101 - wrong parameter for screening in remote-party-idoej1-19/+21
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@44757 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-06Even more frames to treat as though the remote side disappeared (issue #8097 ↵file1-0/+7
reported by eldadran) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@44580 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-05Treat busy control frames as hangup in the file streaming core (issue #8097 ↵file1-0/+1
reported by eldadran) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@44501 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-05fixed segfault which happens during hold/transfer actioncrichter1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@44460 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-05fix Polycom presence notification againkpfleming1-3/+5
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@44432 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-04remove workaround for old Polycom firmware SUBSCRIBE requestskpfleming1-3/+4
add workaround for new Polycom firmware SUBSCRIBE requests (bug is known to exist in 2.0.1 firmware) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@44392 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-04For bug 7776, I have inserted a warning about Macro nesting vs. stack ↵murf1-1/+7
limitations git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@44343 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-04if INFORMATION Message come with keypad instead of called party number, we ↵crichter1-0/+6
just use the keypad as called party number. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@44335 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-04added the option 'reject_cause' to make it possible to set the ↵crichter6-26/+95
RELEASE_COMPLETE - cause on the 3. incoming PMP channel, which is automatically rejected because chan_misdn does not support that kind of callwaiting. Therefore chan_misdn supports now 3 incoming channels on a PMP BRI Port. misdn_lib_get_free_bc now gets the info if the requested channel is incoming or outgoing to make the 3. channel possible git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@44334 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-03fix a logic error in my previous fix to the queue reload codekpfleming1-3/+7
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@44296 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-02Change the fd on the I/O context in case it changed during the reload, which ↵file1-1/+6
is indeed possible. (issue #7943 reported by eclubb) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@44213 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-02We should be using $AST_SBIN instead of hardcoding the path for the error ↵file1-1/+1
message (issue #7942 reported by eclubb) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@44198 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-02Shrink when current_ioc is unused. It is set to -1 when unused, not 0. ↵file1-1/+1
(issue #7941 reported by eclubb) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@44168 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-02fixed the hold/retrieve/transfer issues, removed a useless bc field, added ↵crichter3-88/+170
setting of frame.delivery fields, some minor code cleanups git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@44149 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-01Fix the name of the "eventmemberstatus" option in the sample queues.confrussell1-2/+2
(issue #8065, adamg) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@44110 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-29proper fix for ast_group_t changekpfleming1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@43977 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-28Put in missing \ns on the end of ast_logs (issue #7936 reported by wojtekka)file13-24/+21
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@43924 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-28fix buggy (and overly complex) loop used during reload of app_queue for ↵kpfleming1-17/+15
static member list updating git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@43916 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-28 app_queue is comparing the device names incorrectly while checking their ↵bweschke1-2/+16
statuses. It's internal list of interfaces includes the dial string, while the argument passed to this function does not have the dial string (/n for a local channel). This causes it to ignore the device state changes because it thinks it belongs to none of its members. (#8040 reported and patch by tim_ringenbach) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@43897 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-28eliminate compiler warning introduced by recent changeskpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@43895 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-28Stop the stream after waitstream returns so that our formats get restored. ↵file1-1/+6
(issue #7370 reported by kryptolus) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@43891 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-28 Fix race condion crash with get_member_status (#7864 - tim_ringenbach ↵bweschke1-1/+4
reported and patched) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@43871 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-27Avoid inability to lock directory log message by creating the directory ↵tilghman1-1/+3
ahead of time. (Issue 7631) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@43815 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-27Playback() wasn't setting PLAYBACKSTATUS under several circumstances.qwell2-5/+6
Playback() returns -1 on missing args - so should Background() git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@43800 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-27Fix a problem that occurred if a user entered a digit that matched a bridgerussell2-9/+12
feature that was configured using multiple digits, and the digit that was pressed timed out in the feature digit timeout period. For example, if blind transfer is configured as '##', and a user presses just '#'. In this situation, the call would lock up and no longer pass any frames. (issue #7977 reported by festr, and issue #7982 reported by michaels and valuable input provided by mneuhauser and kuj. Fixed by me, with testing help and peer review from Joshua Colp). There are a couple of issues involved in this fix: 1) When ast_generic_bridge determines that there has been a timeout, it returned AST_BRIDGE_RETRY. Then, when ast_channel_bridge gets this result, it calls ast_generic_bridge over again with the same timestamp for the next event. This results in an endless loop of nothing until the call is terminated. This is resolved by simply changing ast_generic_bridge to return AST_BRIDGE_COMPLETE when it sees a timeout. 2) I also changed ast_channel_bridge such that if in the process of calculating the time until the next event, it knows a timeout has already occured, to immediately return AST_BRIDGE_COMPLETE instead of attempting to bridge the channels anyway. 3) In the process of testing the previous two changes, I ran into a problem in res_features where ast_channel_bridge would return because it determined that there was a timeout. However, ast_bridge_call in res_features would then determine by its own calculation that there was still 1 ms before the timeout really occurs. It would then proceed, and since the bridge broke out and did *not* return a frame, it interpreted this as the call was over and hung up the channels. The reason for this was because ast_bridge_call in res_features and ast_channel_bridge in channel.c were using different times for their calculations. channel.c uses the start_time on the bridge config, which is the time that the feature digit was recieved. However, res_features had another time, 'start', which was set right before calling ast_channel_bridge. 'start' will always be slightly after start_time in the bridge config, and sometimes enough to round up to one ms. This is fixed by making ast_bridge_call use the same time as ast_channel_bridge for the timeout calculation. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@43778 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-27fixed a bug which led to chan_list zombies, when the call could not be ↵crichter3-26/+9
properly established in misdn_call. also removed the ACK_HDLC stuff which is not really needed. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@43764 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-26Back in revision 4798, this message was changed from using ast_cli() to directlyrussell1-1/+1
calling write(). During this change, checking if this was a remote console was removed. This caused this message about using "exit" or "quit" to exit an Asterisk console to come up in times where it did not make sense. This change restores the check to see if this is a remote console before printing the message. (fixes BE-4) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@43708 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-26I changed the channel structure... let's be sure this gets updated!file1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@43706 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-26Use proper type to represent the group variable (issue #8025 reported by makoto)file2-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@43705 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-26When parsing the sections of voicemail.conf that contain mailbox definitions,russell1-2/+3
don't introduce a length limit on the definition by using a 256 byte temporary storage buffer. Instead, make the temporary buffer just as big as it needs to be to hold the entire mailbox definition. (fixes BE-68) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@43699 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-25Two bugs when forwarding voicemail (Issue 7824):tilghman1-78/+1
1) delete=yes was ignored 2) maxmessages was ignored git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@43634 f38db490-d61c-443f-a65b-d21fe96a405b