Summary: | ASTERISK-03787: "sip notify" for Cisco SIP needs extra newline in NOTIFY message body | ||
Reporter: | chrisy (chrisy) | Labels: | |
Date Opened: | 2005-03-27 21:34:17.000-0600 | Date Closed: | 2008-01-15 15:29:06.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_sip/Interoperability |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) sip-notify.diff | |
Description: | Using the "sip notify" CLI command to try to get a Cisco 7960 to check-sync didn't work, phone reported an error as per bug ASTERISK-3168 (the "invalid SDP" reference). Noticed the misleading "SDP" error the phone replied with had an extra newline after headers. Added add_line(&req, ""); before the packet is sent in sip_notify() and the phone now responds to the check-sync event as expected. ****** ADDITIONAL INFORMATION ****** Cisco 7960, was on SIP firmware 7.3. Attached diff. Tried to fax disclaimer, machines refused to negotiate! Will try again on Monday. | ||
Comments: | By: Mark Spencer (markster) 2005-03-28 01:12:30.000-0600 Fixed in CVS head with the "proper" fix... By: Olle Johansson (oej) 2005-04-01 00:31:11.000-0600 ---Not in 1.0. By: Digium Subversion (svnbot) 2008-01-15 15:29:06.000-0600 Repository: asterisk Revision: 5289 U trunk/channels/chan_sip.c ------------------------------------------------------------------------ r5289 | markster | 2008-01-15 15:29:06 -0600 (Tue, 15 Jan 2008) | 2 lines Don't forget blank header in notify (bug ASTERISK-3787) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=5289 |