[Freeswitch-users] Bug in mod_commands.c with show calls command

Michael Collins msc at freeswitch.org
Mon Mar 1 13:52:41 PST 2010

On Mon, Mar 1, 2010 at 1:31 PM, Wellie Chao <wchao at yahoo.com> wrote:

> I am using the xml_rpc interface like so:
> I get a response in a table, which is a little bit undesirable because I
> want to parse the result in a program and don't want to parse a bunch of
> HTML (just seems inelegant and wasteful), so I instead tried the following
> request:
> That works better, but then another wrinkle appears. Caller ID (and Callee
> ID) names sometimes have commas, which messes up the CSV.
> This appears to be a bug in mod_commands.c (or I suppose you could call it
> an artifact of somebody coding up something quickly and not worrying about
> the absolute correctness of something that is not critical to the core).
> There is also another bug with show calls via webapi in that the generated
> HTML has spurious <td> tags. I think the spurious <td> tag bug arises due
> to lines 3145-6 in mod/applications/mod_commands/mod_commands.c. Finally,
> another bug (or maybe just unimplemented feature) is that xmlapl isn't
> really different from webapi.
> These problems occur in the latest source tree (20100301).
> I am wondering if (a) one of the developers can fix these or (b) if I fix
> the bugs, how can I submit patches [and if I submit patches, will they be
> accepted into the main tree]?
> The fixes are pretty trivial and I'd be happy to code them up if somebody
> will tell me how I can submit the patches (haven't done it before).

Go to jira.freeswitch.org and sign up for an account. You can open an issue,
assign it to yourself, and then submit a patch. Be sure to upload .txt files
and not tar, gz, or bz2! Also, check out the bug reporting tips on this

It gives some more details on reporting bugs and the things that you should
be doing.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100301/b55734ef/attachment-0002.html 

More information about the FreeSWITCH-users mailing list