Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Caller id when doing transfers


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
john at feith.com
Guest





PostPosted: Mon Jun 08, 2009 7:42 pm    Post subject: [Freeswitch-users] Caller id when doing transfers Reply with quote

Consider the following sequence:

1) Outside caller (OC) calls Ext 1001 Caller id shows OC

2) Ext 1001 transfers the call to Ext 1002 In some cases we want the
caller id to shows OC, in other
cases we want the caller id
to show Ext 1001.

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?

Our application is I want to setup an extension (*5) which automatically
places calls into a fifo corresponding to the Extension number of the
person transferring the call. This will provide park capability similar
to that of our old System 25 PBX. I'll then setup an extension (*8<fifo>)
which picks up the call at the front of the fifo "fifo".

-- John
-------------------------------------------------------------------------
| Feith Systems | Voice: 1-215-646-8000 | Email: john@feith.com |
| John Wehle | Fax: 1-215-540-5495 | |
-------------------------------------------------------------------------


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
john at feith.com
Guest





PostPosted: Thu Jun 11, 2009 4:18 pm    Post subject: [Freeswitch-users] Caller id when doing transfers Reply with quote

Quote:
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
-------------------------------------------------------------------------
| Feith Systems | Voice: 1-215-646-8000 | Email: john@feith.com |
| John Wehle | Fax: 1-215-540-5495 | |
-------------------------------------------------------------------------


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
msc at freeswitch.org
Guest





PostPosted: Thu Jun 11, 2009 4:23 pm    Post subject: [Freeswitch-users] Caller id when doing transfers Reply with quote

On Thu, Jun 11, 2009 at 2:17 PM, John Wehle <john@feith.com (john@feith.com)> wrote:
Quote:
> It appears from some limited testing that the original caller id is always
Quote:
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? Smile Let me know if you have any questions about where/how to add it and we'll come up with something.
-MC
Back to top
brian at freeswitch.org
Guest





PostPosted: Thu Jun 11, 2009 4:27 pm    Post subject: [Freeswitch-users] Caller id when doing transfers Reply with quote

It does if you do a blind transfer... if you're talking attended transfers thats a whole different ball of wax...

/b

On Jun 11, 2009, at 4:17 PM, John Wehle wrote:
Quote:
Quote:
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="^<[url=sip:(]sip:([/url][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.


Brian West
brian@freeswitch.org (brian@freeswitch.org)



-- Meet us at ClueCon! http://www.cluecon.com
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services