Re: [asterisk-users] G729

2018-07-26 Thread Doug Lytle
>>> And I'm not at all against Digium making money. But this whole 729 thing is 
>>> a mystery without any official feedback...

Not an official statement from Digium, but at the top of that thread, it says 
it all:


"david551
Sep '17

It still need copyright licensing.

You will need to find an open source implementation that is not based on code 
with commercial use restrictions. The allegedly open source implementation that 
was around whilst the patent was live actually had a void licence, because the 
purported licence was GPL, but it contained code identified by its upstream 
supplier as not for commercial use, invalidating the GPL.

If you want a royalty free G.729, you need to write it yourself, form the 
specification, not from the existing sample code."

Doug

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] G729

2018-07-26 Thread Jonathan H
Hmmm, again, this conversation has just faded out. I wondered why no
response from Digium?

So I found this discussion -
https://community.asterisk.org/t/why-does-g729-still-require-licensing/71920/8
- seems very clear that G729 is patent free, but still no response from
Digium.

Also, the link to the "definitely royalty free" version was removed.

Don't get me wrong, I'm sure there must be a valid reason.

And I'm not at all against Digium making money. But this whole 729 thing is
a mystery without any official feedback...



On Mon, 23 Jul 2018 at 05:37, Dmitry Melekhov  wrote:

> 20.07.2018 23:35, John Kiniston пишет:
>
>
> On Fri, Jul 20, 2018 at 11:41 AM Saint Michael  wrote:
>
>> ​The community would benefit if a non/licensed version of G729 would be
>>> included with Asterisk​, since the license expired. The current codec
>>> source code posted still requires licensing.
>>>
>> ​I am sure Digium would not prefer to ​
>>
>> ​acknowledge this, but the phenomenal growth of Asterisk is due to the
>> a​availability of a free G729 codec compiled and distributed free by Arkadi
>> Shislov.
>>
>> That'd be a surprise to me with the 325 G.729 licenses I have from Digium.
>
> I'm not a software pirate, I doubt that most telephony providers are
> either.
>
>
> Once again- patent is expired, g729 algorithm is now free.
> You spent you money to wrong place :-)
>
>
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at:
> https://community.asterisk.org/
>
> New to Asterisk? Start here:
>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Edit: Asterisk 13.22.0 - "stat" dialplan function clears channel vars?

2018-07-26 Thread Stefan Viljoen
Sorry, I see I have submitted a testing version of the dialplan fragment.

Actual extension  is:

;listen to recording
exten=>,1,Answer()
exten=>,n,NoOp(Requesting File ${recfile})
exten=>,n,NoOp(Rec file set to ${recfile}) exten=>,n,NoOp(Alt file set 
to ${altfile}) exten=>,n,NoOp(Requesting Alt File ${altfile})
exten=>,n,Set(__numbertarget=)
exten=>,n,Set(haveFile=${STAT(e,${recfile}.gsm)})
exten=>,n,NoOp(Original File Exist ${haveFile}) 
exten=>,n,GotoIf($["${haveFile}" = "1"]?play) exten=>,n,NoOp(rec File 
not found using alt file)
exten=>,n,Set(recfile=${altFile})
exten=>,n(play),ControlPlayback(${recfile},2,6,4,8,5,9)
exten=>,n,hangup()

for my previous post.

Thanks!


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Asterisk 13.22.0 - "stat" dialplan function clears channel vars?

2018-07-26 Thread Stefan Viljoen
Hi Guys

I have the following dialplan code that I use to play back recordings, the 
filename being provided in an originate statement to the AMI (AJAM) interface:

Action: Originate
ActionID: test
Channel: SIP/3015
Exten: 
Context: local
Priority: 1
CallerID: 3015
Account: recordinglisten
ChannelID: abc
OtherChannelID: def
Variable: 
CallLimit=3600,recfile=/var/spool/asterisk/monitor/1807/25/2507180836591192526,altfile=/var/spool/asterisk/monitor/archive/1807/25/2507180836591192526
Async: true

Extension  is:

;listen to recording
exten=>,1,Answer()
exten=>,n,NoOp(Requesting File ${recfile})
exten=>,n,Set(${__recfile}=${recfile})
exten=>,n,Set(${__altfile}=${altfile})
exten=>,n,NoOp(Rec file set to ${recfile})
exten=>,n,NoOp(Alt file set to ${altfile})
exten=>,n,NoOp(Requesting Alt File ${altfile})
exten=>,n,Set(__numbertarget=)
exten=>,n,Set(haveFile=${STAT(e,${recfile}.gsm)})
exten=>,n,NoOp(Original File Exist ${haveFile})
exten=>,n,GotoIf($["${haveFile}" = "1"]?play)
exten=>,n,NoOp(rec File not found using alt file)
exten=>,n,Set(recfile=${altFile})
exten=>,n(play),ControlPlayback(${recfile},2,6,4,8,5,9)
exten=>,n,hangup()

However, if the above originate is done, when this line is executed in the 
dialplan Asterisk 13.22.0

exten=>,n,Set(haveFile=${STAT(e,${recfile}.gsm)})

it clears the variables recfile and altfile - if you NoOp them out below this 
line they are blank.

Why would the "STAT" dialplan function in 13.22.0 apparently clear all 
variables set on the channel, instead of checking if the given file exists (as 
it did in previous Asterisk versions) and leaving the channel variables alone...

Additionally, not only "recfile" which is passed as a STAT parameter is clear, 
"altfile" is -also- cleared to blank.

Can anybody assist?

Thank you

Stefan


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users