Summary: | ASTERISK-14325: parsing of sip register lines is still broken | ||
Reporter: | ffs (ffs) | Labels: | |
Date Opened: | 2009-06-17 05:17:32 | Date Closed: | 2009-06-17 10:27:37 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_sip/Registration |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | A register line within sip.conf has the following format: [transport://]user[:secret[:authuser]]@domain[:port][/extension][~expiry] [^] To extract the extension the parser is searching for '/' in the whole line (from right to left). As [/extension] is optional this causes trouble if there is no extension defined and [transport://] [^] is set. Suggested solution: parse extension and expiry after the last '@' character. ****** ADDITIONAL INFORMATION ****** This was reported as bug# 15111 before, but this bug has been closed as it was related to bug# 14668 which has also been closed w/o fixing it... suggested change to chan_sip.c: see patch of bug# 15111 | ||
Comments: | By: Sean Bright (seanbright) 2009-06-17 10:27:37 Re-opened the original issue (you could have, too) |