Working with Chan mobile on asterisk 11, no audio both ways

I am using asterisk 11 on raspberri pi 3, and followed the guide found on this webpage: https://jtanx.github.io/2016/02/24/using-asterisk-to-route-calls-through-mobile/

I am forwarding all incoming calls to my mobile phone to a sip account on my local network via chan_mobile.(Worked)

Also, all calls i make from sip account are dialed on phone automatically and the call goes through. (worked)
Using raspberry pi 3 with internal bluetooth
Both scenario worked but there is no audio both ways.
Raspberry pi ip address: 192.168.1.136
sip client on pc ip address: 192.168.1.137

I read articles that this may be related to bluez5 and raspberry internal bluetooth.

This is the log please check:

 == 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','','','')]

There are 2 issue here, Asterisk 11 is deprecated and chan mobile support is provided by the community not directly by the Asterisk developers, so there is less documentation

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.