[asterisk-bugs] [Asterisk 0018894]: Asterisk-R2 outgoing calls without CallerID

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Mar 5 11:44:32 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18894 
====================================================================== 
Reported By:                malufrj
Assigned To:                moy
====================================================================== 
Project:                    Asterisk
Issue ID:                   18894
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.8.2.4 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-02-27 11:34 CST
Last Modified:              2011-03-05 11:44 CST
====================================================================== 
Summary:                    Asterisk-R2 outgoing calls without CallerID
Description: 
I am migrating my Asterisk to Asterisk 1.8.2 after long time in Asterisk
1.6. 
This update is due good echo cancel in Asterisk 1.8.

But when I did it my production system, I was alerted that outgoing calls
are without caller id. My system works with ASterisk 1.8.2 and openr2
1.3.0.

Update my openr2 to 1.3.1 and it don't change the error.
Then I saw chan_dahdi.c and I found this point: 

In sig_pri.c (to ISDN calls - don't have this error) the caller id is the
ast->connected.id.number.str and chan_dahdi.c (to R2 calls - have this
error) the caller id is the ast->caller.id.number.str .

And logging this variables, ast->caller.id.nuber.str is always EMPTY and
ast->connected.id.number.str have the corrected value of ${CALLERID(num)}.

Then I change this source and fix my system.
Of course that I would know what is motive for it.


====================================================================== 

---------------------------------------------------------------------- 
 (0132661) svnbot (reporter) - 2011-03-05 11:44
 https://issues.asterisk.org/view.php?id=18894#c132661 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 309720

U   branches/1.8/channels/chan_dahdi.c

------------------------------------------------------------------------
r309720 | moy | 2011-03-05 11:44:31 -0600 (Sat, 05 Mar 2011) | 6 lines

Fix caller id passed to openr2_chan_make_call

(closes issue https://issues.asterisk.org/view.php?id=18894)
Reported by: malufrj
Tested by: moy

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-03-05 11:44 svnbot         Checkin                                      
2011-03-05 11:44 svnbot         Note Added: 0132661                          
======================================================================




More information about the asterisk-bugs mailing list