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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Nov 3 09:41:39 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:                     assigned
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:              
====================================================================== 
Date Submitted:             2009-09-16 17:20 CDT
Last Modified:              2009-11-03 09:41 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0113049) svnbot (reporter) - 2009-11-03 09:41
 https://issues.asterisk.org/view.php?id=15909#c113049 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 227166

U   branches/1.4/channels/chan_sip.c

------------------------------------------------------------------------
r227166 | file | 2009-11-03 09:41:38 -0600 (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=227166 

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




More information about the asterisk-bugs mailing list