[Home]

Summary:ASTERISK-14291: Calling with Local
Reporter:Nicola Turato (nikkk)Labels:
Date Opened:2009-06-09 09:29:49Date Closed:2009-07-09 16:38:42
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Addons/chan_mobile
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Calling with local option "Dial(Local/XXX...)" using chan_mobile doesn't work.

 == Using SIP RTP CoS mark 5
   -- Executing [9003@default:1] Dial("SIP/107-09d1e9b8", "Local/XXXXXXXXXXX@default") in new stack
   -- Called XXXXXXXXXXX@default
   -- Executing [XXXXXXXXXXX@default:1] Dial("Local/XXXXXXXXXXX@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@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@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@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@default-b8fe;2
   -- Local/XXXXXXXXXXX@default-b8fe;1 stopped sounds
   -- Local/XXXXXXXXXXX@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@default-b8fe;2'
Comments:By: Nicola Turato (nikkk) 2009-06-17 01:51:11

Hi mnicholson, do you confirm this issue? or is wrong placed?

By: Matthew Nicholson (mnicholson) 2009-07-09 15:33:46

I can reproduce this.  I am working on understanding the problem.

By: Digium Subversion (svnbot) 2009-07-09 16:36:11

Repository: asterisk
Revision: 205700

U   trunk/addons/chan_mobile.c

------------------------------------------------------------------------
r205700 | mnicholson | 2009-07-09 16:32:31 -0500 (Thu, 09 Jul 2009) | 5 lines

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

(closes issue ASTERISK-14291)
Reported by: nikkk

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

http://svn.digium.com/view/asterisk?view=rev&revision=205700

By: Digium Subversion (svnbot) 2009-07-09 16:36:55

Repository: asterisk-addons
Revision: 989

U   branches/1.6.2/channels/chan_mobile.c

------------------------------------------------------------------------
r989 | mnicholson | 2009-07-09 16:36:55 -0500 (Thu, 09 Jul 2009) | 5 lines

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

(closes issue ASTERISK-14291)
Reported by: nikkk

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

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

By: Digium Subversion (svnbot) 2009-07-09 16:38:09

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 ASTERISK-14291)
Reported by: nikkk

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

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

By: Digium Subversion (svnbot) 2009-07-09 16:38:42

Repository: asterisk-addons
Revision: 991

U   branches/1.6.0/channels/chan_mobile.c

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

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

(closes issue ASTERISK-14291)
Reported by: nikkk

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

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