[asterisk-bugs] [Asterisk 0015299]: Calling with Local

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jul 9 16:38:09 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15299 
====================================================================== 
Reported By:                nikkk
Assigned To:                mnicholson
====================================================================== 
Project:                    Asterisk
Issue ID:                   15299
Category:                   Addons/chan_mobile
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Asterisk Version:           1.6.1.0 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 947 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-06-09 09:29 CDT
Last Modified:              2009-07-09 16:38 CDT
====================================================================== 
Summary:                    Calling with Local
Description: 
Calling with local option "Dial(Local/XXX...)" using chan_mobile doesn't
work.

  == Using SIP RTP CoS mark 5
    -- Executing [9003 at default:1] Dial("SIP/107-09d1e9b8",
"Local/XXXXXXXXXXX at default") in new stack
    -- Called XXXXXXXXXXX at default
    -- Executing [XXXXXXXXXXX at default:1]
Dial("Local/XXXXXXXXXXX at default-b8fe;2", "Mobile/my850/XXXXXXXXXXX,50,tr")
in new stack
[Jun  9 16:12:58] DEBUG[21781]: chan_mobile.c:903 mbl_call: Calling
my850/XXXXXXXXXXX on Mobile/my850-3619
]Jun  9 16:12:58] DEBUG[21781]: chan_mobile.c:1347 rfcomm_write_full:
rfcomm_write() (32) [ATDXXXXXXXXXXX;
    -- Called my850/XXXXXXXXXXX
    -- Local/XXXXXXXXXXX at default-b8fe;1 is ringing
[Jun  9 16:12:58] DEBUG[19514]: chan_mobile.c:1693 sco_accept: Incoming
Audio Connection from device 00:0E:59:10:51:3C MTU is 64
[Jun  9 16:12:58] DEBUG[19530]: chan_mobile.c:3430 do_monitor_phone:
[my850] OK
[Jun  9 16:12:58] DEBUG[19530]: chan_mobile.c:2982 handle_response_ok:
[my850] dial sent successfully
[Jun  9 16:12:58] DEBUG[19530]: chan_mobile.c:3430 do_monitor_phone:
[my850] +CIEV: 11,2
[Jun  9 16:12:58] DEBUG[19530]: chan_mobile.c:3182 handle_response_ciev:
[my850] outgoing call
    -- Mobile/my850-3619 is making progress passing it to
Local/XXXXXXXXXXX at default-b8fe;2
[Jun  9 16:12:58] DEBUG[21781]: chan_mobile.c:1207 do_alignment_detection:
Alignment Detection result is [0 0 0 0]
[Jun  9 16:13:05] DEBUG[19530]: chan_mobile.c:3430 do_monitor_phone:
[my850] +CIEV: 11,3
[Jun  9 16:13:05] DEBUG[19530]: chan_mobile.c:3190 handle_response_ciev:
[my850] remote alerting
    -- Mobile/my850-3619 is ringing
    -- Local/XXXXXXXXXXX at default-b8fe;1 is ringing
[Jun  9 16:13:08] DEBUG[19530]: chan_mobile.c:3430 do_monitor_phone:
[my850] +CIEV: 8,1
[Jun  9 16:13:08] DEBUG[19530]: chan_mobile.c:3145 handle_response_ciev:
[my850] remote end answered
    -- Mobile/my850-3619 answered Local/XXXXXXXXXXX at default-b8fe;2
    -- Local/XXXXXXXXXXX at default-b8fe;1 stopped sounds
    -- Local/XXXXXXXXXXX at default-b8fe;1 answered SIP/107-09d1e9b8
[Jun  9 16:13:08] DEBUG[19486]: chan_mobile.c:1128 mbl_devicestate:
Checking device state for device my850
[Jun  9 16:13:08] DEBUG[21780]: chan_mobile.c:1106 mbl_fixup: fixup
failed, no pvt on oldchan
[Jun  9 16:13:08] WARNING[21780]: channel.c:4270 ast_do_masquerade:
Channel for type 'Mobile' could not fixup channel Mobile/my850-3619
[Jun  9 16:13:08] WARNING[21780]: channel.c:2542 __ast_read: Failed to
perform masquerade
[Jun  9 16:13:08] DEBUG[21780]: chan_mobile.c:947 mbl_hangup: [my850]
hanging up device
]Jun  9 16:13:08] DEBUG[21780]: chan_mobile.c:1347 rfcomm_write_full:
rfcomm_write() (32) [AT+CHUP
  == Spawn extension (default, 9003, 1) exited non-zero on
'SIP/107-09d1e9b8'
  == Spawn extension (default, XXXXXXXXXXX, 1) exited non-zero on
'Local/XXXXXXXXXXX at default-b8fe;2'
====================================================================== 

---------------------------------------------------------------------- 
 (0107532) svnbot (reporter) - 2009-07-09 16:38
 https://issues.asterisk.org/view.php?id=15299#c107532 
---------------------------------------------------------------------- 
Repository: asterisk-addons
Revision: 990

U   branches/1.6.1/channels/chan_mobile.c

------------------------------------------------------------------------
r990 | mnicholson | 2009-07-09 16:38:09 -0500 (Thu, 09 Jul 2009) | 5 lines

Fix mbl_fixup() in chan_mobile to update newchan->tech_pvt instead of
oldchan.

(closes issue https://issues.asterisk.org/view.php?id=15299)
Reported by: nikkk

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk-addons?view=rev&revision=990 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-09 16:38 svnbot         Checkin                                      
2009-07-09 16:38 svnbot         Note Added: 0107532                          
======================================================================




More information about the asterisk-bugs mailing list