Last active
January 18, 2019 01:17
-
-
Save ambiorixg12/e611a9e183f575b9448f8e3dea163db5 to your computer and use it in GitHub Desktop.
playing sound file on a call chanspy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Let's say SIP device have a call with 6000 just run the following command | |
| Playing the sound | |
| vultr*CLI> originate Local/6005@alert application playback demo-thanks | |
| ;; This context inject the audio | |
| [alert] | |
| exten=>_x.,1,Noop() | |
| same => n,ChanSpy(PJSIP/${EXTEN},Bq) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment