Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Asterisk CLI Banner


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
haiderkhalil at hotmai...
Guest





PostPosted: Fri Mar 28, 2014 4:32 am    Post subject: [asterisk-users] Asterisk CLI Banner Reply with quote

Hello Experts,

I want to know if there is any way to modify welcome banner on asterisk console when I connect using "asterisk -r"


Thanks,
Haider
Back to top
tg at ovm-group.com
Guest





PostPosted: Fri Mar 28, 2014 9:10 am    Post subject: [asterisk-users] Asterisk CLI Banner Reply with quote

Am 28.03.2014 10:32, schrieb Haider Khalil:
Quote:
Hello Experts,

I want to know if there is any way to modify welcome banner on asterisk console when I connect using "asterisk -r"




Hi,

did you compile asterisk from source? Take a look at main/asterisk.c (line 174 in asterisk v 11.5.1). I think you have to change it there manually and recompile it.

-Thorsten-
Back to top
mjordan at digium.com
Guest





PostPosted: Fri Mar 28, 2014 10:01 am    Post subject: [asterisk-users] Asterisk CLI Banner Reply with quote

On Fri, Mar 28, 2014 at 9:10 AM, Thorsten Göllner <tg@ovm-group.com (tg@ovm-group.com)> wrote:
Quote:
Am 28.03.2014 10:32, schrieb Haider Khalil:
Quote:
Hello Experts,

I want to know if there is any way to modify welcome banner on asterisk console when I connect using "asterisk -r"





Hi,

did you compile asterisk from source? Take a look at main/asterisk.c (line 174 in asterisk v 11.5.1). I think you have to change it there manually and recompile it.





Please note that modifying the banner in main/asterisk.c may cause you to violate the licensing of Asterisk, specifically Section 1 of the GPL (if you distribute the modified source in any fashion) and/or Section 2c.


Unless you really know what you're doing with regards to software licensing, I would highly suggest not modifying the welcome message.


--
Matthew Jordan

Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org
Back to top
haiderkhalil at hotmai...
Guest





PostPosted: Fri Mar 28, 2014 10:51 am    Post subject: [asterisk-users] Asterisk CLI Banner Reply with quote

Thank you Thorsten Göllner.

Matthew,

What does violating license of Asterisk means ? Does it means I won't be able to use any commercial modules or asterisk commercially ? I thought it was open and anyone can change the code ?


Haider

Date: Fri, 28 Mar 2014 10:00:42 -0500
From: mjordan@digium.com
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] Asterisk CLI Banner




On Fri, Mar 28, 2014 at 9:10 AM, Thorsten Göllner <tg@ovm-group.com (tg@ovm-group.com)> wrote:
Quote:
Am 28.03.2014 10:32, schrieb Haider Khalil:
Quote:
Hello Experts,

I want to know if there is any way to modify welcome banner on asterisk console when I connect using "asterisk -r"





Hi,

did you compile asterisk from source? Take a look at main/asterisk.c (line 174 in asterisk v 11.5.1). I think you have to change it there manually and recompile it.





Please note that modifying the banner in main/asterisk.c may cause you to violate the licensing of Asterisk, specifically Section 1 of the GPL (if you distribute the modified source in any fashion) and/or Section 2c.


Unless you really know what you're doing with regards to software licensing, I would highly suggest not modifying the welcome message.


--
Matthew Jordan

Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org




-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
kenner at gnat.com
Guest





PostPosted: Fri Mar 28, 2014 10:54 am    Post subject: [asterisk-users] Asterisk CLI Banner Reply with quote

Quote:
What does violating license of Asterisk means? Does it means I
won't be able to use any commercial modules or asterisk commercially?
I thought it was open and anyone can change the code?

Anyone *can* change the code. But it's licensed software, just like
most other software. The difference is that the GPL gives you rights
that you don't have for other non-open software. However, in both cases,
you have to be sure that you don't violate the terms of the license.

If you're unclear as to whether what you propose to do will violate the
license, I'd suggest consulting an attorney: nobody on this list (or any
other) should be providing you legal advice.

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
asterisk_list at earth...
Guest





