Я использую звездочку 11 и следую инструкциям на этой странице:
https://jtanx.github.io/2016/02/24/using-asterisk-to-route-calls-through-mobile/
Я пересылаю все входящие звонки на свой мобильный телефон в sip-аккаунт в моей локальной сети через chan_mobile. (Работает)
Кроме того, все звонки, которые я совершаю с sip-счета, автоматически набираются на телефоне, и звонок проходит. (работал)
Я использую Raspberry Pi 3 со встроенным Bluetooth.
Оба сценария работали, но в обоих случаях звук отсутствует.
Raspberry pi IP-адрес: 192.168.1.136
SIP-клиент на ПК IP-адрес: 192.168.1.137
Я прочитал статьи, которые могут быть связаны с bluez5 и малиновым внутренним bluetooth.
Это журнал, пожалуйста, проверьте:
== 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','','','')]