Summary: | ASTERISK-01337: [patch] Calls in spool/outgoing cannot call numbers including # | ||
Reporter: | goofball (goofball) | Labels: | |
Date Opened: | 2004-04-03 11:40:22.000-0600 | Date Closed: | 2004-09-25 02:52:17 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) pbx_spool.c.patch ( 1) pbx_spool.c.patch ( 2) pbx_spool.c.patch | |
Description: | Since Channels identified in spool/outgoing call files are not processing through extensions.conf, any special handling required for a trunk must be specified in the file. Some devices (such as WHP Wireless' CellSocket) require a # to be placed at the end of dialed number strings to determine the end of the phone number. Consequently, call file processing must allow the # character in the Channel field. ****** ADDITIONAL INFORMATION ****** Since the # charater is used to identify Comments, comment stripping in pbx/pbx_spool.c:apply_outgoing() needs to be smart enough to determine if the # character is being used for a comment or as a charater in the dialed digits string. Assuming that comments will always be placed at the beginning of the line, or after a whitespace charater, it is possible to provide the required behavior. | ||
Comments: | By: Mark Spencer (markster) 2004-04-04 18:19:22 Please attach as a cvs diff -u and i'll apply it, although in retrospect i really should have stuck with ";" as the comment character. I just don't know how to go back and fix it this late in the game. If you can think of an easy way to transition that would be better. By: goofball (goofball) 2004-04-05 10:16:52 Reminder sent to markster diff -u patch file has been added to this bug. By: Mark Spencer (markster) 2004-04-05 12:49:05 Patch does not apply. It looks like it's had the formatting messed up. By: James Golovich (jamesgolovich) 2004-04-05 12:51:36 I've come up with a patch for this, so GoofBall doesn't need to worry about it. I'll commit it when I get a chance today By: James Golovich (jamesgolovich) 2004-04-05 14:04:14 Fixed in CVS |