PostPosted: Fri Mar 28, 2014 11:15 am    Post subject: [asterisk-users] Asterisk CLI Banner Reply with quote

On Friday 28 Mar 2014, Haider Khalil wrote:
Quote:
Thank you Thorsten Göllner.
Matthew,
What does violating license of Asterisk means ? Does it means I won't be
able to use any commercial modules or asterisk commercially ? I thought it
was open and anyone can change the code ? Haider

Nothing, *unless* you plan to distribute it.

Modifying a program you have legitimately acquired is Fair Dealing. The Law
of the Land gives you the right to do that, even if the vendor restricts your
exercise of that right in practice by withholding the Source Code.


--
AJS

Note: Originating address only accepts e-mail from list! If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
kevin.larsen at pionee...
Guest





PostPosted: Fri Mar 28, 2014 11:18 am    Post subject: [asterisk-users] Asterisk CLI Banner Reply with quote

asterisk-users-bounces@lists.digium.com wrote on 03/28/2014 10:51:13 AM:

Quote:
From: Haider Khalil <haiderkhalil@hotmail.com>

Thank you Thorsten Göllner.

Matthew,

What does violating license of Asterisk means ? Does it means I
won't be able to use any commercial modules or asterisk commercially
? I thought it was open and anyone can change the code ?

Haider

I am neither a lawyer or a licensing expert, but the basics are that if you make such a change for your own internal use, you are probably fine.
Example: You have 10 sites with Asterisk in them and at each site you have someone in your company who has to log into the CLI and do stuff. You change the header to pass them a message. This is probably (not going to guarantee this) going to be fine as it is not something you are releasing out into the wild nor are you selling it and making a profit from it.

However, let's say you make a commercial project that uses Asterisk under the hood and you change the header to hide the fact that it uses Asterisk and that Digium has any ownership of the code. That would be not be okay in most, if not all cases.

Basically, the code is open source, but it is still owned by Digium and they have specific rights that you have to be careful of in regards to licensing. If someone outside of your organization will ever be running the code you change, there are specific rules that have to be followed, including those that relate to releasing your changes to the code and to giving credit back to those who wrote the code your code is based on.

Basically, Richard Kenner is spot on. If you are unclear, best to consult an attorney who specializes in this, especially if you are redistributing the altered code.
Back to top
haiderkhalil at hotmai...
Guest





PostPosted: Fri Mar 28, 2014 11:20 am    Post subject: [asterisk-users] Asterisk CLI Banner Reply with quote

Thank you so much everyone, I think I understand all I need for this.

Haider

To: asterisk-users@lists.digium.com
From: kevin.larsen@pioneerballoon.com
Date: Fri, 28 Mar 2014 11:18:16 -0500
Subject: Re: [asterisk-users] Asterisk CLI Banner

asterisk-users-bounces@lists.digium.com wrote on 03/28/2014 10:51:13 AM:

Quote:
From: Haider Khalil <haiderkhalil@hotmail.com>

Thank you Thorsten Göllner.

Matthew,

What does violating license of Asterisk means ? Does it means I
won't be able to use any commercial modules or asterisk commercially
? I thought it was open and anyone can change the code ?

Haider

I am neither a lawyer or a licensing expert, but the basics are that if you make such a change for your own internal use, you are probably fine.
Example: You have 10 sites with Asterisk in them and at each site you have someone in your company who has to log into the CLI and do stuff. You change the header to pass them a message. This is probably (not going to guarantee this) going to be fine as it is not something you are releasing out into the wild nor are you selling it and making a profit from it.

However, let's say you make a commercial project that uses Asterisk under the hood and you change the header to hide the fact that it uses Asterisk and that Digium has any ownership of the code. That would be not be okay in most, if not all cases.

Basically, the code is open source, but it is still owned by Digium and they have specific rights that you have to be careful of in regards to licensing. If someone outside of your organization will ever be running the code you change, there are specific rules that have to be followed, including those that relate to releasing your changes to the code and to giving credit back to those who wrote the code your code is based on.

Basically, Richard Kenner is spot on. If you are unclear, best to consult an attorney who specializes in this, especially if you are redistributing the altered code.
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
kenner at gnat.com
Guest





