[asterisk-bugs] [LibPRI 0016700]: [patch] Limit octets received on Called Party Number and Calling Party Number

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jan 25 21:43:52 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16700 
====================================================================== 
Reported By:                alecdavis
Assigned To:                mattf
====================================================================== 
Project:                    LibPRI
Issue ID:                   16700
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
JIRA:                        
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2010-01-25 21:30 CST
Last Modified:              2010-01-25 21:43 CST
====================================================================== 
Summary:                    [patch] Limit octets received on Called Party Number
and Calling Party Number
Description: 
Currently we can change the CallerID(num) from the dialplan to be longer
than the limit.

The senario we have come across, incorrectly resubmitted the call back to
the trunk, after adding digits to the caller id. Finish up at 27 digits
long!

The call then came back to us, with a new callerid number.

When the callerid gets to more than 20, the data starts becomming corrupt,
telltale '©' character starts to appear.





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

---------------------------------------------------------------------- 
 (0117164) alecdavis (developer) - 2010-01-25 21:43
 https://issues.asterisk.org/view.php?id=16700#c117164 
---------------------------------------------------------------------- 
Console output with patch:

Connected to Asterisk SVN-trunk-r242971M currently running on test (pid =
24917)
Verbosity was 0 and is now 4
    -- Remote UNIX connection
    -- Executing [8693 at incoming:1] NoOp("DAHDI/i1/8512-1",
"callerid='8512'") in new stack
    -- Executing [8693 at incoming:2] Set("DAHDI/i1/8512-1",
"CALLERID(num)=10008512") in new stack
    -- Executing [8693 at incoming:3] Dial("DAHDI/i1/8512-1",
"DAHDI/G0/8693") in new stack
    -- Accepting call from '8512' to '8693' on channel 0/18, span 1
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called G0/8693
    -- Executing [8693 at incoming:1] NoOp("DAHDI/i1/10008512-3",
"callerid='10008512'") in new stack
    -- Executing [8693 at incoming:2] Set("DAHDI/i1/10008512-3",
"CALLERID(num)=100010008512") in new stack
    -- Executing [8693 at incoming:3] Dial("DAHDI/i1/10008512-3",
"DAHDI/G0/8693") in new stack
    -- Accepting call from '10008512' to '8693' on channel 0/19, span 1
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called G0/8693
    -- DAHDI/i1/8693-2 is proceeding passing it to DAHDI/i1/8512-1
    -- Executing [8693 at incoming:1] NoOp("DAHDI/i1/100010008512-5",
"callerid='100010008512'") in new stack
    -- Executing [8693 at incoming:2] Set("DAHDI/i1/100010008512-5",
"CALLERID(num)=1000100010008512") in new stack
    -- Executing [8693 at incoming:3] Dial("DAHDI/i1/100010008512-5",
"DAHDI/G0/8693") in new stack
    -- Accepting call from '100010008512' to '8693' on channel 0/20, span
1
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called G0/8693
    -- DAHDI/i1/8693-4 is proceeding passing it to DAHDI/i1/10008512-3
    -- Executing [8693 at incoming:1] NoOp("DAHDI/i1/1000100010008512-7",
"callerid='1000100010008512'") in new stack
    -- Executing [8693 at incoming:2] Set("DAHDI/i1/1000100010008512-7",
"CALLERID(num)=10001000100010008512") in new stack
    -- Executing [8693 at incoming:3] Dial("DAHDI/i1/1000100010008512-7",
"DAHDI/G0/8693") in new stack
    -- Accepting call from '1000100010008512' to '8693' on channel 0/21,
span 1
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called G0/8693
    -- DAHDI/i1/8693-6 is proceeding passing it to
DAHDI/i1/100010008512-5
    -- Executing [8693 at incoming:1] NoOp("DAHDI/i1/10001000100010008512-9",
"callerid='10001000100010008512'") in new stack
    -- Executing [8693 at incoming:2] Set("DAHDI/i1/10001000100010008512-9",
"CALLERID(num)=100010001000100010008512") in new stack
    -- Executing [8693 at incoming:3] Dial("DAHDI/i1/10001000100010008512-9",
"DAHDI/G0/8693") in new stack
    -- Accepting call from '10001000100010008512' to '8693' on channel
0/22, span 1
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called G0/8693
    -- DAHDI/i1/8693-8 is proceeding passing it to
DAHDI/i1/1000100010008512-7
    -- Executing [8693 at incoming:1] NoOp("DAHDI/i1/-b", "callerid=''") in
new stack
    -- Executing [8693 at incoming:2] Set("DAHDI/i1/-b",
"CALLERID(num)=1000") in new stack
    -- Executing [8693 at incoming:3] Dial("DAHDI/i1/-b", "DAHDI/G0/8693") in
new stack
    -- Accepting call from '' to '8693' on channel 0/23, span 1
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called G0/8693
    -- DAHDI/i1/8693-a is proceeding passing it to
DAHDI/i1/10001000100010008512-9
    -- Executing [8693 at incoming:1] NoOp("DAHDI/i1/1000-d",
"callerid='1000'") in new stack
    -- Executing [8693 at incoming:2] Set("DAHDI/i1/1000-d",
"CALLERID(num)=10001000") in new stack
    -- Executing [8693 at incoming:3] Dial("DAHDI/i1/1000-d",
"DAHDI/G0/8693") in new stack
    -- Accepting call from '1000' to '8693' on channel 0/24, span 1
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called G0/8693
    -- DAHDI/i1/8693-c is proceeding passing it to DAHDI/i1/-b
    -- Executing [8693 at incoming:1] NoOp("DAHDI/i1/10001000-f",
"callerid='10001000'") in new stack
    -- Executing [8693 at incoming:2] Set("DAHDI/i1/10001000-f",
"CALLERID(num)=100010001000") in new stack
    -- Executing [8693 at incoming:3] Dial("DAHDI/i1/10001000-f",
"DAHDI/G0/8693") in new stack
    -- Accepting call from '10001000' to '8693' on channel 0/1, span 1
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called G0/8693
    -- DAHDI/i1/8693-e is proceeding passing it to DAHDI/i1/1000-d
    -- Executing [8693 at incoming:1] NoOp("DAHDI/i1/100010001000-11",
"callerid='100010001000'") in new stack
    -- Executing [8693 at incoming:2] Set("DAHDI/i1/100010001000-11",
"CALLERID(num)=1000100010001000") in new stack
    -- Executing [8693 at incoming:3] Dial("DAHDI/i1/100010001000-11",
"DAHDI/G0/8693") in new stack
    -- Accepting call from '100010001000' to '8693' on channel 0/2, span
1
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called G0/8693
    -- DAHDI/i1/8693-10 is proceeding passing it to DAHDI/i1/10001000-f
    -- Executing [8693 at incoming:1] NoOp("DAHDI/i1/1000100010001000-13",
"callerid='1000100010001000'") in new stack
    -- Executing [8693 at incoming:2] Set("DAHDI/i1/1000100010001000-13",
"CALLERID(num)=10001000100010001000") in new stack
    -- Executing [8693 at incoming:3] Dial("DAHDI/i1/1000100010001000-13",
"DAHDI/G0/8693") in new stack
    -- Accepting call from '1000100010001000' to '8693' on channel 0/3,
span 1 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-25 21:43 alecdavis      Note Added: 0117164                          
======================================================================




More information about the asterisk-bugs mailing list