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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Sep 17 14:40:40 CDT 2009


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15909 
====================================================================== 
Reported By:                kobaz
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15909
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.0.15 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-09-16 17:20 CDT
Last Modified:              2009-09-17 14:40 CDT
====================================================================== 
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.
====================================================================== 

---------------------------------------------------------------------- 
 (0110885) lmadsen (administrator) - 2009-09-17 14:40
 https://issues.asterisk.org/view.php?id=15909#c110885 
---------------------------------------------------------------------- 
Additionally, can you provide which version this started to happen in? If
not a previous version, then let me know so I can mark this as a regression
if necessary. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-17 14:40 lmadsen        Note Added: 0110885                          
2009-09-17 14:40 lmadsen        Severity                 block => minor      
======================================================================




More information about the asterisk-bugs mailing list