[Freeswitch-users] transfer aleg via ${dial-string}

Sergey Safarov s.safarov at gmail.com
Mon Apr 27 00:00:57 MSD 2015


I has prepared draft of "transfer" endpoint.
https://freeswitch.org/stash/users/safarov/repos/freeswitch-mod-radius-cdr_improvement/commits/10dcdbf5617746fd9b8d95b75aa6fd8f5c0f4723

Currently it can be called like
originate user/1000 at 91.103.196.13
&bridge([origination_callee_id_number=1002]transfer/1000/default)

I has some question. Please help me solve it.

   1. without "tech_pvt" endpoint is not working. How to remove
   "pickup_pvt_t";
   2. how to change "pickup_endpoint_interface" to
   "tansfer_endpoint_interface" mod_dptools.c:4203;
   3. how to enable bleg-channel reporting by mod_xml_cdr?


Sergey


On Sat, Apr 25, 2015 at 10:35 AM, Sergey Safarov <s.safarov at gmail.com>
wrote:

> I want emulate REFER message from bleg via ${dial-string}. Please help me
> find how to do it.
>
> I try
> 1) originate sofia/internal/sip:1000 at 8.8.8.8
>  &bridge({execute_on_ring='transfer 1001 XML default'}loopback/9180/default)
>
> 2) originate sofia/internal/sip:1000 at 8.8.8.8
>  &bridge({execute_on_ring='transfer 1001 XML default'}sofia/internal/
> sip:1002 at 8.8.8.8)
>
> In both cases all leg hangup.
>
> Also two question:
> 1) can be lua or other scripting language used to emulate endpoint
> (implement endpoint interface)?
> 2) how can be realized "execute_on_channel_create_failure" logic
> similarity "execute_on_ring".
>
> Sergey
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150426/7b1f1178/attachment.html 


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