【发布时间】:2019-06-19 11:13:52
【问题描述】:
我安装了一个 FreePbx。但我有一个问题。我想打电话给自己的手机,但我不能。
我有一个IP电话。我把他的类型从 pjsip 改成了 sip。
扩展:102
extensions.conf:
[cocugunuzukarsilayin]
exten => myphonenumber,1,Answer()
exten => myphonenumber,n,Wait(1)
exten => myphonenumber,n,Playback(custom/sound2)
exten => myphonenumber,n,Wait(1)
exten => myphonenumber,n,Hangup()
test.call
Channel: SIP/102/myphonenumber
MaxRetries: 2
RetryTime: 30
WaitTime: 15
Context: cocugunuzukarsilayin
Extension: cocugunuzukarsilayin
Priority: 2
错误:
[2019-06-19 14:08:39] WARNING[8744]: chan_sip.c:6274 create_addr: Purely numeric hostname (102), and not a peer--rejecting!
[2019-06-19 14:08:39] NOTICE[8744]: pbx_spool.c:447 attempt_thread: Call failed to go through, reason (0) Call Failure (not BUSY, and not NO_ANSWER, maybe Circuit busy or down?)
[2019-06-19 14:08:39] WARNING[8744]: pbx_spool.c:350 safe_append: Unable to set utime on /var/spool/asterisk/outgoing/test.call: Operation not permitted
问题出在哪里?
【问题讨论】: