Re: [asterisk-dev] PJSIP CLI and AMI organization thoughts

2013-12-09 Thread Kevin Harwell
On Sat, 2013-12-07 at 09:20 -0700, George Joseph wrote: snip It would be nice if endpoint stored all its object relationships the same way but it doesn't. It stores its related aors as a comma separated string, its auths in 2 different auth arrays, channels you have to get through a

Re: [asterisk-dev] PJSIP CLI and AMI organization thoughts

2013-12-09 Thread George Joseph
On Mon, Dec 9, 2013 at 8:49 AM, Kevin Harwell kharw...@digium.com wrote: On Sat, 2013-12-07 at 09:20 -0700, George Joseph wrote: snip It would be nice if endpoint stored all its object relationships the same way but it doesn't. It stores its related aors as a comma separated string,

Re: [asterisk-dev] PJSIP CLI and AMI organization thoughts

2013-12-09 Thread Kevin Harwell
On Mon, 2013-12-09 at 09:17 -0700, George Joseph wrote: On Mon, Dec 9, 2013 at 8:49 AM, Kevin Harwell kharw...@digium.com wrote: On Sat, 2013-12-07 at 09:20 -0700, George Joseph wrote: snip It would be nice if endpoint stored all its object

Re: [asterisk-dev] PJSIP CLI and AMI organization thoughts

2013-12-09 Thread George Joseph
On Mon, Dec 9, 2013 at 10:15 AM, Kevin Harwell kharw...@digium.com wrote: On Mon, 2013-12-09 at 09:17 -0700, George Joseph wrote: If Asterisk were completely OO we could create object factories, interfaces and implementation classes that hide all of that. Unfortunately, it's not. Also

Re: [asterisk-dev] PJSIP CLI and AMI organization thoughts

2013-12-07 Thread George Joseph
On Fri, Dec 6, 2013 at 11:53 PM, Kevin Harwell kharw...@digium.com wrote: On Fri, Dec 6, 2013 at 11:27 PM, George Joseph george.jos...@fairview5.com wrote: On Fri, Dec 6, 2013 at 10:09 PM, Kevin Harwell kharw...@digium.comwrote: On Fri, Dec 6, 2013 at 7:09 PM, George Joseph

[asterisk-dev] PJSIP CLI and AMI organization thoughts

2013-12-06 Thread George Joseph
This continues a conversation kharwell, mjordan and I were having on irc this morning concerning the implementation of the cli output formatting. Basically, I'm thinking that while we should absolutely re-use the underlying plumbing ( we don't need 2 versions of ast_sip_for_each_contact, for

Re: [asterisk-dev] PJSIP CLI and AMI organization thoughts

2013-12-06 Thread Kevin Harwell
On Fri, 2013-12-06 at 14:21 -0700, George Joseph wrote: This continues a conversation kharwell, mjordan and I were having on irc this morning concerning the implementation of the cli output formatting. Basically, I'm thinking that while we should absolutely re-use the underlying plumbing

Re: [asterisk-dev] PJSIP CLI and AMI organization thoughts

2013-12-06 Thread George Joseph
On Fri, Dec 6, 2013 at 4:52 PM, Kevin Harwell kharw...@digium.com wrote: On Fri, 2013-12-06 at 14:21 -0700, George Joseph wrote: This continues a conversation kharwell, mjordan and I were having on irc this morning concerning the implementation of the cli output formatting.

Re: [asterisk-dev] PJSIP CLI and AMI organization thoughts

2013-12-06 Thread Kevin Harwell
On Fri, Dec 6, 2013 at 7:09 PM, George Joseph george.jos...@fairview5.comwrote: On Fri, Dec 6, 2013 at 4:52 PM, Kevin Harwell kharw...@digium.com wrote: On Fri, 2013-12-06 at 14:21 -0700, George Joseph wrote: snip Not suggesting separate lists for each object type. What I'm really

Re: [asterisk-dev] PJSIP CLI and AMI organization thoughts

2013-12-06 Thread George Joseph
On Fri, Dec 6, 2013 at 10:09 PM, Kevin Harwell kharw...@digium.com wrote: On Fri, Dec 6, 2013 at 7:09 PM, George Joseph george.jos...@fairview5.com wrote: On Fri, Dec 6, 2013 at 4:52 PM, Kevin Harwell kharw...@digium.comwrote: On Fri, 2013-12-06 at 14:21 -0700, George Joseph wrote: snip

Re: [asterisk-dev] PJSIP CLI and AMI organization thoughts

2013-12-06 Thread Kevin Harwell
On Fri, Dec 6, 2013 at 11:27 PM, George Joseph george.jos...@fairview5.comwrote: On Fri, Dec 6, 2013 at 10:09 PM, Kevin Harwell kharw...@digium.comwrote: On Fri, Dec 6, 2013 at 7:09 PM, George Joseph george.jos...@fairview5.com wrote: On Fri, Dec 6, 2013 at 4:52 PM, Kevin Harwell