我通过FreePbx使用Asterisk来实现B2BUA。 作为我的任务的一部分,我创建了一个入站路由,并设置了目的地=中继,并选择了一个具有正确SIP凭据的中继。
除了一个悲伤的问题外,一切似乎都很好。 当Asterisk拨打目标SIP中继时,它会在那里提示“确认呼叫”,要求目的地方按1接听该呼叫。 我需要删除此提示。
这听起来很愚蠢,但我无法在FreePbx Web GUI或FreePbx在线文档中找到办法。
有人可以建议一个解决方案来为我的FreePBX SIP干线打开确认呼叫功能关闭吗?
某些目的地中继线设置
Asterisk中继拨号选项:
SIP/username@hostname.com
Sip Settings / Outgoing / Peer Details:
host=hostname.com
username=username
type=peer
port=5060
transport=tcp
tcpenable=yes
privacy=off
显示问题的日志
[2017-09-06 15:25:21] VERBOSE[16408][C-0000a153] pbx.c: Executing [tdial@ext-trunk:10] Dial("SIP/InTrunk-000013aa", "SIP/OutTrunk/username,300,SIP/username@hostname.com") in new stack
[2017-09-06 15:25:21] VERBOSE[16408][C-0000a153] app_dial.c: Privacy DB is 'tdial', clid is '+18578888888'
[2017-09-06 15:25:21] VERBOSE[16408][C-0000a153] netsock2.c: Using SIP RTP TOS bits 184
[2017-09-06 15:25:21] VERBOSE[16408][C-0000a153] netsock2.c: Using SIP RTP CoS mark 5
[2017-09-06 15:25:21] VERBOSE[16408][C-0000a153] app_dial.c: Called SIP/OutTrunk/username
[2017-09-06 15:25:21] VERBOSE[16408][C-0000a153] res_musiconhold.c: Started music on hold, class 'none', on channel 'SIP/InTrunk-000013aa'
[2017-09-06 15:25:21] WARNING[16408][C-0000a153] format_wav.c: Read failed (type)
[2017-09-06 15:25:21] WARNING[16408][C-0000a153] file.c: Unable to open format wav
[2017-09-06 15:25:21] WARNING[16408][C-0000a153] res_musiconhold.c: Unable to open file '/var/lib/asterisk/moh/.nomusic_reserved/silence': No such file or directory
[2017-09-06 15:25:21] VERBOSE[16408][C-0000a153] res_musiconhold.c: Stopped music on hold on SIP/InTrunk-000013aa
[2017-09-06 15:25:21] VERBOSE[16408][C-0000a153] app_dial.c: SIP/OutTrunk-000013ab is ringing
[2017-09-06 15:25:23] VERBOSE[16408][C-0000a153] app_dial.c: SIP/OutTrunk-000013ab answered SIP/InTrunk-000013aa
[2017-09-06 15:25:23] VERBOSE[16408][C-0000a153] file.c: <SIP/OutTrunk-000013ab> Playing 'priv-callpending.ulaw' (language 'en')
[2017-09-06 15:25:27] VERBOSE[16408][C-0000a153] file.c: <SIP/OutTrunk-000013ab> Playing 'priv-callerintros/+18578888888.slin' (language 'en')
[2017-09-06 15:25:32] VERBOSE[16408][C-0000a153] file.c: <SIP/OutTrunk-000013ab> Playing 'priv-callee-options.ulaw' (language 'en')
[2017-09-06 15:25:41] VERBOSE[16408][C-0000a153] file.c: <SIP/OutTrunk-000013ab> Playing 'screen-callee-options.ulaw' (language 'en')
[2017-09-06 15:25:41] VERBOSE[16408][C-0000a153] file.c: <SIP/OutTrunk-000013ab> Playing 'vm-sorry.ulaw' (language 'en')
[2017-09-06 15:25:41] VERBOSE[16408][C-0000a153] file.c: <SIP/OutTrunk-000013ab> Playing 'priv-callerintros/+18578888888.slin' (language 'en')
[2017-09-06 15:25:41] VERBOSE[16408][C-0000a153] file.c: <SIP/OutTrunk-000013ab> Playing 'priv-callee-options.ulaw' (language 'en')
[2017-09-06 15:25:41] VERBOSE[16408][C-0000a153] file.c: <SIP/OutTrunk-000013ab> Playing 'screen-callee-options.ulaw' (language 'en')
[2017-09-06 15:25:41] VERBOSE[16408][C-0000a153] file.c: <SIP/OutTrunk-000013ab> Playing 'vm-sorry.ulaw' (language 'en')
[2017-09-06 15:25:41] VERBOSE[16408][C-0000a153] file.c: <SIP/OutTrunk-000013ab> Playing 'priv-callerintros/+18578888888.slin' (language 'en')
[2017-09-06 15:25:41] VERBOSE[16408][C-0000a153] file.c: <SIP/OutTrunk-000013ab> Playing 'priv-callee-options.ulaw' (language 'en')
[2017-09-06 15:25:41] VERBOSE[16408][C-0000a153] file.c: <SIP/OutTrunk-000013ab> Playing 'screen-callee-options.ulaw' (language 'en')
[2017-09-06 15:25:41] VERBOSE[16408][C-0000a153] file.c: <SIP/OutTrunk-000013ab> Playing 'vm-sorry.ulaw' (language 'en')
[2017-09-06 15:25:41] NOTICE[16408][C-0000a153] app_dial.c: privacy: no valid response from the callee. Sending the caller to voicemail, the callee isn't responding
[2017-09-06 15:25:41] VERBOSE[16408][C-0000a153] pbx.c: Executing [tdial@ext-trunk:11] Set("SIP/InTrunk-000013aa", "CALLERID(number)=+18578888888") in new stack
[2017-09-06 15:25:41] VERBOSE[16408][C-0000a153] pbx.c: Executing [tdial@ext-trunk:12] Set("SIP/InTrunk-000013aa", "CALLERID(name)=+18578888888") in new stack
[2017-09-06 15:25:41] VERBOSE[16408][C-0000a153] pbx.c: Executing [tdial@ext-trunk:13] Hangup("SIP/InTrunk-000013aa", "") in new stack
[2017-09-06 15:25:41] VERBOSE[16408][C-0000a153] pbx.c: Spawn extension (ext-trunk, tdial, 13) exited non-zero on 'SIP/InTrunk-000013aa'
答案 0 :(得分:1)
默认情况下,freepbx不会确认通话。检查隐私设置,检查主干上的“拨号选项”。
[2017-09-06 15:25:21] VERBOSE[16408][C-0000a153] app_dial.c: Privacy DB is 'tdial', clid is '+18578888888'
您的日志无用,请使用“core set verbose 3”查看拨号方案转换。