PostPosted: Fri Mar 28, 2014 11:30 am    Post subject: [asterisk-users] Asterisk CLI Banner Reply with quote

Quote:
Modifying a program you have legitimately acquired is Fair Dealing.
The Law of the Land gives you the right to do that, even if the
vendor restricts your exercise of that right in practice by
withholding the Source Code.

That is false. Modifying a program is "creating a derivative work".
As purchaser of a copyrighted item, you normally *do not* have that right.

And this certainly may vary from jurisdiction to jurisdiction. For a
(quite dated at this point) discussion of this issue from a US perspective,
see

http://www.law.berkeley.edu/php-programs/faculty/facultyPubsPDF.php?facID=346&pubID=157

The author is a recognized expert in software IP law.

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
jnovack at stromberg-c...
Guest





PostPosted: Fri Mar 28, 2014 1:05 pm    Post subject: [asterisk-users] Asterisk CLI Banner Reply with quote

Richard Kenner wrote:
Quote:
Quote:
Modifying a program you have legitimately acquired is Fair Dealing.
The Law of the Land gives you the right to do that, even if the
vendor restricts your exercise of that right in practice by
withholding the Source Code.
That is false. Modifying a program is "creating a derivative work".
As purchaser of a copyrighted item, you normally *do not* have that right.

And this certainly may vary from jurisdiction to jurisdiction. For a
(quite dated at this point) discussion of this issue from a US perspective,
see

http://www.law.berkeley.edu/php-programs/faculty/facultyPubsPDF.php?facID=346&pubID=157

The author is a recognized expert in software IP law.

Of course, any good attorney will never commit to anything. They will never say it is alright to do X, unless X is do nothing

Patent & copyright attorneys seem especially non committal, at least in the US. probably because if any case ever goes to court, the decision and possible punishment is up to the whims of the judge and/or jury, and every law is up to interpretation, which can vary from moment to moment.

Law is not physics!

John Novack

--

Dog is my Co-pilot


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
kenner at gnat.com
Guest





PostPosted: Fri Mar 28, 2014 1:37 pm    Post subject: [asterisk-users] Asterisk CLI Banner Reply with quote

Quote:
Of course, any good attorney will never commit to anything. They
will never say it is alright to do X, unless X is do nothing

No, but a good attorney can give guidance as to likely expectations. As
you say, nobody can be sure of something even if it's previously been
"established law", but a good attorney can point out potential pitfalls on
the one hand and identify, on the other, things that are much less likely
to be an issue. It's not a guarantee, but you can often get a
recommendation about whether or not it's a good idea (not necessarily
"alright") to do something.

Attorneys often have to a take a stand on these matters. If a company
needs to use software that performs a specific thing and, say, only three
companies provide such, but under different licensing terms, it's the job
of that company's legal department to say which, if any, they can be used.
"Doing nothing" will have a cost and risk here too because this example is
talking about something that the company needs done.

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
asterisk.org at sedwar...
Guest





PostPosted: Fri Mar 28, 2014 1:39 pm    Post subject: [asterisk-users] Asterisk CLI Banner Reply with quote

On Fri, 28 Mar 2014, Richard Kenner wrote:

Quote:
And this certainly may vary from jurisdiction to jurisdiction. For a
(quite dated at this point) discussion of this issue from a US
perspective, see

http://www.law.berkeley.edu/php-programs/faculty/facultyPubsPDF.php?facID=346&pubID=157

The publication (43 pages) is dated 1988. The DMCA (1998) and subsequent
legislation may have changed the landscape.

My (ignorant) opinion -- just don't. Is it worth the effort to research?
Is it worth paying a lawyer to research it and give an opinion that may be
worth nothing until it is examined in court?

If you want to display something custom, how about a 'wrapper' script that
displays a file using 'curl' before handing off to Asterisk -- easier to
implement, easier to maintain, no legal BS to consider.

Or can you express your creativity by fiddling with ASTERISK_PROMPT?

--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards@sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
paul.belanger at polyb...
Guest





PostPosted: Sat Mar 29, 2014 1:52 pm    Post subject: [asterisk-users] Asterisk CLI Banner Reply with quote

