[asterisk-bugs] [Asterisk 0015071]: Cannot make or receive mobile calls.

Asterisk Bug Tracker noreply at bugs.digium.com
Mon May 11 03:00:13 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=15071 
====================================================================== 
Reported By:                ughnz
Assigned To:                mnicholson
====================================================================== 
Project:                    Asterisk
Issue ID:                   15071
Category:                   Addons/chan_mobile
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.1.0 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-05-08 20:32 CDT
Last Modified:              2009-05-11 03:00 CDT
====================================================================== 
Summary:                    Cannot make or receive mobile calls.
Description: 
Asterisk will connect to the mobile phone but when attempt to make an
outgoing call the phone will dial, but when the remote party answers the
cellphone will switch to "normal profile" and activate the handsfree mode.
Asterisk will report all channels are busy. 

Incoming calls are not answered.

No issue with addons 1.6.1.0 patched with audio1.diff
====================================================================== 

---------------------------------------------------------------------- 
 (0104516) ughnz (reporter) - 2009-05-11 03:00
 http://bugs.digium.com/view.php?id=15071#c104516 
---------------------------------------------------------------------- 
Here is a debug dump of the phone init:
[May 11 18:06:46] VERBOSE[14209] chan_mobile.c:     -- Bluetooth Device
TRUNK has connected, initilizing...
[May 11 18:06:46] DEBUG[14258] chan_mobile.c: rfcomm_write() (12)
[AT+BRSF=4
]
[May 11 18:06:46] DEBUG[14258] chan_mobile.c: [TRUNK] +BRSF: 491
[May 11 18:06:46] DEBUG[14258] chan_mobile.c: [TRUNK] OK
[May 11 18:06:46] DEBUG[14258] chan_mobile.c: [TRUNK] BSRF sent
successfully
[May 11 18:06:46] DEBUG[14258] chan_mobile.c: rfcomm_write() (12)
[AT+CIND=?
]
[May 11 18:06:46] DEBUG[14258] chan_mobile.c: [TRUNK] +CIND:
("service",(0,1)),("call",(0,1)),("callsetup",(0-3)),("signal",(0-5)),("battchg",(0-5)),("roam",(0,1)),("callheld",(0-2))
[May 11 18:06:46] DEBUG[14258] chan_mobile.c: [TRUNK] OK
[May 11 18:06:46] DEBUG[14258] chan_mobile.c: [TRUNK] CIND test sent
successfully
[May 11 18:06:46] DEBUG[14258] chan_mobile.c: rfcomm_write() (12)
[AT+CIND?
]
[May 11 18:06:46] DEBUG[14258] chan_mobile.c: [TRUNK] +CIND:
1,0,0,3,5,0,0
[May 11 18:06:46] DEBUG[14258] chan_mobile.c: [TRUNK] OK
[May 11 18:06:46] DEBUG[14258] chan_mobile.c: [TRUNK] CIND sent
successfully
[May 11 18:06:46] DEBUG[14258] chan_mobile.c: rfcomm_write() (12)
[AT+CMER=3,0,0,1
]
[May 11 18:06:46] DEBUG[14258] chan_mobile.c: [TRUNK] OK
[May 11 18:06:46] DEBUG[14258] chan_mobile.c: [TRUNK] CMER sent
successfully
[May 11 18:06:46] DEBUG[14258] chan_mobile.c: rfcomm_write() (12)
[AT+CLIP=1
]
[May 11 18:06:46] DEBUG[14258] chan_mobile.c: [TRUNK] +BSIR: 0
[May 11 18:06:46] DEBUG[14258] chan_mobile.c: [TRUNK] ignoring unknown
message: +BSIR: 0
[May 11 18:06:46] DEBUG[14258] chan_mobile.c: [TRUNK] OK
[May 11 18:06:46] DEBUG[14258] chan_mobile.c: [TRUNK] caling line
indication enabled
[May 11 18:06:46] DEBUG[14258] chan_mobile.c: rfcomm_write() (12)
[AT+VGS=15
]
[May 11 18:06:46] VERBOSE[14258] chan_mobile.c:     -- Bluetooth Device
TRUNK initialized and ready.
[May 11 18:06:46] DEBUG[14258] chan_mobile.c: [TRUNK] OK
[May 11 18:06:46] DEBUG[14258] chan_mobile.c: [TRUNK] volume level
synchronization successful
[May 11 18:06:46] DEBUG[14258] chan_mobile.c: rfcomm_write() (12)
[AT+CMGF=1
]
[May 11 18:06:47] DEBUG[14258] chan_mobile.c: [TRUNK] +CIEV: 5,3
[May 11 18:06:53] DEBUG[14258] chan_mobile.c: [TRUNK] +CIEV: 4,4

