You can add this example to dialplan and make test <extension name="call_user"> <condition> <action application="set" data="continue_on_fail=NORMAL_TEMPORARY_FAILURE,USER_BUSY,NO_ROUTE_DESTINATION,SUBSCRIBER_ABSENT"/> <action application="bridge" data="user/3...@example.org"/> <action application="playback" data="ivr/ivr-user_busy.wav"/> </condition> </extension>
ср, 20 сент. 2017 г. в 10:14, 赵国杰 <zhaoguojie2...@163.com>: > Hello Sergey, > I installed freeswitch, what should i do next? > > > > > > At 2017-09-19 12:07:23, "Sergey Safarov" <s.safa...@gmail.com> wrote: > > This can be implemenred using freeswitch. > Ping me directly after you install freeswith on linux and configure ssh > remote access > > вт, 19 сент. 2017 г., 6:27 赵国杰 <zhaoguojie2...@163.com>: > >> Thanks Daniel, >> 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. >> >> >> >> >> At 2017-09-18 18:05:46, "Daniel Tryba" <d.tr...@pocos.nl> 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="busymess...@asterisk.example.org"; >> > route(RELAY); >> > exit; >> >} >> > >> >_______________________________________________ >> >Kamailio (SER) - Users Mailing List >> >sr-users@lists.kamailio.org >> >https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >> >> >> >> >> _______________________________________________ >> Kamailio (SER) - Users Mailing List >> sr-users@lists.kamailio.org >> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >> > > > > _______________________________________________ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users