[Freeswitch-users] Proxy Refer

Gareth Rylance gareth at rylance.me.uk
Tue May 13 20:29:18 MSD 2014


​
I have the following

A core PBX that controls call flows and selects an end target.
The core PBX hairpins the calls through a Freeswitch instance that for
example records the calls.
The targets use REFER messages to transfer calls between each other & third
parties.

Is it possible to configure the service freeswitch instance to proxy the
REFER messages back to the core PBX and not convert them into an INVITE?
So that the message flow looks like the attached picture.

The Refer message needs to be proxied in order to tear down the hairpin as
the calls are transferred.

Thanks Gareth

[image: Inline images 1]



SD Edit source for image
http://sdedit.sourceforge.net/index.html
-----------
alice:Actor "Alice"
core:core[rp] "core"
service:service[rp] "service"
t1:t1[rp] "target 1"
t2:t2[rp] "target 2"


alice:core.Invite(12345567)
core:service.Invite(12345567)
service:core.Invite(12345567)
core:t1.Invite(12345567)

t1:core.200 ok
core:service.200 ok
service:core.200 ok
core:alice.200 ok

t1:core.Refer(56789)
core:service.Refer(56789)
service:core.Refer(56789)
core:service.Invite(56789)
service:core.Invite(56789)
core:t2.Invite(56789)
--------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140513/5001e844/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Refer.png
Type: image/png
Size: 16877 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140513/5001e844/attachment-0001.png 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list