将chan_mobile与星号一起使用时,两种方式均无声音

时间:2019-07-01 05:38:28

标签: audio mobile asterisk sip

我正在使用星号11,并遵循此网页上的指南: https://jtanx.github.io/2016/02/24/using-asterisk-to-route-calls-through-mobile/

我正在通过chan_mobile将所有来电转移到我的移动电话到本地网络上的一个sip帐户。(有效)

此外,我从sip帐户拨打的所有电话都会自动拨打电话,并且通话会通过。 (工作) 我正在使用带有内置蓝牙的Raspberry pi 3。 两种情况都可行,但是双向都没有音频。 树莓派IP地址:192.168.1.136 PC ip地址上的sip客户端:192.168.1.137

我阅读了一些有关bluez5和树莓派内部蓝牙的文章。

这是日志,请检查:


     == Using SIP RTP TOS bits 184
     == Using SIP RTP CoS mark 5
[2019-06-28 14:02:40] WARNING[1811][C-00000003]: chan_sip.c:33608 process_crypto: Ignoring crypto attribute in SDP because RTP transport is insecure
[2019-06-28 14:02:40] WARNING[1811][C-00000003]: chan_sip.c:33608 process_crypto: Ignoring crypto attribute in SDP because RTP transport is insecure
[2019-06-28 14:02:40] WARNING[1811][C-00000003]: chan_sip.c:33608 process_crypto: Ignoring crypto attribute in SDP because RTP transport is insecure
[2019-06-28 14:02:40] WARNING[1811][C-00000003]: chan_sip.c:33608 process_crypto: Ignoring crypto attribute in SDP because RTP transport is insecure
    -- Executing [76123123@test:1] Dial("SIP/test-00000003", "Mobile/WP530/76123123,45") in new stack
       > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,extra) VALUES ('CHAN_START',{ts '2019-06-28 14:02:40.814798'},'','test','','','','76123123','test','SIP/test-00000003','','',3,'','1561719760.6','1561719760.6','','','')]
    -- Called Mobile/WP530/76123123
       > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,extra) VALUES ('CHAN_START',{ts '2019-06-28 14:02:40.816320'},'WP530','','','','','s','incoming-mobile','Mobile/WP530-14c2','','',3,'','1561719760.7','1561719760.6','','','')]
    -- Mobile/WP530-14c2 is making progress passing it to SIP/test-00000003
       > 0x75e00750 -- Probation passed - setting RTP source address to 192.168.1.137:10006
    -- Mobile/WP530-14c2 is ringing
    -- Mobile/WP530-14c2 answered SIP/test-00000003
       > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,extra) VALUES ('ANSWER',{ts '2019-06-28 14:03:05.259138'},'','76123123','','','','76123123','incoming-mobile','Mobile/WP530-14c2','AppDial','(Outgoing Line)',3,'','1561719760.7','1561719760.6','','','')]
       > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,extra) VALUES ('ANSWER',{ts '2019-06-28 14:03:05.260611'},'','test','test','','76123123','76123123','test','SIP/test-00000003','Dial','Mobile/WP530/76123123,45',3,'','1561719760.6','1561719760.6','','','')]
       > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,extra) VALUES ('BRIDGE_START',{ts '2019-06-28 14:03:05.260774'},'','test','test','','76123123','76123123','test','SIP/test-00000003','Dial','Mobile/WP530/76123123,45',3,'','1561719760.6','1561719760.6','Mobile/WP530-14c2','','')]
[2019-06-28 14:03:06] WARNING[1811][C-00000003]: chan_sip.c:33608 process_crypto: Ignoring crypto attribute in SDP because RTP transport is insecure
[2019-06-28 14:03:06] WARNING[1811][C-00000003]: chan_sip.c:33608 process_crypto: Ignoring crypto attribute in SDP because RTP transport is insecure
[2019-06-28 14:03:06] WARNING[1811][C-00000003]: chan_sip.c:33608 process_crypto: Ignoring crypto attribute in SDP because RTP transport is insecure
[2019-06-28 14:03:06] WARNING[1811][C-00000003]: chan_sip.c:33608 process_crypto: Ignoring crypto attribute in SDP because RTP transport is insecure
       > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,extra) VALUES ('BRIDGE_END',{ts '2019-06-28 14:03:22.252067'},'','test','test','','76123123','76123123','test','SIP/test-00000003','Dial','Mobile/WP530/76123123,45',3,'','1561719760.6','1561719760.6','Mobile/WP530-14c2','','')]
       > [INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,uniqueid) VALUES ({ ts '2019-06-28 14:02:40' },'test','test','76123123','test','SIP/test-00000003','Mobile/WP530-14c2','Dial','Mobile/WP530/76123123,45',42,17,'ANSWERED',3,'1561719760.6')]
  == Spawn extension (test, 76123123, 1) exited non-zero on 'SIP/test-00000003'
       > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,extra) VALUES ('HANGUP',{ts '2019-06-28 14:03:22.283725'},'','76123123','','','','','test','Mobile/WP530-14c2','AppDial','(Outgoing Line)',3,'','1561719760.7','1561719760.6','','','16,SIP/test-00000003,')]
       > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,extra) VALUES ('CHAN_END',{ts '2019-06-28 14:03:22.284029'},'','76123123','','','','','test','Mobile/WP530-14c2','AppDial','(Outgoing Line)',3,'','1561719760.7','1561719760.6','','','')]
       > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,extra) VALUES ('HANGUP',{ts '2019-06-28 14:03:22.284735'},'','test','test','','76123123','76123123','test','SIP/test-00000003','','',3,'','1561719760.6','1561719760.6','','','16,SIP/test-00000003,ANSWER')]
       > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,extra) VALUES ('CHAN_END',{ts '2019-06-28 14:03:22.284815'},'','test','test','','76123123','76123123','test','SIP/test-00000003','','',3,'','1561719760.6','1561719760.6','','','')]
       > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,extra) VALUES ('LINKEDID_END',{ts '2019-06-28 14:03:22.284862'},'','test','test','','76123123','76123123','test','SIP/test-00000003','','',3,'','1561719760.6','1561719760.6','','','')]

1 个答案:

答案 0 :(得分:0)

Chan_mobile是非常特殊的频道。

没有支持。

它实际上取决于硬件-检查工作设备的列表。某些设备可能由于固件版本不正确而无法正常工作。

这取决于蓝牙模块及其固件。

因此,没有一种方法可以确定您到底在做什么错。

相关问题