Here is a debug dump of an outgoing call:
[May 11 18:06:34] DEBUG[14256] pbx.c: Launching 'Dial'
[May 11 18:06:34] VERBOSE[14256] pbx.c:     -- Executing
[s at macro-dialout-trunk:26]
Dial("SIP/4000-0877f208",
"Mobile/TRUNK/777,300,") in new stack
[May 11 18:06:34] DEBUG[14256] rtp.c: Channel 'Mobile/TRUNK-2de5' has no
RTP, not doing anything
[May 11 18:06:34] DEBUG[14256] channel.c: Not copying variable
DIALEDTIME.
[May 11 18:06:34] DEBUG[14256] channel.c: Not copying variable
ANSWEREDTIME.
[May 11 18:06:34] DEBUG[14256] channel.c: Not copying variable
DIALEDPEERNAME.
[May 11 18:06:34] DEBUG[14256] channel.c: Not copying variable
DIALEDPEERNUMBER.
[May 11 18:06:34] DEBUG[14256] channel.c: Not copying variable
DIALSTATUS.
[May 11 18:06:34] DEBUG[14256] channel.c: Not copying variable
MACRO_DEPTH.
[May 11 18:06:34] DEBUG[14256] channel.c: Not copying variable the_num.
[May 11 18:06:34] DEBUG[14256] channel.c: Not copying variable post_num.
[May 11 18:06:34] DEBUG[14256] channel.c: Not copying variable pre_num.
[May 11 18:06:34] DEBUG[14256] channel.c: Not copying variable
MACRO_PRIORITY.
[May 11 18:06:34] DEBUG[14256] channel.c: Not copying variable
MACRO_CONTEXT.
[May 11 18:06:34] DEBUG[14256] channel.c: Not copying variable
MACRO_EXTEN.
[May 11 18:06:34] DEBUG[14256] channel.c: Not copying variable ARG1.
[May 11 18:06:34] DEBUG[14256] channel.c: Not copying variable custom.
[May 11 18:06:34] DEBUG[14256] channel.c: Not copying variable OUTNUM.
[May 11 18:06:34] DEBUG[14256] channel.c: Not copying variable
TRUNKOUTCID.
[May 11 18:06:34] DEBUG[14256] channel.c: Not copying variable
EMERGENCYCID.
[May 11 18:06:34] DEBUG[14256] channel.c: Not copying variable
USEROUTCID.
[May 11 18:06:34] DEBUG[14256] channel.c: Not copying variable DB_RESULT.
[May 11 18:06:34] DEBUG[14256] channel.c: Not copying variable
DIAL_TRUNK_OPTIONS.
[May 11 18:06:34] DEBUG[14256] channel.c: Not copying variable
OUTBOUND_GROUP.
[May 11 18:06:34] DEBUG[14256] channel.c: Not copying variable
DIAL_NUMBER.
[May 11 18:06:34] DEBUG[14256] channel.c: Not copying variable
DIAL_TRUNK.
[May 11 18:06:34] DEBUG[14256] channel.c: Not copying variable ARG4.
[May 11 18:06:34] DEBUG[14256] channel.c: Not copying variable ARG3.
[May 11 18:06:34] DEBUG[14256] channel.c: Not copying variable ARG2.
[May 11 18:06:34] DEBUG[14256] channel.c: Not copying variable AGISTATUS.
[May 11 18:06:34] DEBUG[14256] channel.c: Copying soft-transferable
variable NODEST.
[May 11 18:06:34] DEBUG[14256] channel.c: Not copying variable
REALCALLERIDNUM.
[May 11 18:06:34] DEBUG[14256] channel.c: Not copying variable
AMPUSERCID.
[May 11 18:06:34] DEBUG[14256] channel.c: Not copying variable
AMPUSERCIDNAME.
[May 11 18:06:34] DEBUG[14256] channel.c: Not copying variable AMPUSER.
[May 11 18:06:34] DEBUG[14256] channel.c: Not copying variable SIPCALLID.
[May 11 18:06:34] DEBUG[14256] channel.c: Not copying variable SIPDOMAIN.
[May 11 18:06:34] DEBUG[14256] channel.c: Not copying variable SIPURI.
[May 11 18:06:34] DEBUG[14256] chan_mobile.c: Calling TRUNK/777 on
Mobile/TRUNK-2de5
[May 11 18:06:34] DEBUG[14256] chan_mobile.c: rfcomm_write() (12)
[ATD777;
]
[May 11 18:06:34] VERBOSE[14256] app_dial.c:     -- Called TRUNK/777
[May 11 18:06:34] DEBUG[14256] channel.c: Set channel Mobile/TRUNK-2de5 to
read format g729
[May 11 18:06:34] DEBUG[14256] channel.c: Set channel SIP/4000-0877f208 to
read format slin
[May 11 18:06:34] DEBUG[14255] chan_mobile.c: [TRUNK] OK
[May 11 18:06:34] DEBUG[14255] chan_mobile.c: [TRUNK] sms text mode
enabled
[May 11 18:06:34] DEBUG[14255] chan_mobile.c: rfcomm_write() (12)
[AT+CNMI=3,1,0,0,0
]
[May 11 18:06:34] DEBUG[14255] chan_mobile.c: [TRUNK] +CIEV: 3,2
[May 11 18:06:34] VERBOSE[14255] chan_mobile.c:     -- [TRUNK] user dialed
from handset, disconnecting
[May 11 18:06:34] DEBUG[14255] chan_mobile.c: [TRUNK] device disconnected,
hanging up owner
[May 11 18:06:34] VERBOSE[14255] chan_mobile.c:     -- Bluetooth Device
TRUNK has disconnected.
[May 11 18:06:34] DEBUG[14256] channel.c: Hanging up channel
'Mobile/TRUNK-2de5'
[May 11 18:06:34] DEBUG[14256] chan_mobile.c: [TRUNK] hanging up device
[May 11 18:06:34] VERBOSE[14256] app_dial.c:   == Everyone is
busy/congested at this time (1:0/0/1)
[May 11 18:06:34] DEBUG[14256] rtp.c: Channel '<unspecified>' has no RTP,
not doing anything
[May 11 18:06:34] DEBUG[14256] app_dial.c: Exiting with
DIALSTATUS=CHANUNAVAIL. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-11 03:00 ughnz          Note Added: 0104516                          
======================================================================




More information about the asterisk-bugs mailing list