[asterisk-bugs] [Asterisk 0015909]: When no callerid is recieved, cannot override callerid
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Sep 22 09:18:30 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: acknowledged
Asterisk Version: 1.6.0.15
JIRA: SWP-217
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-22 09:18 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.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2009-09-22 09:18 lmadsen JIRA => SWP-217
======================================================================
More information about the asterisk-bugs
mailing list