Skip to content

Instantly share code, notes, and snippets.

@ambiorixg12
Last active January 18, 2019 01:17
Show Gist options
  • Select an option

  • Save ambiorixg12/e611a9e183f575b9448f8e3dea163db5 to your computer and use it in GitHub Desktop.

Select an option

Save ambiorixg12/e611a9e183f575b9448f8e3dea163db5 to your computer and use it in GitHub Desktop.
playing sound file on a call chanspy
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