Re: [asterisk-users] Help needed with ARI RTP externalMedia bridging please

2021-01-04 Thread Jonathan H
You're a genius, sir! I don't know how I missed the part about ports, but anyway... Looks for "channelvars": { "UNICASTRTP_LOCAL_PORT": "*14880*", and then vlc -vvv https://media-ssl.musicradio.com/LBCUK --sout '#transcode{vcodec=none,acodec=*a*

Re: [asterisk-users] How do I extract CPLAYBACKOFFSET from ARI playback?

2021-01-04 Thread Jonathan H
On Mon, 4 Jan 2021 at 10:17, Joshua C. Colp wrote: > On Mon, Jan 4, 2021 at 6:14 AM Jonathan H wrote: > >> Following the playback.js ari-client example, I now need to store the >> current playback offsetms, either when it was skipped or hung up on. >> >> The information is not currently

[asterisk-users] How do I extract CPLAYBACKOFFSET from ARI playback?

2021-01-04 Thread Jonathan H
Following the playback.js ari-client example, I now need to store the current playback offsetms, either when it was skipped or hung up on. But I can't seem to find it. I know that https://wiki.asterisk.org/wiki/display/AST/Asterisk+18+Application_ControlPlayback sets CPLAYBACKOFFSET but that

Re: [asterisk-users] How do I extract CPLAYBACKOFFSET from ARI playback?

2021-01-04 Thread Joshua C. Colp
On Mon, Jan 4, 2021 at 6:29 AM Jonathan H wrote: > On Mon, 4 Jan 2021 at 10:17, Joshua C. Colp wrote: > >> On Mon, Jan 4, 2021 at 6:14 AM Jonathan H wrote: >> >>> Following the playback.js ari-client example, I now need to store the >>> current playback offsetms, either when it was skipped or

Re: [asterisk-users] How do I extract CPLAYBACKOFFSET from ARI playback?

2021-01-04 Thread Joshua C. Colp
On Mon, Jan 4, 2021 at 6:14 AM Jonathan H wrote: > Following the playback.js ari-client example, I now need to store the > current playback offsetms, either when it was skipped or hung up on. > But I can't seem to find it. > I know that >

Re: [asterisk-users] ast_app_exec_macro: Cannot run 'Macro(atb)'. The application is not available.

2021-01-04 Thread thelma
On 1/4/21 10:09 AM, Doug Lytle wrote: app.c:280 ast_app_exec_macro: Cannot run 'Macro(atb)'. The application is not available. > > Macros are no longer built by default in Asterisk 16. This was documented in > the UPGRADE.txt file > > app_macro: > - The app_macro module is now

Re: [asterisk-users] ast_app_exec_macro: Cannot run 'Macro(atb)'. The application is not available.

2021-01-04 Thread thelma
On 1/4/21 9:04 AM, Joshua C. Colp wrote: > On Mon, Jan 4, 2021 at 11:57 AM wrote: > >> Did execution of macro changed in Astersik-16.15 ? >> >> When I try to dial an extension that call macro I get an error: >> >> app.c:280 ast_app_exec_macro: Cannot run 'Macro(atb)'. The application is >> not

Re: [asterisk-users] ast_app_exec_macro: Cannot run 'Macro(atb)'. The application is not available.

2021-01-04 Thread Joshua C. Colp
On Mon, Jan 4, 2021 at 11:57 AM wrote: > Did execution of macro changed in Astersik-16.15 ? > > When I try to dial an extension that call macro I get an error: > > app.c:280 ast_app_exec_macro: Cannot run 'Macro(atb)'. The application is > not available. > >

Re: [asterisk-users] Help needed with ARI RTP externalMedia bridging please

2021-01-04 Thread Joshua C. Colp
On Sun, Jan 3, 2021 at 4:14 PM Jonathan H wrote: > Very simply, I want to pipe some external audio into a channel (bridge) > using the externalMedia channel option. > Running Asterisk 18 on ubuntu, here's what I did to try and test things > out: > > open a console tab > vlc -vvv

Re: [asterisk-users] ast_app_exec_macro: Cannot run 'Macro(atb)'. The application is not available.

2021-01-04 Thread Doug Lytle
>>> app.c:280 ast_app_exec_macro: Cannot run 'Macro(atb)'. The application is >>> not available. Macros are no longer built by default in Asterisk 16. This was documented in the UPGRADE.txt file app_macro: - The app_macro module is now deprecated and by default it is no longer built.

Re: [asterisk-users] ast_app_exec_macro: Cannot run 'Macro(atb)'. The application is not available.

2021-01-04 Thread Doug Lytle
>>> How do you enable the phone speaker on the Gosub? >>> I had: >>> Dial(SIP/718x@pstn-5665,20,m(default)M(atb)) You can provide variables to your gosub routine, for an example Gosub(check-number-forwarding,s,1(${ARG1})) Doug --

[asterisk-users] ast_app_exec_macro: Cannot run 'Macro(atb)'. The application is not available.

2021-01-04 Thread thelma
Did execution of macro changed in Astersik-16.15 ? When I try to dial an extension that call macro I get an error: app.c:280 ast_app_exec_macro: Cannot run 'Macro(atb)'. The application is not available. Dial(SIP/718xx@pstn-5665,20,m(default)M(atb)) -- Thelma --

Re: [asterisk-users] ast_app_exec_macro: Cannot run 'Macro(atb)'. The application is not available.

2021-01-04 Thread thelma
On 1/4/21 12:01 PM, Doug Lytle wrote: Gosub(check-number-forwarding,Dial(SIP/718xxpstn-5665,20,U(atb-sub)) > Is ARG1 = atb-sub ? > > No. > > My complete line > > exten => _45XX,1,Set(_ARG1=${EXTEN} > same => n,Gosub(check-number-forwarding,s,1(${ARG1})) > > So, if

Re: [asterisk-users] ast_app_exec_macro: Cannot run 'Macro(atb)'. The application is not available.

2021-01-04 Thread thelma
On 1/4/21 10:44 AM, Doug Lytle wrote: > How do you enable the phone speaker on the Gosub? > I had: Dial(SIP/718x@pstn-5665,20,m(default)M(atb)) > > You can provide variables to your gosub routine, for an example > > Gosub(check-number-forwarding,s,1(${ARG1})) > > Doug

Re: [asterisk-users] ast_app_exec_macro: Cannot run 'Macro(atb)'. The application is not available.

2021-01-04 Thread Doug Lytle
>>> Gosub(check-number-forwarding,Dial(SIP/718xxpstn-5665,20,U(atb-sub)) >>> Is ARG1 = atb-sub ? No. My complete line exten => _45XX,1,Set(_ARG1=${EXTEN} same => n,Gosub(check-number-forwarding,s,1(${ARG1})) So, if someone were to dial a 4 digit number starting with 45 (i.e.

Re: [asterisk-users] ast_app_exec_macro: Cannot run 'Macro(atb)'. The application is not available.

2021-01-04 Thread Doug Lytle
>>> OK, both combination worked but still silence until the all numbers are >>> dialed. I have never used the U option on the dial command to call a sub-routine, Doug -- _ -- Bandwidth and Colocation Provided by

[asterisk-users] asterisk 11 -> 16 ForkCDR

2021-01-04 Thread marek
hi, after upgrade from asterisk 11 to 16 i have problem with ForkCDR app (probably) snippet of dialplan EXTEN=800800800 backup_number=666777888 exten => _X.,n(forward800),noop(forward800) exten => _X.,n,Gosub(routing800,s,1(${EXTEN})) exten => _X.,n,goto(pstn,${backup_number},1)