[asterisk-bugs] [Asterisk 0014719]: [patch] when userid is set in the user profile, the userid used by the remote device is lost

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Mar 31 09:34:33 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14719 
====================================================================== 
Reported By:                foxfire
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14719
Category:                   Channels/chan_iax2
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.19 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-03-22 05:37 CDT
Last Modified:              2009-03-31 09:34 CDT
====================================================================== 
Summary:                    [patch] when userid is set in the user profile, the
userid used by the remote device is lost
Description: 
I normaly force userid by setting the userid field in the iax.cfg or
sip.cfg. By doing so i loose the old userid defined by the client.
Let us take an example:
User jon sets up an softphone saying that his number is 333. But in the
server cfg file states that jon is 444. So 444 wins which is correct, but
neverless i would like to have an variable like for example
callerid(orignum) or something that would contain 333.
====================================================================== 

---------------------------------------------------------------------- 
 (0102467) foxfire (reporter) - 2009-03-31 09:34
 http://bugs.digium.com/view.php?id=14719#c102467 
---------------------------------------------------------------------- 
I did not supply a patch before because it is only one line , and it is
certainly not the correct way of doing so.
The var "ani" should not be used i was in a hurry so i reused it.
Anyway here is the patch. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-31 09:34 foxfire        Note Added: 0102467                          
======================================================================




More information about the asterisk-bugs mailing list