[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
Thu Jun 18 16:58:20 CDT 2009
The following issue has been UPDATED.
======================================================================
https://issues.asterisk.org/view.php?id=14719
======================================================================
Reported By: foxfire
Assigned To: dvossel
======================================================================
Project: Asterisk
Issue ID: 14719
Category: Channels/chan_iax2
Reproducibility: always
Severity: feature
Priority: normal
Status: closed
Asterisk Version: 1.4.19
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: no change required
Fixed in Version:
======================================================================
Date Submitted: 2009-03-22 05:37 CDT
Last Modified: 2009-06-18 16:58 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.
======================================================================
----------------------------------------------------------------------
(0106682) dvossel (administrator) - 2009-06-18 16:58
https://issues.asterisk.org/view.php?id=14719#c106682
----------------------------------------------------------------------
This can already be done in the dialplan using channel variables...
Something like Set(ORIG_CID=${CALLERID(num)}) and
Set(${CALLERID(num)=NEW_CALLER_ID}) would work. This requires letting the
dialplan take care of the callerid rather than setting it in sip.conf
though.
Since this is a feature request without a committable patch, and the
feature is possible by other means, I'm going to close the issue. Feel
free to reopen this if you can provide a patch for trunk.
Issue History
Date Modified Username Field Change
======================================================================
2009-06-18 16:58 dvossel Note Added: 0106682
2009-06-18 16:58 dvossel Status assigned => closed
2009-06-18 16:58 dvossel Resolution open => no change
required
======================================================================
More information about the asterisk-bugs
mailing list