diff options
author | mnicholson <mnicholson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-06-22 13:05:16 +0000 |
---|---|---|
committer | mnicholson <mnicholson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-06-22 13:05:16 +0000 |
commit | bb19a9e9abfd47440d28f42bbf2f3b78d39d6a49 (patch) | |
tree | a691453318350e4b207a08db31199f047c24face /configs | |
parent | de65b960b78ca43c74008889193b1e77319966cf (diff) |
Merged revisions 271690 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r271690 | mnicholson | 2010-06-22 07:58:28 -0500 (Tue, 22 Jun 2010) | 18 lines
Merged revisions 271689 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r271689 | mnicholson | 2010-06-22 07:52:27 -0500 (Tue, 22 Jun 2010) | 8 lines
Modify chan_sip's packet generation api to automatically calculate the Content-Length. This is done by storing packet content in a buffer until it is actually time to send the packet, at which time the size of the packet is calculated. This change was made to ensure that the Content-Length is always correct.
(closes issue #17326)
Reported by: kenner
Tested by: mnicholson, kenner
Review: https://reviewboard.asterisk.org/r/693/
........
This change also adds an ast_str_copy_string() function (similar to ast_copy_string), that copies one ast_str into another, properly handling embedded nulls.
................
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@271691 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs')
-rw-r--r-- | configs/sip_notify.conf.sample | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/configs/sip_notify.conf.sample b/configs/sip_notify.conf.sample index 74ee9554b..b00af7824 100644 --- a/configs/sip_notify.conf.sample +++ b/configs/sip_notify.conf.sample @@ -2,47 +2,38 @@ [aastra-check-cfg] Event=>check-sync -Content-Length=>0 [aastra-xml] Event=>aastra-xml -Content-Length=>0 ; Linksys [linksys-cold-restart] Event=>reboot_now -Content-Length=>0 [linksys-warm-restart] Event=>restart_now -Content-Length=>0 ; Polycom [polycom-check-cfg] Event=>check-sync -Content-Length=>0 ; Sipura [sipura-check-cfg] Event=>resync -Content-Length=>0 [sipura-get-report] Event=>report -Content-Length=>0 ; snom [snom-check-cfg] Event=>check-sync\;reboot=false -Content-Length=>0 [snom-reboot] Event=>reboot -Content-Length=>0 ;; ;; The following NOTIFY messages are not confirmed to work. @@ -50,4 +41,3 @@ Content-Length=>0 [cisco-check-cfg] Event=>check-sync -Content-Length=>0 |