[asterisk-bugs] [Asterisk 0015909]: When no callerid is recieved, cannot override callerid

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Nov 3 09:43:21 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15909 
====================================================================== 
Reported By:                kobaz
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   15909
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           1.6.0.15 
JIRA:                       SWP-217 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-09-16 17:20 CDT
Last Modified:              2009-11-03 09:43 CST
====================================================================== 
Summary:                    When no callerid is recieved, cannot override
callerid
Description: 
Dialplan:
  _233X => {
    Wait(.75);
    NoOp(CALL FROM: ${CALLERID(name)} <${CALLERID(num)}> To: ${EXTEN});

    Set(CALLERID(name)=foo);
    NoOp(${STRFTIME(,,%s)} -- CallerID: ${CALLERID(name)});
    Dial(SIP/209);
  }

Asterisk Log with no callerid:
[Sep 16 18:05:45] VERBOSE[23198] logger.c:     -- Executing
[2331 at trunkhandler_incoming:2] NoOp("DAHDI/6-1", "CALL FROM:  <> To: 2331")
in new stack
[Sep 16 18:05:45] VERBOSE[23198] logger.c:     -- Executing
[2331 at trunkhandler_incoming:3] Set("DAHDI/6-1", "CALLERID(name)=foo") in
new stack
[Sep 16 18:05:45] VERBOSE[23198] logger.c:     -- Executing
[2331 at trunkhandler_incoming:4] NoOp("DAHDI/6-1", "1253138745 -- CallerID:
foo") in new stack
[Sep 16 18:05:45] VERBOSE[23198] logger.c:     -- Executing
[2331 at trunkhandler_incoming:5] Dial("DAHDI/6-1", "SIP/209") in new stack


Log with receiving callerid:
[Sep 16 18:07:25] VERBOSE[23198] logger.c:     -- Executing
[2331 at trunkhandler_incoming:2] NoOp("DAHDI/7-1", "CALL FROM: SMITH
<5181239000> To: 2331") in new stack
[Sep 16 18:07:25] VERBOSE[23198] logger.c:     -- Executing
[2331 at trunkhandler_incoming:3] Set("DAHDI/7-1", "CALLERID(name)=foo") in
new stack
[Sep 16 18:07:25] VERBOSE[23198] logger.c:     -- Executing
[2331 at trunkhandler_incoming:4] NoOp("DAHDI/7-1", "1253138845 -- CallerID:
foo") in new stack
[Sep 16 18:07:25] VERBOSE[23198] logger.c:     -- Executing
[2331 at trunkhandler_incoming:5] Dial("DAHDI/7-1", "SIP/209") in new stack


If I get a callerid name, I can set it to anything I want, and the phone
will get it.
Without a callerid name, It doesn't matter what I set the callerid to, the
phone at SIP/209, will *always* see Unknown/Unknown as the callerid.
====================================================================== 

---------------------------------------------------------------------- 
 (0113051) svnbot (reporter) - 2009-11-03 09:43
 https://issues.asterisk.org/view.php?id=15909#c113051 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 227168

_U  branches/1.6.0/
U   branches/1.6.0/channels/chan_sip.c

------------------------------------------------------------------------
r227168 | file | 2009-11-03 09:43:20 -0600 (Tue, 03 Nov 2009) | 19 lines

Merged revisions 227167 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
  r227167 | file | 2009-11-03 11:37:08 -0400 (Tue, 03 Nov 2009) | 12 lines
  
  Merged revisions 227166 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r227166 | file | 2009-11-03 11:36:16 -0400 (Tue, 03 Nov 2009) | 5
lines
    
    Fix a bug where an RPID header could be generated with a blank
username in the URI.
    
    (closes issue https://issues.asterisk.org/view.php?id=15909)
    Reported by: kobaz
  ........
................

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-03 09:43 svnbot         Checkin                                      
2009-11-03 09:43 svnbot         Note Added: 0113051                          
======================================================================




More information about the asterisk-bugs mailing list