Skip to content

Instantly share code, notes, and snippets.

@garronej
Created May 5, 2017 06:24
Show Gist options
  • Save garronej/a4cc79dba58f3e9265762c327b27ad0f to your computer and use it in GitHub Desktop.
Save garronej/a4cc79dba58f3e9265762c327b27ad0f to your computer and use it in GitHub Desktop.
Dialplan example adding buffer to chan_dongle
[from-dongle]
exten = _[+0-9].,1,NoOp(Inbound dongle channel from dongle)
same = n,Dial(sip/alice,,b(from-dongle^set_up_outbound^1))
exten = set_up_outbound,1,NoOp(Outbound sip channel from dongle)
same = n,Set(JITTERBUFFER(fixed)=2500,10000)
same = n,Return()
[from-sip]
exten = _[+0-9].,1,NoOp(Inbound sip channel from sip)
same = n,Set(JITTERBUFFER(fixed)=2500,10000)
same = n,Dial(Dongle/i:358880032664586/${EXTEN})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment