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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jan 26 21:28:19 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-26 21:28 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.





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

---------------------------------------------------------------------- 
 (0117228) alecdavis (developer) - 2010-01-26 21:28
 https://issues.asterisk.org/view.php?id=16700#c117228 
---------------------------------------------------------------------- 
uploaded limit_transmit_length.diff.txt

Following q931.c:transmit_user_user() style which limits length in
accordance with Q.931 specification, also limit
transmit_calling_party_number() and transmit_called_party_number().

short console output:
    -- Remote UNIX connection
    -- Executing [8693 at incoming:1] NoOp("DAHDI/i1/8512-43",
"callerid='8512'") in new stack
    -- Executing [8693 at incoming:2] Set("DAHDI/i1/8512-43",
"CALLERID(num)=12345678512") in new stack
    -- Executing [8693 at incoming:3] Dial("DAHDI/i1/8512-43",
"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/12345678512-45",
"callerid='12345678512'") in new stack
    -- Executing [8693 at incoming:2] Set("DAHDI/i1/12345678512-45",
"CALLERID(num)=123456712345678512") in new stack
    -- Executing [8693 at incoming:3] Dial("DAHDI/i1/12345678512-45",
"DAHDI/G0/8693") in new stack
    -- Accepting call from '12345678512' to '8693' on channel 0/19, span
1
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called G0/8693
    -- DAHDI/i1/8693-44 is proceeding passing it to DAHDI/i1/8512-43
    -- Executing [8693 at incoming:1] NoOp("DAHDI/i1/123456712345678512-47",
"callerid='123456712345678512'") in new stack
    -- Executing [8693 at incoming:2] Set("DAHDI/i1/123456712345678512-47",
"CALLERID(num)=1234567123456712345678512") in new stack
    -- Executing [8693 at incoming:3] Dial("DAHDI/i1/123456712345678512-47",
"DAHDI/G0/8693") in new stack
    -- Accepting call from '123456712345678512' to '8693' on channel 0/20,
span 1
    -- Requested transfer capability: 0x00 - SPEECH
1 Truncated calling party number
    -- Called G0/8693
    -- DAHDI/i1/8693-46 is proceeding passing it to
DAHDI/i1/12345678512-45
    -- Executing [8693 at incoming:1]
NoOp("DAHDI/i1/12345671234567123456-49", "callerid='12345671234567123456'")
in new stack
    -- Executing [8693 at incoming:2] Set("DAHDI/i1/12345671234567123456-49",
"CALLERID(num)=123456712345671234567123456") in new stack
    -- Executing [8693 at incoming:3]
Dial("DAHDI/i1/12345671234567123456-49", "DAHDI/G0/8693") in new stack
    -- Accepting call from '12345671234567123456' to '8693' on channel
0/21, span 1
    -- Requested transfer capability: 0x00 - SPEECH 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-26 21:28 alecdavis      Note Added: 0117228                          
======================================================================




More information about the asterisk-bugs mailing list