[asterisk-bugs] [Asterisk 0015940]: IAX does not allow CALLERID(num) contain non-numbers.
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Sep 25 05:32:14 CDT 2009
The following issue has been UPDATED.
======================================================================
https://issues.asterisk.org/view.php?id=15940
======================================================================
Reported By: dimas
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 15940
Category: Channels/General
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Asterisk Version: SVN
JIRA:
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2009-09-22 19:40 CDT
Last Modified: 2009-09-25 05:32 CDT
======================================================================
Summary: IAX does not allow CALLERID(num) contain
non-numbers.
Description:
( I already explained the issue here:
http://lists.digium.com/pipermail/asterisk-dev/2009-August/039257.html )
The thing is that IAX channel driver "shrinks" (ast_shrink_phone_number)
caller number. Which was probably the good thing before. However nowadays
when you have Skype support integrated, skype names passed via
CALLERID(num) get damaged.
I believe that only drivers which know they can not pass arbitrary number
(like DAHDI for example) should do shrinking of number before sending out.
While inside Asterisk (or relayed to another Asterisk with SIP/IAX) we
should presever original number.
Obviously I can create a patch for chan_iax which removes the shrinking
because this patch is trivial. However issue may be more global and affect
other drivers so I believe it is better to hear from Digium guys first -
maybe they have another opinion about how to solve that issue or do not
consider it an issue at all :)
======================================================================
----------------------------------------------------------------------
(0111362) dimas (reporter) - 2009-09-25 05:32
https://issues.asterisk.org/view.php?id=15940#c111362
----------------------------------------------------------------------
As per email conversation with lmadsen, I'm re-opening the issue and
providing the patch which I applied to my system in order to fix the
issue...
The patch is against 1.4.26.1 but it is trivial and can be applied to any
version.
Issue History
Date Modified Username Field Change
======================================================================
2009-09-25 05:32 dimas Note Added: 0111362
2009-09-25 05:32 dimas Status closed => new
2009-09-25 05:32 dimas Resolution suspended => reopened
======================================================================
More information about the asterisk-bugs
mailing list