transfer aleg via ${dial-string}
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@8.8.8.8 &bridge({execute_on_ring='transfer 1001 XML default'}loopback/9180/default) 2) originate sofia/internal/sip:1000@8.8.8.8 &bridge({execute_on_ring='transfer 1001 XML default'}sofia/internal/ sip:1002@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
I has prepared draft of "transfer" endpoint. https://freeswitch.org/stash/users/safarov/repos/freeswitch-mod-radius-cdr_i... Currently it can be called like originate user/1000@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@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@8.8.8.8 &bridge({execute_on_ring='transfer 1001 XML default'}loopback/9180/default)
2) originate sofia/internal/sip:1000@8.8.8.8 &bridge({execute_on_ring='transfer 1001 XML default'}sofia/internal/ sip:1002@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
participants (1)
-
Sergey Safarov