master
Jay 3 years ago
parent 0036cc1301
commit aad3b2aa18

@ -8,8 +8,10 @@ as logic to perform this playback.
Asterisk Jukebox & Player consist of two basic dialplans: Asterisk Jukebox & Player consist of two basic dialplans:
a common set of logic for playback called from an jukebox interface ```
a common set of logic for playback called from a jukebox interface
a jukebox interface dialplan for music/album selection a jukebox interface dialplan for music/album selection
```
There is no reason you cannot use the player outside of a jukebox, provided you There is no reason you cannot use the player outside of a jukebox, provided you
set all the variables and call the proper extensions in it's context. set all the variables and call the proper extensions in it's context.
@ -161,8 +163,8 @@ extension.
# License # License
jaw - jukebox for asterisk wizard Asterisk Jukebox
Copyright (C) 2021 Jay Moore - nq4tango@gmail.com Copyright (C) 2022 Jay Moore - nq4tango@gmail.com
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by

@ -19,5 +19,5 @@ same = n,GoTo(cart-player,*${EXTEN:-2},1)
exten = _02XX,1,Set(aa=foobar/02album) exten = _02XX,1,Set(aa=foobar/02album)
same = n,GoToIf($["${EXTEN:-2}" = "00"]?8track-player,#12,1) same = n,GoToIf($["${EXTEN:-2}" = "00"]?8track-player,#12,1)
same = n,GoToIf($["${EXTEN:-2}" < "10"]?cart-player,\#${EXTEN:-1},1) ; these files don't have a leading zero same = n,GoToIf($["${EXTEN:-2}" < "10"]?cart-player,#${EXTEN:-1},1) ; these files don't have a leading zero
same = n,GoTo(cart-player,*${EXTEN:-2},1) same = n,GoTo(cart-player,*${EXTEN:-2},1)
Loading…
Cancel
Save