<p dir="ltr">This can be implemenred using freeswitch.<br>
Ping me directly after you install freeswith on linux and configure ssh remote access</p>
<br><div class="gmail_quote"><div dir="ltr">вт, 19 сент. 2017 г., 6:27 赵国杰 <<a href="mailto:zhaoguojie2010@163.com">zhaoguojie2010@163.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Thanks Daniel,</div><div> I've done some digging, and from Andrew Prokop's blog, it says this envolves early midia. Usually this is done by reply a 183 to the caller with media ip and port in the SDP. This makes sense but i still have no idea how to generate 183 response with embedded SDP.</div></div><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><br><div style="zoom:1"><br><div style="clear:both"></div></div><div id="m_4331241580758290794divNeteaseMailCard"></div><br><pre><br>At 2017-09-18 18:05:46, "Daniel Tryba" <<a href="mailto:d.tryba@pocos.nl" target="_blank">d.tryba@pocos.nl</a>> wrote:
>On Mon, Sep 18, 2017 at 03:37:22PM +0800, 赵国杰 wrote:
>> I want the caller to play a short audio(like "the number your are calling is busy") when the callee declines the call. How can i do that?
>
>You need to check for the status codes in a failure route and then
>somehow generate audio somewhere, which is out of the scope of kamailio
>(maybe rtpproxy can do this, otherwise use something like asterisk):
>
>failure_route[MANAGE_FAILURE] {
>if (t_check_status("486"))
>{
> $du=null;
> $ru="<a href="mailto:busymessage@asterisk.example.org" target="_blank">busymessage@asterisk.example.org</a>";
> route(RELAY);
> exit;
>}
>
>_______________________________________________
>Kamailio (SER) - Users Mailing List
><a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>
><a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre></div><br><br><span title="neteasefooter"><p> </p></span>_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>