On Fri, Mar 28, 2014 at 2:39 PM, Steve Edwards
<asterisk.org@sedwards.com> wrote:
Quote:
On Fri, 28 Mar 2014, Richard Kenner wrote:

Quote:
And this certainly may vary from jurisdiction to jurisdiction. For a
(quite dated at this point) discussion of this issue from a US perspective,
see


http://www.law.berkeley.edu/php-programs/faculty/facultyPubsPDF.php?facID=346&pubID=157


The publication (43 pages) is dated 1988. The DMCA (1998) and subsequent
legislation may have changed the landscape.

My (ignorant) opinion -- just don't. Is it worth the effort to research? Is
it worth paying a lawyer to research it and give an opinion that may be
worth nothing until it is examined in court?

If you want to display something custom, how about a 'wrapper' script that
displays a file using 'curl' before handing off to Asterisk -- easier to
implement, easier to maintain, no legal BS to consider.

Or can you express your creativity by fiddling with ASTERISK_PROMPT?

If you really want to do it:

1) create a wrapper to asterisk -r
2) pipe the welcome message to /dev/null
3) ???
4) profit

you didn't modify Asterisk.

--
Paul Belanger | PolyBeacon, Inc.
Jabber: paul.belanger@polybeacon.com | IRC: pabelanger (Freenode)
Github: https://github.com/pabelanger | Twitter: https://twitter.com/pabelanger

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
kenner at gnat.com
Guest





PostPosted: Sat Mar 29, 2014 2:24 pm    Post subject: [asterisk-users] Asterisk CLI Banner Reply with quote

Quote:
If you really want to do it:

1) create a wrapper to asterisk -r
2) pipe the welcome message to /dev/null
3) ???
4) profit

you didn't modify Asterisk.

No you didn't, but you may neverthess have created a derived work. There
are two different legal arguments you can make when two pieces of software
are tightly coupled in that way: one argues that it's a derived work and
the other that it's not.

Copyright law when it comes to software is not simple and certainly
not obvious. If you want to use a piece of Free Software in a commercial
product, you need to consult an attorney. It's really that simple.

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
tzafrir.cohen at xorco...
Guest





PostPosted: Sun Mar 30, 2014 12:26 pm    Post subject: [asterisk-users] Asterisk CLI Banner Reply with quote

On Sat, Mar 29, 2014 at 02:52:24PM -0400, Paul Belanger wrote:
Quote:
On Fri, Mar 28, 2014 at 2:39 PM, Steve Edwards
<asterisk.org@sedwards.com> wrote:
Quote:
On Fri, 28 Mar 2014, Richard Kenner wrote:

Quote:
And this certainly may vary from jurisdiction to jurisdiction. For a
(quite dated at this point) discussion of this issue from a US perspective,
see


http://www.law.berkeley.edu/php-programs/faculty/facultyPubsPDF.php?facID=346&pubID=157


The publication (43 pages) is dated 1988. The DMCA (1998) and subsequent
legislation may have changed the landscape.

My (ignorant) opinion -- just don't. Is it worth the effort to research? Is
it worth paying a lawyer to research it and give an opinion that may be
worth nothing until it is examined in court?

If you want to display something custom, how about a 'wrapper' script that
displays a file using 'curl' before handing off to Asterisk -- easier to
implement, easier to maintain, no legal BS to consider.

Or can you express your creativity by fiddling with ASTERISK_PROMPT?

If you really want to do it:

1) create a wrapper to asterisk -r

Or use cotrib/scripts/astcli (which uses the manager interface).

Quote:
2) pipe the welcome message to /dev/null
3) ???
4) profit

you didn't modify Asterisk.

And you still have 'core show version' and 'core show
{license|copyright}'.

#include <std/ianal.h>
#include <std/tinala.h>

The license does not require you to show that specific notice. But it
requires you to show the copyright notice in the place where the user
would expect it. The users MUST be aware of their legal right. In a GUI
program, you'd put that notice in help => about and not necessarily in
the startup banner (even if you have one).

That said, I would not go changing it unless it had caused a real
technical difficulty.

--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen@xorcom.com
+972-50-7952406 mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services