[Freeswitch-users] Caller id when doing transfers
Michael Collins
msc at freeswitch.org
Thu Jun 11 14:21:57 PDT 2009
On Thu, Jun 11, 2009 at 2:17 PM, John Wehle <john at feith.com> wrote:
> > It appears from some limited testing that the original caller id is
> always
> > shown when the call is transfered. Is there some way to have the person
> > making the transfer show up as the caller id?
>
> To answer my own question it appears that the information is available
> in the sip_h_Referred-By variable. E.g.:
>
> <extension name="system25_park">
> <condition field="destination_number" expression="^\*5$" />
> <condition field="${sip_h_Referred-By}"
> expression="^<sip:([0-9]{4})@.*$">
>
> allows the station id making the transfer to be known when a call is
> transfered to *5. The station id can then be used to park the call in
> the proper fifo.
John,
Would you be willing to add this wonderful knowledge to the wiki? :) Let me
know if you have any questions about where/how to add it and we'll come up
with something.
-MC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090611/302d3747/attachment.html
More information about the Freeswitch-users
mailing list