我正在尝试使用dahdi拨打PSTN号码,但我无法通过originate命令发起它请告诉我如何在asterisk-java中使用此方法。
答案 0 :(得分:0)
AMI Example
Action: Originate
Channel: DAHDI/1/123456789 ;PSTN Channel
Context: default
Exten: 101
Priority: 1
Callerid: Asterisk Automatic Wardial
extensions.conf
[default]
exten => 101,1,Dial(SIP/101,45)
exten => 101,n,Hangup()
this context make a bridge between SIP/101 and DAHDI/1/123456789