[asterisk-bugs] [Asterisk 0014592]: [patch] export the SIP peer username of the transferer
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Sep 21 15:24:09 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=14592
======================================================================
Reported By: klaus3000
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 14592
Category: Channels/chan_sip/NewFeature
Reproducibility: have not tried
Severity: feature
Priority: normal
Status: ready for testing
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-03-03 09:42 CST
Last Modified: 2009-09-21 15:24 CDT
======================================================================
Summary: [patch] export the SIP peer username of the
transferer
Description:
Hi!
When a blind transfer is initiated from a SIP, often the name of the
transferer is needed (e.g. billing, applying restrictions ...). Currently
there is a variable called SIPTRANSFER_REFERER which contains the value of
the Refered-By header - but this variable is not trustworthy, as the SIP
client can put anything into this variable.
Attached patch adds the variables SIPTRANSFERER_PEERNAME and
SIPTRANSFERER_USERNAME which contain the respective SIP username (peer or
user)
======================================================================
----------------------------------------------------------------------
(0111098) kaii (reporter) - 2009-09-21 15:24
https://issues.asterisk.org/view.php?id=14592#c111098
----------------------------------------------------------------------
Maybe I have a fundamental misunderstanding of the channel naming scheme,
but doesn't the channel name contain the relevant peer name?
In dialplan, you can use ${CUT(BLINDTRANSFER,,1)} to strip "SIP/10" from a
channel name like "SIP/10-23cb1a".
Issue History
Date Modified Username Field Change
======================================================================
2009-09-21 15:24 kaii Note Added: 0111098
======================================================================
More information about the asterisk-bugs
mailing list