<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><br><div style="position:relative;zoom:1">Hello,<div style="clear:both"></div></div><div style="position:relative;zoom:1">   No luck. Still the same. Here goes the full log, sorry if it's a little overwhelming</div><div style="position:relative;zoom:1"><br></div><div style="position:relative;zoom:1"><div style="position:relative;zoom:1">------------------------------------------------------------------------</div><div style="position:relative;zoom:1">   INVITE sip:prompt-1000@10.240.0.90:5095 SIP/2.0</div><div style="position:relative;zoom:1">   Record-Route: <sip:35.202.167.70:5060;r2=on;lr;nat=yes></div><div style="position:relative;zoom:1">   Record-Route: <sip:35.202.167.70:5061;transport=tls;r2=on;lr;nat=yes></div><div style="position:relative;zoom:1">   Via: SIP/2.0/UDP 35.202.167.70:5060;branch=z9hG4bK04d4.2c5c86a459371d838623651e8f5b6984.0;i=1</div><div style="position:relative;zoom:1">   Via: SIP/2.0/TLS 10.60.208.121:43603;received=175.100.202.254;rport=33189;branch=z9hG4bKPj4dLalct0388uwB380xv2U0w0JRcTLD9Y;alias</div><div style="position:relative;zoom:1">   Max-Forwards: 69</div><div style="position:relative;zoom:1">   From: <sip:13112345678@35.202.167.70>;tag=MW06SkJdOZIiqvT4T9DFn0X5QazXW6BB</div><div style="position:relative;zoom:1">   To: <sip:12345@35.202.167.70></div><div style="position:relative;zoom:1">   Contact: <sip:13112345678@175.100.202.254:33189;transport=TLS;ob;alias=175.100.202.254~33189~3></div><div style="position:relative;zoom:1">   Call-ID: 8-vmGoxxMxWlb.xQ-VwWyCQ-xnqxNwVe</div><div style="position:relative;zoom:1">   CSeq: 21643 INVITE</div><div style="position:relative;zoom:1">   Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS</div><div style="position:relative;zoom:1">   Supported: replaces, 100rel, timer, norefersub</div><div style="position:relative;zoom:1">   Session-Expires: 1800</div><div style="position:relative;zoom:1">   Min-SE: 90</div><div style="position:relative;zoom:1">   User-Agent: CSipSimple_HWNXT-24/r2457</div><div style="position:relative;zoom:1">   Content-Type: application/sdp</div><div style="position:relative;zoom:1">   Content-Length:   515</div><div style="position:relative;zoom:1">   </div><div style="position:relative;zoom:1">   v=0</div><div style="position:relative;zoom:1">   o=- 3715057398 3715057398 IN IP4 35.185.130.154</div><div style="position:relative;zoom:1">   s=pjmedia</div><div style="position:relative;zoom:1">   c=IN IP4 35.185.130.154</div><div style="position:relative;zoom:1">   t=0 0</div><div style="position:relative;zoom:1">   m=audio 40026 RTP/AVP 9 8 0 106 101</div><div style="position:relative;zoom:1">   c=IN IP4 35.185.130.154</div><div style="position:relative;zoom:1">   a=rtcp:40027</div><div style="position:relative;zoom:1">   a=sendrecv</div><div style="position:relative;zoom:1">   a=rtpmap:9 G722/8000</div><div style="position:relative;zoom:1">   a=rtpmap:8 PCMA/8000</div><div style="position:relative;zoom:1">   a=rtpmap:0 PCMU/8000</div><div style="position:relative;zoom:1">   a=rtpmap:106 speex/16000</div><div style="position:relative;zoom:1">   a=rtpmap:101 telephone-event/8000</div><div style="position:relative;zoom:1">   a=fmtp:101 0-16</div><div style="position:relative;zoom:1">   a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:BrFCcbuKqPea6vy8L9Imh6dqhorYovx1RdXKlLsP</div><div style="position:relative;zoom:1">   a=crypto:2 AES_CM_128_HMAC_SHA1_32 inline:9iwM/BpOGlSBK115waMNkpamPBj6prelcsjywL+M</div><div style="position:relative;zoom:1">   a=nortpproxy:yes</div><div style="position:relative;zoom:1">   ------------------------------------------------------------------------</div><div style="position:relative;zoom:1">send 664 bytes to udp/[10.240.0.90]:5060 at 08:23:19.816105:</div><div style="position:relative;zoom:1">   ------------------------------------------------------------------------</div><div style="position:relative;zoom:1">   SIP/2.0 100 Trying</div><div style="position:relative;zoom:1">   Via: SIP/2.0/UDP 35.202.167.70:5060;branch=z9hG4bK04d4.2c5c86a459371d838623651e8f5b6984.0;i=1;received=10.240.0.90</div><div style="position:relative;zoom:1">   Via: SIP/2.0/TLS 10.60.208.121:43603;received=175.100.202.254;rport=33189;branch=z9hG4bKPj4dLalct0388uwB380xv2U0w0JRcTLD9Y;alias</div><div style="position:relative;zoom:1">   Record-Route: <sip:35.202.167.70:5060;r2=on;lr;nat=yes></div><div style="position:relative;zoom:1">   Record-Route: <sip:35.202.167.70:5061;transport=tls;r2=on;lr;nat=yes></div><div style="position:relative;zoom:1">   From: <sip:13112345678@35.202.167.70>;tag=MW06SkJdOZIiqvT4T9DFn0X5QazXW6BB</div><div style="position:relative;zoom:1">   To: <sip:12345@35.202.167.70></div><div style="position:relative;zoom:1">   Call-ID: 8-vmGoxxMxWlb.xQ-VwWyCQ-xnqxNwVe</div><div style="position:relative;zoom:1">   CSeq: 21643 INVITE</div><div style="position:relative;zoom:1">   User-Agent: FreeSWITCH-mod_sofia/1.4.26+git~20160205T175853Z~ca9207aa32~64bit</div><div style="position:relative;zoom:1">   Content-Length: 0</div><div style="position:relative;zoom:1">   </div><div style="position:relative;zoom:1">   ------------------------------------------------------------------------</div><div style="position:relative;zoom:1">2017-09-22 08:23:19.787973 [NOTICE] switch_channel.c:1077 New Channel sofia/internal/13112345678@35.202.167.70 [df38887c-8832-42f5-828d-ac89eb6ccf78]</div><div style="position:relative;zoom:1">2017-09-22 08:23:19.787973 [INFO] mod_dialplan_xml.c:635 Processing 13112345678 <13112345678>->prompt-1000 in context public</div><div style="position:relative;zoom:1">2017-09-22 08:23:19.787973 [NOTICE] switch_ivr.c:1863 Transfer sofia/internal/13112345678@35.202.167.70 to XML[prompt-1000@default]</div><div style="position:relative;zoom:1">2017-09-22 08:23:19.787973 [INFO] mod_dialplan_xml.c:635 Processing 13112345678 <13112345678>->prompt-1000 in context default</div><div style="position:relative;zoom:1">2017-09-22 08:23:19.787973 [CRIT] mod_dptools.c:1670 WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING </div><div style="position:relative;zoom:1">2017-09-22 08:23:19.787973 [CRIT] mod_dptools.c:1670 Open /usr/local/freeswitch/conf/vars.xml and change the default_password.</div><div style="position:relative;zoom:1">2017-09-22 08:23:19.787973 [CRIT] mod_dptools.c:1670 Once changed type 'reloadxml' at the console.</div><div style="position:relative;zoom:1">2017-09-22 08:23:19.787973 [CRIT] mod_dptools.c:1670 WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING </div><div style="position:relative;zoom:1">2017-09-22 08:23:29.847976 [ERR] switch_core_media.c:3547 a=crypto in RTP/AVP, refer to rfc3711</div><div style="position:relative;zoom:1">2017-09-22 08:23:29.847976 [NOTICE] switch_channel.c:3752 Hangup sofia/internal/13112345678@35.202.167.70 [CS_EXECUTE] [INCOMPATIBLE_DESTINATION]</div><div style="position:relative;zoom:1">send 1081 bytes to udp/[10.240.0.90]:5060 at 08:23:29.858628:</div><div style="position:relative;zoom:1">   ------------------------------------------------------------------------</div><div style="position:relative;zoom:1">   SIP/2.0 488 Not Acceptable Here</div><div style="position:relative;zoom:1">   Via: SIP/2.0/UDP 35.202.167.70:5060;branch=z9hG4bK04d4.2c5c86a459371d838623651e8f5b6984.0;i=1;received=10.240.0.90</div><div style="position:relative;zoom:1">   Via: SIP/2.0/TLS 10.60.208.121:43603;received=175.100.202.254;rport=33189;branch=z9hG4bKPj4dLalct0388uwB380xv2U0w0JRcTLD9Y;alias</div><div style="position:relative;zoom:1">   Max-Forwards: 68</div><div style="position:relative;zoom:1">   From: <sip:13112345678@35.202.167.70>;tag=MW06SkJdOZIiqvT4T9DFn0X5QazXW6BB</div><div style="position:relative;zoom:1">   To: <sip:12345@35.202.167.70>;tag=3N0c8m5X06NBj</div><div style="position:relative;zoom:1">   Call-ID: 8-vmGoxxMxWlb.xQ-VwWyCQ-xnqxNwVe</div><div style="position:relative;zoom:1">   CSeq: 21643 INVITE</div><div style="position:relative;zoom:1">   User-Agent: FreeSWITCH-mod_sofia/1.4.26+git~20160205T175853Z~ca9207aa32~64bit</div><div style="position:relative;zoom:1">   Accept: application/sdp</div><div style="position:relative;zoom:1">   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE</div><div style="position:relative;zoom:1">   Supported: timer, path, replaces</div><div style="position:relative;zoom:1">   Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer</div><div style="position:relative;zoom:1">   Reason: Q.850;cause=88;text="INCOMPATIBLE_DESTINATION"</div><div style="position:relative;zoom:1">   Content-Length: 0</div><div style="position:relative;zoom:1">   Remote-Party-ID: "prompt-1000" <sip:prompt-1000@35.202.167.70>;party=calling;privacy=off;screen=no</div><div style="position:relative;zoom:1">   </div><div style="position:relative;zoom:1">   ------------------------------------------------------------------------</div><div style="position:relative;zoom:1">2017-09-22 08:23:29.847976 [NOTICE] switch_core_session.c:1642 Session 1 (sofia/internal/13112345678@35.202.167.70) Ended</div><div style="position:relative;zoom:1">2017-09-22 08:23:29.847976 [NOTICE] switch_core_session.c:1646 Close Channel sofia/internal/13112345678@35.202.167.70 [CS_DESTROY]</div><div style="position:relative;zoom:1">recv 365 bytes from udp/[10.240.0.90]:5060 at 08:23:29.859597:</div><div style="position:relative;zoom:1">   ------------------------------------------------------------------------</div><div style="position:relative;zoom:1">   ACK sip:prompt-1000@10.240.0.90:5095 SIP/2.0</div><div style="position:relative;zoom:1">   Via: SIP/2.0/UDP 35.202.167.70:5060;branch=z9hG4bK04d4.2c5c86a459371d838623651e8f5b6984.0;i=1</div><div style="position:relative;zoom:1">   Max-Forwards: 69</div><div style="position:relative;zoom:1">   From: <sip:13112345678@35.202.167.70>;tag=MW06SkJdOZIiqvT4T9DFn0X5QazXW6BB</div><div style="position:relative;zoom:1">   To: <sip:12345@35.202.167.70>;tag=3N0c8m5X06NBj</div><div style="position:relative;zoom:1">   Call-ID: 8-vmGoxxMxWlb.xQ-VwWyCQ-xnqxNwVe</div><div style="position:relative;zoom:1">   CSeq: 21643 ACK</div><div style="position:relative;zoom:1">   Content-Length: 0</div><div style="position:relative;zoom:1">   </div><div style="position:relative;zoom:1">   ------------------------------------------------------------------------</div><div><br></div></div><div id="divNeteaseMailCard"></div><br>At 2017-09-22 16:14:37, "Jurijs Ivolga" <jurijs.ivolga@gmail.com> wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div dir="ltr"><div><div>Hi,<br><br></div>You need to answer call too...<br><br></div>Try this:<br><br><span class="gmail-im"><div><b> in freeswitch/conf/dialplan/defau<wbr></wbr>lt.xml</b><br></div><div>    <extension name="prompt-offline"></div><div>      <condition field="destination_number" expression="^prompt-(.+)$"></div></span><span class="gmail-im"><div><pre><action application="answer"/></pre></div><div>        <action application="playback" data="ivr/ivr-user_busy.wav"/></div><div>      </condition></div><div>    </extension></div></span><pre>Please send full logs next time, you can remove IP-addresses and other info, but one line is not really helpful.<br></pre><pre>With kind regards,<br></pre></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Jurijs<br></div></div></div>
<br><div class="gmail_quote">On Fri, Sep 22, 2017 at 11:00 AM, Jurijs Ivolga <span dir="ltr"><<a href="mailto:jurijs.ivolga@gmail.com" target="_blank">jurijs.ivolga@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"><div><div>Hi,<br><br></div>You probably don't need record route and you need to remove "<action application="bridge" data="user/$1@${domain_name}"/<wbr></wbr>>"<br><br></div>Try in this way:<span class=""><br><br>  <b>In kamailio.cfg</b> I added <span class="m_6443263287831640161gmail-im">    if ($rU=="12345") {<div>                if(is_method("INVITE")) {</div></span><div>                        #record_route();</div><div>                        $ru = "sip:prompt-1000@" + $sel(cfg_get.voicemail.srv_ip)</div><span class="m_6443263287831640161gmail-im"><div>                                        + ":" + $sel(cfg_get.voicemail.srv_por<wbr></wbr>t);</div><div>                        route(RELAY);</div><div>                        exit;</div><div>                }</div><div>        }</div><div><br></div></span><div><b> in freeswitch/conf/dialplan/defau<wbr></wbr>lt.xml</b>, i added</div><div>    <extension name="prompt-offline"></div><div>      <condition field="destination_number" expression="^prompt-(.+)$"></div></span><span class=""><div>        <action application="playback" data="ivr/ivr-user_busy.wav"/></div><div>      </condition></div><div>    </extension></div></span></div><div class="gmail_extra"><span class="HOEnZb"><font color="#888888"><br clear="all"><div><div class="m_6443263287831640161gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Jurijs<br></div></div></div></font></span><div><div class="h5">
<br><div class="gmail_quote">On Fri, Sep 22, 2017 at 10:54 AM, 赵国杰 <span dir="ltr"><<a href="mailto:zhaoguojie2010@163.com" target="_blank">zhaoguojie2010@163.com</a>></span> wrote:<br><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>Hi guy.</div><div>   sorry for the confusion. I'll try to reorganize it.</div><div><br></div><div>  <b> In kamailio.cfg</b> I added </div><span>    if ($rU=="12345") {<div>                if(is_method("INVITE")) {</div></span><div>                        #record_route();</div><div>                        $ru = "sip:prompt-1000@" + $sel(cfg_get.voicemail.srv_ip)</div><span><div>                                        + ":" + $sel(cfg_get.voicemail.srv_por<wbr></wbr>t);</div><div>                        route(RELAY);</div><div>                        exit;</div><div>                }</div><div>        }</div><div><br></div></span><div><b> in freeswitch/conf/dialplan/defau<wbr></wbr>lt.xml</b>, i added</div><div>    <extension name="prompt-offline"></div><div>      <condition field="destination_number" expression="^prompt-(.+)$"></div><div>        <action application="bridge" data="user/$1@${domain_name}"/<wbr></wbr>> </div><div>        <action application="playback" data="ivr/ivr-user_busy.wav"/></div><div>      </condition></div><div>    </extension></div><div><br></div><div><b>sofia log:</b></div><div>   [NOTICE] switch_channel.c:1077 New Channel sofia/internal/<a href="mailto:13112345678@35.202.167.70" target="_blank">13112345678@35.<wbr></wbr>202.167.70</a> [848d0dd5-0513-41bd-982c-45a2a<wbr></wbr>886e194]</div><div>   [INFO] mod_dialplan_xml.c:635 Processing 13112345678 <13112345678>->prompt-1000 in context public</div><div>   [NOTICE] switch_ivr.c:1863 Transfer sofia/internal/<a href="mailto:13112345678@35.202.167.70" target="_blank">13112345678@35.<wbr></wbr>202.167.70</a> to XML[prompt-1000@default]</div><div>   [INFO] mod_dialplan_xml.c:635 Processing 13112345678 <13112345678>->prompt-1000 in context default</div><div>   [NOTICE] switch_ivr_originate.c:2759 Cannot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED]</div><div>   [NOTICE] switch_ivr_originate.c:2759 Cannot create outgoing channel of type [user] cause: [USER_NOT_REGISTERED]</div><div>   -----------------------------<wbr></wbr>------------------------------<wbr></wbr>-------------</div><div>   SIP/2.0 480 Temporarily Unavailable</div><div>   ......</div><span><div>   Reason: SIP;cause=606;text="USER_NOT_R<wbr></wbr>EGISTERED"</div><div> </div></span><div>   -----------------------------<wbr></wbr>------------------------------<wbr></wbr>-------------</div><div><br></div><div>However, if i delete: </div><div>    <action application="bridge" data="user/$1@${domain_name}"/<wbr></wbr>>, </div><div>the FS returns 488 instead of 480.  Reason: Q.850;cause=88;text="INCOMPATI<wbr></wbr>BLE_DESTINATION"</div><div><br></div><div>Thanks</div><div><div class="m_6443263287831640161h5"><br><br><div style="zoom:1"><br><div style="clear:both"></div></div><div id="m_6443263287831640161m_-708648399436793423divNeteaseMailCard"></div><br>At 2017-09-22 15:31:51, "Jurijs Ivolga" <<a href="mailto:jurijs.ivolga@gmail.com" target="_blank">jurijs.ivolga@gmail.com</a>> wrote:<br> <blockquote id="m_6443263287831640161m_-708648399436793423isReplyContent" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid"><div dir="ltr"><div>Hi,<br><br></div>You need to add:<br><br> <extension name="prompt-offline"><div>      <condition field="destination_number" expression="^offline$"></div><div>        <action application="playback" data="/usr/local/freeswitch/so<wbr></wbr>unds/music/8000/suite-espanola<wbr></wbr>-op-47-leyenda.wav"/></div><div>      </condition></div><div>    </extension></div><div><br></div><div>to conf/dialplan/default.xml</div><div><br></div><div>in your code, you had extra line what was sending a call to 1000 extension.</div><div><br></div><div>With kind regards,<br> </div></div><div class="gmail_extra"><br clear="all"><div><div class="m_6443263287831640161m_-708648399436793423gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Jurijs<br></div></div></div>
<br><div class="gmail_quote">On Fri, Sep 22, 2017 at 10:29 AM, Jurijs Ivolga <span dir="ltr"><<a href="mailto:jurijs.ivolga@gmail.com" target="_blank">jurijs.ivolga@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"><div><div><div>Hi,<br><br></div>So, problem is not related to record route but to config of freeswitch.<br><br></div>Not sure what you wrote in mail above, but you need to add code what provided Sergey to:<br><br>/usr/local/freeswitch/conf/dia<wbr></wbr>lplan/default.xml<br><br></div>With kind regards,<br></div><div class="gmail_extra"><br clear="all"><div><div class="m_6443263287831640161m_-708648399436793423m_7779597255247997575gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Jurijs<br></div></div></div><div><div class="m_6443263287831640161m_-708648399436793423h5">
<br><div class="gmail_quote">On Fri, Sep 22, 2017 at 10:11 AM, 赵国杰 <span dir="ltr"><<a href="mailto:zhaoguojie2010@163.com" target="_blank">zhaoguojie2010@163.com</a>></span> wrote:<br><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>Hello,</div><div>    Thanks for the heads up. The siptrace does help.</div><div>    Now the FS returns(with or without record_route();): </div><div>      SIP/2.0 480 Temporarily Unavailable</div><div>      Reason: SIP;cause=606;text="USER_NOT_R<wbr></wbr>EGISTERED"</div><div>    </div><div>   I have generate offline.xml under conf/directory/default. Where did i miss?</div><div><br></div><div>Thanks</div><div><div class="m_6443263287831640161m_-708648399436793423m_7779597255247997575h5"><br><br><br><div style="zoom:1"><br><div style="clear:both"></div></div><div id="m_6443263287831640161m_-708648399436793423m_7779597255247997575m_-8376647743214591670divNeteaseMailCard"></div><br>At 2017-09-22 14:53:06, "Jurijs Ivolga" <<a href="mailto:jurijs.ivolga@gmail.com" target="_blank">jurijs.ivolga@gmail.com</a>> wrote:<br> <blockquote id="m_6443263287831640161m_-708648399436793423m_7779597255247997575m_-8376647743214591670isReplyContent" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid"><div dir="ltr"><div>Hi,<br><br></div>Sip trace from Freeswitch will help, but I think you need to insert Record-Route, try in following way:<br><br>if ($rU=="12345") {<div>                if(is_method("INVITE")) {</div><div>                        record_route()<span class="m_6443263287831640161m_-708648399436793423m_7779597255247997575m_-8376647743214591670gmail-pl-c"><span class="m_6443263287831640161m_-708648399436793423m_7779597255247997575m_-8376647743214591670gmail-pl-c">;</span></span></div><div>                        $ru = "sip:" + "offline" + "@" + $sel(cfg_get.voicemail.srv_ip)</div><div>                                        + ":" + $sel(cfg_get.voicemail.srv_por<wbr></wbr>t);</div><div>                        route(RELAY);</div><div>                        exit;</div><div>                }</div><div>        }</div><div><br></div><div>With kind regards,<br></div></div><div class="gmail_extra"><br clear="all"><div><div class="m_6443263287831640161m_-708648399436793423m_7779597255247997575m_-8376647743214591670gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Jurijs<br></div></div></div>
<br><div class="gmail_quote">On Fri, Sep 22, 2017 at 7:19 AM, 赵国杰 <span dir="ltr"><<a href="mailto:zhaoguojie2010@163.com" target="_blank">zhaoguojie2010@163.com</a>></span> wrote:<br><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 style="zoom:1">Hello <div style="clear:both"></div></div><div style="zoom:1">    I added below code to let kamailio route invite to freeswitch:</div><div style="zoom:1">    if ($rU=="12345") {</div><div style="zoom:1">                if(is_method("INVITE")) {</div><div style="zoom:1">                        $ru = "sip:" + "offline" + "@" + $sel(cfg_get.voicemail.srv_ip)</div><div style="zoom:1">                                        + ":" + $sel(cfg_get.voicemail.srv_por<wbr></wbr>t);</div><div style="zoom:1">                        route(RELAY);</div><div style="zoom:1">                        exit;</div><div style="zoom:1">                }</div><div style="zoom:1">        }</div><div style="zoom:1"><br></div><div style="zoom:1">      in freeswitch dialplan/default.xml, i added</div><div style="zoom:1">     <extension name="prompt-offline"></div><div style="zoom:1">      <condition field="destination_number" expression="^offline$"></div><div style="zoom:1">        <action application="bridge" data="user/1000@${domain_name}<wbr></wbr>"/></div><div style="zoom:1">        <action application="playback" data="/usr/local/freeswitch/so<wbr></wbr>unds/music/8000/suite-espanola<wbr></wbr>-op-47-leyenda.wav"/></div><div style="zoom:1">      </condition></div><div style="zoom:1">    </extension></div><div style="zoom:1"><br></div><div style="zoom:1">when i dialed 12345 on sip client, I can see the invite package to freeswitch, and that's it. No package coming back from freeswitch. Eventually, the sip client timeout. I</div><div style="zoom:1">was hoping that when i dial 12345, "suite-espanola-op-47-leyenda.<wbr></wbr>wav" will be played. What did i do wrong?</div><div style="zoom:1"><br></div><div style="zoom:1">Thanks</div><div><div class="m_6443263287831640161m_-708648399436793423m_7779597255247997575m_-8376647743214591670h5"><div id="m_6443263287831640161m_-708648399436793423m_7779597255247997575m_-8376647743214591670m_-5606544910387386882divNeteaseMailCard"></div><br>At 2017-09-20 19:32:14, "Sergey Safarov" <<a href="mailto:s.safarov@gmail.com" target="_blank">s.safarov@gmail.com</a>> wrote:<br> <blockquote id="m_6443263287831640161m_-708648399436793423m_7779597255247997575m_-8376647743214591670m_-5606544910387386882isReplyContent" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid"><div dir="ltr">You can add this example to dialplan and make test<div><br></div><div><div><font face="monospace">    <extension name="call_user"></font></div><div><font face="monospace">      <condition></font></div><div><font face="monospace">        <action application="set" data="continue_on_fail=NORMAL_<wbr></wbr>TEMPORARY_FAILURE,USER_BUSY,NO<wbr></wbr>_ROUTE_DESTINATION,SUBSCRIBER_<wbr></wbr>ABSENT"/></font></div><div><font face="monospace">        <action application="bridge" data="user/<a href="mailto:3000@example.org" target="_blank">3000@example.org</a>"/></font></div><div><font face="monospace">        <action application="playback" data="ivr/ivr-user_busy.wav"/></font></div><div><font face="monospace">      </condition></font></div><div><font face="monospace">    </extension></font></div></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">ср, 20 сент. 2017 г. в 10:14, 赵国杰 <<a href="mailto:zhaoguojie2010@163.com" target="_blank">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>Hello Sergey,</div><div>     I installed freeswitch, what should i do next?</div></div><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><br><br><br><div style="zoom:1"><br><div style="clear:both"></div></div><div id="m_6443263287831640161m_-708648399436793423m_7779597255247997575m_-8376647743214591670m_-5606544910387386882m_2085783873288216747divNeteaseMailCard"></div><br>At 2017-09-19 12:07:23, "Sergey Safarov" <<a href="mailto:s.safarov@gmail.com" target="_blank">s.safarov@gmail.com</a>> wrote:<br> <blockquote id="m_6443263287831640161m_-708648399436793423m_7779597255247997575m_-8376647743214591670m_-5606544910387386882m_2085783873288216747isReplyContent" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid"><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" target="_blank">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_6443263287831640161m_-708648399436793423m_7779597255247997575m_-8376647743214591670m_-5606544910387386882m_2085783873288216747m_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.exam<wbr></wbr>ple.org</a>";
>  route(RELAY);
>  exit;
>}
>
>_____________________________<wbr></wbr>__________________
>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/cg<wbr></wbr>i-bin/mailman/listinfo/sr-user<wbr></wbr>s</a>
</pre></div><br><br><span title="neteasefooter"><p> </p></span>______________________________<wbr></wbr>_________________<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<wbr></wbr>-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>
</blockquote></div><br><br><span title="neteasefooter"><p> </p></span>______________________________<wbr></wbr>_________________<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<wbr></wbr>-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>
</blockquote></div></div></div><br><br><span title="neteasefooter"><p> </p></span><br>______________________________<wbr></wbr>_________________<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<wbr></wbr>-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>
</blockquote></div></div></div><br><br><span title="neteasefooter"><p> </p></span><br>______________________________<wbr></wbr>_________________<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<wbr></wbr>-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div></div></div>
</blockquote></div><br></div>
</blockquote></div></div></div><br><br><span title="neteasefooter"><p> </p></span><br>______________________________<wbr></wbr>_________________<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<wbr></wbr>-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div></div></div>
</blockquote></div><br></div>
</blockquote></div><br><br><span title="neteasefooter"><p> </p></span>