<div dir="ltr">I has prepared draft of "transfer" endpoint. <a href="https://freeswitch.org/stash/users/safarov/repos/freeswitch-mod-radius-cdr_improvement/commits/10dcdbf5617746fd9b8d95b75aa6fd8f5c0f4723">https://freeswitch.org/stash/users/safarov/repos/freeswitch-mod-radius-cdr_improvement/commits/10dcdbf5617746fd9b8d95b75aa6fd8f5c0f4723</a><div><br></div><div>Currently it can be called like</div><div>originate user/<a href="mailto:1000@91.103.196.13">1000@91.103.196.13</a> &bridge([origination_callee_id_number=1002]transfer/1000/default)<br></div><div><br></div><div>I has some question. Please help me solve it.</div><div><ol><li>without "tech_pvt" endpoint is not working. How to remove "pickup_pvt_t";<br></li><li>how to change "pickup_endpoint_interface" to "tansfer_endpoint_interface" mod_dptools.c:4203;<br></li><li>how to enable bleg-channel reporting by mod_xml_cdr?<br></li></ol></div><div><br></div><div>Sergey</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 25, 2015 at 10:35 AM, Sergey Safarov <span dir="ltr"><<a href="mailto:s.safarov@gmail.com" target="_blank">s.safarov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I want emulate REFER message from bleg via ${dial-string}. Please help me find how to do it.<div><br></div><div>I try </div><div>1) originate sofia/internal/<a href="mailto:sip%3A1000@8.8.8.8" target="_blank">sip:1000@8.8.8.8</a> &bridge({execute_on_ring='transfer 1001 XML default'}loopback/9180/default)<br></div><div><br></div><div>2) originate sofia/internal/<a href="mailto:sip%3A1000@8.8.8.8" target="_blank">sip:1000@8.8.8.8</a> &bridge({execute_on_ring='transfer 1001 XML default'}sofia/internal/<a href="mailto:sip%3A1002@8.8.8.8" target="_blank">sip:1002@8.8.8.8</a>)<br></div><div><br></div><div>In both cases all leg hangup.</div><div><br></div><div>Also two question:</div><div>1) can be lua or other scripting language used to emulate endpoint (implement endpoint interface)?</div><div>2) how can be realized "execute_on_channel_create_failure" logic similarity "execute_on_ring".</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Sergey</div><div><br></div><div><br></div></font></span></div>
</blockquote></div><br></div>