aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_sip.c
AgeCommit message (Collapse)AuthorFilesLines
2008-11-29Merged revisions 159818 via svnmerge from kpfleming1-5/+5
https://origsvn.digium.com/svn/asterisk/trunk ........ r159818 | kpfleming | 2008-11-29 11:57:39 -0600 (Sat, 29 Nov 2008) | 18 lines incorporates r159808 from branches/1.4: ------------------------------------------------------------------------ r159808 | kpfleming | 2008-11-29 10:58:29 -0600 (Sat, 29 Nov 2008) | 7 lines update dev-mode compiler flags to match the ones used by default on Ubuntu Intrepid, so all developers will see the same warnings and errors since this branch already had some printf format attributes, enable checking for them and tag functions that didn't have them format attributes in a consistent way ------------------------------------------------------------------------ in addition: move some format attributes from main/utils.c to the header files they belong in, and fix up references to the relevant functions based on new compiler warnings ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@159851 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-21Merged revisions 158265-158266 via svnmerge from mmichelson1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r158265 | mmichelson | 2008-11-20 19:14:20 -0600 (Thu, 20 Nov 2008) | 4 lines Use some magic constants to get the right size for this sscanf statement. Thanks Richard! ........ r158266 | mmichelson | 2008-11-20 19:22:18 -0600 (Thu, 20 Nov 2008) | 3 lines Use a more expressive constant for a 64-bit scanned int ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@158268 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-21Merged revisions 158262 via svnmerge from mmichelson1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r158262 | mmichelson | 2008-11-20 18:59:23 -0600 (Thu, 20 Nov 2008) | 6 lines Fix the build for 32-bit systems. %lu is only 32-bits on 32-bit systems, so we need to use %llu instead. Of course %llu is 128-bits on 64-bit systems, so we have to cast to unsigned long long. No harm, but it's sure annoying. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@158264 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-20Merged revisions 158230 via svnmerge from mmichelson1-3/+3
https://origsvn.digium.com/svn/asterisk/trunk ........ r158230 | mmichelson | 2008-11-20 17:12:50 -0600 (Thu, 20 Nov 2008) | 20 lines Change the remote user agent session version variable from an int to a uint64_t. This prevents potential comparison problems from happening if the version string exceeds INT_MAX. This was an apparent problem for one user who could not properly place a call on hold since the version in the SDP of the re-INVITE to place the call on hold greatly exceeded INT_MAX. This also aligns with RFC 2327 better since it recommends using an NTP timestamp for the version (which is a 64-bit number). (closes issue #13531) Reported by: sgofferj Patches: 13531.patch uploaded by putnopvut (license 60) Tested by: sgofferj ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@158232 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-20Change this so it actually compiles. Thanks, Terry!mmichelson1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@158223 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-20Merged revisions 158133 via svnmerge from mmichelson1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ................ r158133 | mmichelson | 2008-11-20 12:20:00 -0600 (Thu, 20 Nov 2008) | 10 lines Merged revisions 158072 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r158072 | twilson | 2008-11-20 11:48:58 -0600 (Thu, 20 Nov 2008) | 2 lines Begin on a crusade to end trailing whitespace! ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@158134 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-20Merged revisions 158082 via svnmerge from mmichelson1-0/+14
https://origsvn.digium.com/svn/asterisk/trunk ................ r158082 | mmichelson | 2008-11-20 11:54:31 -0600 (Thu, 20 Nov 2008) | 24 lines Merged revisions 158071 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r158071 | mmichelson | 2008-11-20 11:48:42 -0600 (Thu, 20 Nov 2008) | 16 lines We don't handle 4XX responses to BYE well. According to section 15 of RFC 3261, we should terminate a dialog if we receive a 481 or 408 in response to our BYE. Since I am aware of at least one phone manufacturer who may sometimes send a 404 as well, I am being liberal and saying that any 4XX response to a BYE should result in a terminated dialog. (closes issue #12994) Reported by: pabelanger Patches: 12994.patch uploaded by putnopvut (license 60) Closes AST-129 ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@158084 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-20Merged revisions 158066 via svnmerge from mmichelson1-1/+4
https://origsvn.digium.com/svn/asterisk/trunk ................ r158066 | mmichelson | 2008-11-20 11:39:06 -0600 (Thu, 20 Nov 2008) | 20 lines Merged revisions 158053 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r158053 | mmichelson | 2008-11-20 11:33:06 -0600 (Thu, 20 Nov 2008) | 12 lines Make sure to set the hangup cause on the calling channel in the case that ast_call() fails. For incoming SIP channels, this was causing us to send a 603 instead of a 486 when the call-limit was reached on the destination channel. (closes issue #13867) Reported by: still_nsk Patches: 13867.diff uploaded by putnopvut (license 60) Tested by: blitzrage ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@158067 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-18Merged revisions 157512 via svnmerge from mmichelson1-0/+3
https://origsvn.digium.com/svn/asterisk/trunk ................ r157512 | mmichelson | 2008-11-18 16:54:08 -0600 (Tue, 18 Nov 2008) | 21 lines Merged revisions 157503 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r157503 | mmichelson | 2008-11-18 16:47:57 -0600 (Tue, 18 Nov 2008) | 13 lines Add some missing invite state changes necessary in the sip_write function. Not setting the invite state correctly on the call was resulting in the Record application leaving empty files. I also have updated the doxygen comment next to the declaration of the INV_EARLY_MEDIA constant to reflect that we also use this state when we *send* a 18X response to an INVITE. (closes issue #13878) Reported by: nahuelgreco Patches: sip-early-media-recording-1.4.22.patch uploaded by nahuelgreco (license 162) Tested by: putnopvut ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@157531 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-18Merged revisions 157496 via svnmerge from mmichelson1-16/+26
https://origsvn.digium.com/svn/asterisk/trunk ........ r157496 | mmichelson | 2008-11-18 15:59:24 -0600 (Tue, 18 Nov 2008) | 6 lines Based on Russell's advice on the asterisk-dev list, I have changed from using a global lock in update_call_counter to using the locks within the sip_pvt and sip_peer structures instead. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@157498 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-18Merged revisions 157427 via svnmerge from mmichelson1-16/+48
https://origsvn.digium.com/svn/asterisk/trunk ........ r157427 | mmichelson | 2008-11-18 14:23:58 -0600 (Tue, 18 Nov 2008) | 13 lines * Add a lock to be used in the update_call_counter function. * Revert logic to mirror 1.4's in the sense that it will not allow the call counter to dip below 0. These two measures prevent potential races that could cause a SIP peer to appear to be busy forever. (closes issue #13668) Reported by: mjc Patches: hintfix_trunk_rev152649.patch uploaded by wolfelectronic (license 586) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@157429 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-15Merged revisions 157041 via svnmerge from russell1-2/+2
https://origsvn.digium.com/svn/asterisk/trunk ........ r157041 | russell | 2008-11-14 22:25:57 -0600 (Fri, 14 Nov 2008) | 3 lines Fix a few more places where the case insensitive hash should be used since the comparison is case insensitive. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@157042 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-14Merged revisions 156962 via svnmerge from mmichelson1-0/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r156962 | mmichelson | 2008-11-14 15:19:58 -0600 (Fri, 14 Nov 2008) | 7 lines Revision 155513 of chan_sip.c in trunk inadvertently removed a very important line to set the "len" field for incoming SIP requests. The result was that all incoming SIP messages appeared to be 0-length, meaning Asterisk could do no meaningful processing of anything SIP-related ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@156963 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-08Merged revisions 155516 via svnmerge from russell1-2/+8
https://origsvn.digium.com/svn/asterisk/trunk ........ r155516 | russell | 2008-11-08 15:46:43 -0600 (Sat, 08 Nov 2008) | 3 lines - Check for failure when putting the packet in the ast_str - fix a spelling error in a header file ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@155517 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-08Merged revisions 155513 via svnmerge from russell1-6/+0
https://origsvn.digium.com/svn/asterisk/trunk ........ r155513 | russell | 2008-11-08 15:34:36 -0600 (Sat, 08 Nov 2008) | 3 lines Remove some code that is basically a no-op. Code above this already ensures that the buffer is terminated. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@155515 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-07Merged revisions 155467 via svnmerge from mmichelson1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r155467 | mmichelson | 2008-11-07 17:41:44 -0600 (Fri, 07 Nov 2008) | 12 lines Set the invite state to INV_CANCELLED in a place that makes more sense. Where it was set before, it was impossible to actually delay sending a CANCEL if we had not yet received a provisional response to an INVITE. (closes issue #13626) Reported by: atis Patches: 13626.patch uploaded by putnopvut (license 60) Tested by: atis ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@155469 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-07Merged revisions 155399 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ................ r155399 | tilghman | 2008-11-07 16:28:58 -0600 (Fri, 07 Nov 2008) | 14 lines Merged revisions 155398 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r155398 | tilghman | 2008-11-07 16:27:32 -0600 (Fri, 07 Nov 2008) | 7 lines Clarify error message. (closes issue #13809) Reported by: denke Patches: 20081104__bug13809.diff.txt uploaded by Corydon76 (license 14) Tested by: denke ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@155400 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-07Merged revisions 155264 via svnmerge from russell1-1/+0
https://origsvn.digium.com/svn/asterisk/trunk ........ r155264 | russell | 2008-11-07 09:42:04 -0600 (Fri, 07 Nov 2008) | 3 lines Remove a bogus ast_free() that Kevin noticed. This was probably just left over from pre-astobj2ified chan_sip. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@155272 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-07Merged revisions 155241 via svnmerge from russell1-5/+8
https://origsvn.digium.com/svn/asterisk/trunk ........ r155241 | russell | 2008-11-07 08:50:30 -0600 (Fri, 07 Nov 2008) | 4 lines Fix some code in chan_sip that was intended to unlink multiple objects from a container. The OBJ_MULTIPLE flag must be provided here. Otherwise, this would only remove a single object. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@155242 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-02import gcc 4.3.2 warning fixes from trunk, with a few changes specific to ↵kpfleming1-2/+3
this branch git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@153710 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-01Merged revisions 153362 via svnmerge from russell1-17/+33
https://origsvn.digium.com/svn/asterisk/trunk ........ r153362 | russell | 2008-11-01 15:41:38 -0500 (Sat, 01 Nov 2008) | 3 lines Ensure that the sip_pvt properly has its refcount incremented when the scheduler holds a reference to it for session timer processing. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@153363 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-31Merged revisions 153122 via svnmerge from tilghman1-0/+8
https://origsvn.digium.com/svn/asterisk/trunk ................ r153122 | tilghman | 2008-10-31 11:35:21 -0500 (Fri, 31 Oct 2008) | 10 lines Merged revisions 153114 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r153114 | tilghman | 2008-10-31 11:30:32 -0500 (Fri, 31 Oct 2008) | 3 lines Turn off qualify on uncached realtime peers. (Closes issue #13383) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@153123 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-30Merged revisions 152920 via svnmerge from russell1-19/+38
https://origsvn.digium.com/svn/asterisk/trunk ........ r152920 | russell | 2008-10-30 14:40:15 -0500 (Thu, 30 Oct 2008) | 3 lines Fix the sip_peer reference count with respect to scheduler entries for scheduling peer pokes, and scheduling peer poke expirations. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@152921 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-30Merged revisions 152915 via svnmerge from russell1-12/+28
https://origsvn.digium.com/svn/asterisk/trunk ........ r152915 | russell | 2008-10-30 14:35:36 -0500 (Thu, 30 Oct 2008) | 3 lines Fix the sip_peer reference count with respect to scheduler entries for registration expirations. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@152919 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-30Merged revisions 152877 via svnmerge from russell1-7/+9
https://origsvn.digium.com/svn/asterisk/trunk ........ r152877 | russell | 2008-10-30 14:21:53 -0500 (Thu, 30 Oct 2008) | 9 lines Modify the documentation of the sip_registry struct - Remove a comment that says that the monitor thread is the only one that ever touches these objects. This is no longer the case with TCP. Also, I would eventually like to get the scheduler in its own thread, so this is just a poor assumption to make. - Note that reference counting of these objects with respect to scheduler entries is not complete. There are some leaked references when deleting scheduler entries. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@152878 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-29Merged revisions 152569 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ................ r152569 | russell | 2008-10-29 00:34:26 -0500 (Wed, 29 Oct 2008) | 15 lines Merged revisions 152539 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r152539 | russell | 2008-10-29 00:23:51 -0500 (Wed, 29 Oct 2008) | 7 lines Fix an incorrect usage of sizeof() (closes issue #13795) Reported by: andrew53 Patches: chan_sip_sizeof.patch uploaded by andrew53 (license 519) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@152573 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-22Merged revisions 151512 via svnmerge from mmichelson1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r151512 | mmichelson | 2008-10-22 10:08:25 -0500 (Wed, 22 Oct 2008) | 8 lines The logic of a strncasecmp call was reversed. (closes issue #13706) Reported by: andrew53 Patches: sip_notify_from_rfc3265.patch uploaded by andrew53 (license 519) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@151514 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-22Merged revisions 151464 via svnmerge from mmichelson1-12/+21
https://origsvn.digium.com/svn/asterisk/trunk ........ r151464 | mmichelson | 2008-10-21 18:54:41 -0500 (Tue, 21 Oct 2008) | 11 lines Make the sip_standard_port function more granular by allowing separate type and port arguments. This is necessary because when building our From and Contact headers, we need to be absolutely sure that we are placing our source port there and not the peer's source port. (closes issue #12761) Reported by: asbestoshead Patches: patch-chan-sip-contact-port.txt uploaded by asbestoshead (license 455) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@151513 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-21Merged revisions 151439 via svnmerge from mmichelson1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r151439 | mmichelson | 2008-10-21 18:31:17 -0500 (Tue, 21 Oct 2008) | 3 lines Get this compiling in dev-mode ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@151441 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-21Merged revisions 151428 via svnmerge from mmichelson1-0/+5
https://origsvn.digium.com/svn/asterisk/trunk ........ r151428 | mmichelson | 2008-10-21 18:27:45 -0500 (Tue, 21 Oct 2008) | 14 lines If a peer uses any transport other than UDP, then MWI will fail for that peer since sip_alloc will allocate a sip_pvt with a default transport of UDP. This change resets the socket type immediately after allocating the sip_pvt in sip_send_mwi_from_peer, so that the proceeding call to create_addr_from_peer does not fail right away. The socket data from the peer is properly copied to the sip_pvt in create_addr_from_peer. (closes issue #13710) Reported by: andrew53 Patches: sip_notify_use_tcp.patch uploaded by andrew53 (license 519) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@151430 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-21Merged revisions 151420 via svnmerge from mmichelson1-1/+9
https://origsvn.digium.com/svn/asterisk/trunk ........ r151420 | mmichelson | 2008-10-21 18:08:56 -0500 (Tue, 21 Oct 2008) | 10 lines When attempting to resolve hostnames, we need to be sure to remove any parameters from the string so that name resolution succeeds. (closes issue #13727) Reported by: fnordian Patches: resolvewithouturiparameter.patch uploaded by fnordian (license 110) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@151421 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-21Merged revisions 151327 via svnmerge from bweschke1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r151327 | bweschke | 2008-10-21 07:02:08 -0400 (Tue, 21 Oct 2008) | 7 lines Fix configuration parsing so type=friend still identifies "friend" as a peer even though it is now a legacy configuration verb. (closes issue #13705) reported by: blitzrage patched by: bweschke ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@151328 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-19Merged revisions 151101 via svnmerge from kpfleming1-31/+31
https://origsvn.digium.com/svn/asterisk/trunk ........ r151101 | kpfleming | 2008-10-19 22:11:28 +0300 (Sun, 19 Oct 2008) | 13 lines cleaup of the TCP/TLS socket API: 1) rename 'struct server_args' to 'struct ast_tcptls_session_args', to follow coding guidelines 2) make ast_make_file_from_fd() static and rename it to something that indicates what it really is for (again coding guidelines) 3) rename address variables inside 'struct ast_tcptls_session_args' to be more descriptive (dare i say it... coding guidelines) 4) change ast_tcptls_client_start() to use the new 'remote_address' field of the session args for the destination of the connection, and use the 'local_address' field to bind() the socket to the proper source address, if one is supplied 5) in chan_sip, ensure that we pass in the PP address we are bound to when creating outbound (client) connections, so that our connections will appear from the correct address ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@151135 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-16Merged revisions 150207 via svnmerge from mmichelson1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r150207 | mmichelson | 2008-10-16 15:57:18 -0500 (Thu, 16 Oct 2008) | 12 lines INVITES with proxy auth were sent with a different branch than what was in the invite_branch of a sip_pvt, meaning that if a CANCEL were sent later, the branch in the CANCEL would not match the branch in the latest INVITE sent out, leading to some endpoints responding to the CANCEL with a 481. (closes issue #13714) Reported by: fnordian Patches: invite_branch.patch uploaded by fnordian (license 110) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@150208 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-16Merged revisions 149981 via svnmerge from kpfleming1-12/+17
https://origsvn.digium.com/svn/asterisk/trunk ........ r149981 | kpfleming | 2008-10-16 15:28:56 +0200 (Thu, 16 Oct 2008) | 3 lines return this logic to where it used to be, *after* the dialog->needdestroy flag has been determined to be set; otherwise, we generate these debug messages every time we inspect every active dialog ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@149995 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-15Merged revisions 149802 via svnmerge from mmichelson1-8/+34
https://origsvn.digium.com/svn/asterisk/trunk ........ r149802 | mmichelson | 2008-10-15 15:55:42 -0500 (Wed, 15 Oct 2008) | 12 lines Make the sip_proxy struct reference counted. This is necessary to allow for a sip_pvt to maintain a reference to a sip_peer's outboundproxy even after the peer has been freed. (closes issue #13700) Reported by: fnordian Patches: 13700.patch uploaded by putnopvut (license 60) Tested by: fnordian ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@149803 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-15Merged revisions 149487 via svnmerge from kpfleming1-16/+47
https://origsvn.digium.com/svn/asterisk/trunk ................ r149487 | kpfleming | 2008-10-15 13:26:36 +0200 (Wed, 15 Oct 2008) | 9 lines Merged revisions 149452 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r149452 | kpfleming | 2008-10-15 12:30:40 +0200 (Wed, 15 Oct 2008) | 3 lines fix some problems when parsing SIP messages that have the maximum number of headers or body lines that we support ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@149512 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-14Merged revisions 149271 via svnmerge from mmichelson1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ................ r149271 | mmichelson | 2008-10-14 18:44:44 -0500 (Tue, 14 Oct 2008) | 12 lines Merged revisions 149266 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r149266 | mmichelson | 2008-10-14 18:43:58 -0500 (Tue, 14 Oct 2008) | 4 lines Change this warning to an error message. Suggestion comes from Sean Bright. Thanks Sean! ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@149274 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-14Merged revisions 149208 via svnmerge from mmichelson1-6/+8
https://origsvn.digium.com/svn/asterisk/trunk ................ r149208 | mmichelson | 2008-10-14 18:15:04 -0500 (Tue, 14 Oct 2008) | 17 lines Merged revisions 149207 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r149207 | mmichelson | 2008-10-14 18:10:26 -0500 (Tue, 14 Oct 2008) | 9 lines Call register_peer_exten even in the case that the peer's IP/port does not change. (closes issue #13309) Reported by: dimas Patches: v2-13309.patch uploaded by dimas (license 88) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@149209 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-14Merged revisions 149199 via svnmerge from tilghman1-0/+6
https://origsvn.digium.com/svn/asterisk/trunk ........ r149199 | tilghman | 2008-10-14 17:38:06 -0500 (Tue, 14 Oct 2008) | 8 lines Add additional memory debugging to several core APIs, and fix several memory leaks found with these changes. (Closes issue #13505, closes issue #13543) Reported by: mav3rick, triccyx Patches: 20081001__bug13505.diff.txt uploaded by Corydon76 (license 14) Tested by: mav3rick, triccyx ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@149202 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-14Merged revisions 149131 via svnmerge from mmichelson1-0/+30
https://origsvn.digium.com/svn/asterisk/trunk ................ r149131 | mmichelson | 2008-10-14 16:08:48 -0500 (Tue, 14 Oct 2008) | 15 lines Merged revisions 149130 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r149130 | mmichelson | 2008-10-14 15:49:02 -0500 (Tue, 14 Oct 2008) | 7 lines Don't allow reserved characters to be used in register lines in sip.conf. (closes issue #13570) Reported by: putnopvut ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@149132 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-14Merged revisions 148754 via svnmerge from kpfleming1-2/+4
https://origsvn.digium.com/svn/asterisk/trunk ........ r148754 | kpfleming | 2008-10-14 13:31:40 +0200 (Tue, 14 Oct 2008) | 2 lines fix some references to the owner of a private structure that may not be present ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@148763 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-14Merged revisions 148695 via svnmerge from kpfleming1-4/+10
https://origsvn.digium.com/svn/asterisk/trunk ........ r148695 | kpfleming | 2008-10-14 11:31:50 +0200 (Tue, 14 Oct 2008) | 1 line ensure that *all* fields in the req structure are cleared out before reusing it; has_to_tag was not cleared, which caused the second incoming call over a TCP socket to fail if pedantic checking was enabled ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@148700 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-13Merged revisions 148471 via svnmerge from oej1-24/+26
https://origsvn.digium.com/svn/asterisk/trunk ........ r148471 | oej | 2008-10-13 17:32:55 +0200 (MÃ¥n, 13 Okt 2008) | 4 lines Sending a 403 after a 200 is considered very bad. (found at SIPit) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@148472 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-10Merged revisions 148376 via svnmerge from mmichelson1-7/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r148376 | mmichelson | 2008-10-10 16:21:45 -0500 (Fri, 10 Oct 2008) | 13 lines The logic used when checking a peer got changed subtly in the "kill the user" commit and caused calls relying on the insecure setting to not work properly. I changed for finding a peer back to how it was prior to that commit. (closes issue #13644) Reported by: pj Patches: 13644_trunkv2.patch uploaded by putnopvut (license 60) Tested by: pj ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@148377 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-10Merged revisions 148373 via svnmerge from mmichelson1-3/+3
https://origsvn.digium.com/svn/asterisk/trunk ........ r148373 | mmichelson | 2008-10-10 16:18:10 -0500 (Fri, 10 Oct 2008) | 8 lines Make sure that the inUse and inRinging fields for a sip peer cannot go below zero. This is a regression from 1.4 and so it will be applied to 1.6.0 as well. (closes issue #13668) Reported by: mjc ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@148375 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-07Merged revisions 146970 via svnmerge from twilson1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r146970 | twilson | 2008-10-06 19:02:19 -0500 (Mon, 06 Oct 2008) | 2 lines A blind transfer to the parking thread would cause a segfault because copy_request accesses dst->data w/o being able to tell whether it is proerly initialized ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@146972 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-06Merged revisions 146802 via svnmerge from tilghman1-0/+4
https://origsvn.digium.com/svn/asterisk/trunk ................ r146802 | tilghman | 2008-10-06 16:09:05 -0500 (Mon, 06 Oct 2008) | 15 lines Merged revisions 146799 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r146799 | tilghman | 2008-10-06 15:52:04 -0500 (Mon, 06 Oct 2008) | 8 lines Dialplan functions should not actually return 0, unless they have modified the workspace. To signal an error (and no change to the workspace), -1 should be returned instead. (closes issue #13340) Reported by: kryptolus Patches: 20080827__bug13340__2.diff.txt uploaded by Corydon76 (license 14) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@146838 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-05Merged revisions 146449 via svnmerge from qwell1-1/+2
https://origsvn.digium.com/svn/asterisk/trunk ................ r146449 | qwell | 2008-10-05 16:21:03 -0500 (Sun, 05 Oct 2008) | 9 lines Recorded merge of revisions 146448 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r146448 | qwell | 2008-10-05 16:17:44 -0500 (Sun, 05 Oct 2008) | 1 line Fix silly formatting. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@146451 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-30Merged revisions 145249 via svnmerge from jpeeler1-0/+2
https://origsvn.digium.com/svn/asterisk/trunk ........ r145249 | jpeeler | 2008-09-30 17:21:19 -0500 (Tue, 30 Sep 2008) | 6 lines (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/branches/1.6.1@145262 f38db490-d61c-443f-a65b-d21fe96a405b