<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hi,<br>
    <br>
    the url is: <a href="http://pastebin.freeswitch.org/16463">http://pastebin.freeswitch.org/16463</a><br>
    i made a call from phone1 to phone2, the called party refused the
    call with code 603. FS received the status 603 form the called
    (softphone 2) party. Than FS sent to the calling party (softphone 1)
    the message 200 and bye.<br>
    <br>
    This is the resume of the log:<br>
    <br>
    <div>1000@localnet_ip &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; FS(ip:localnet_ip) &nbsp; &nbsp; &nbsp;
      &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; 1001<span style="font-family:
        arial; font-size: small;">@localnet_ip</span></div>
    <div><br>
    </div>
    <div><span style="font-family: monospace; font-size: medium;">
        <pre>INVITE ----------&gt;
                                     INVITE ---------------&gt;                                
&lt;-------------- trying                &lt;--------------------trying
                                     &lt;------------------  603
<span style="font-family: arial; font-size: small;"><span style="font-family: monospace; font-size: medium;"><pre>&lt;-------------- 200</pre></span></span>ACK------------------&gt;
&lt;--------------------BYE</pre>
      </span></div>
    <br>
    <br>
    <i>You said you had voicemail before... you can't send 603 back to
      the client and continue to voicemail because the 603 terminates
      the call.</i><br>
    <br>
    When the called party terminates the call before answering, the
    calling party receive e registered message like "The phone called is
    not available, leave a message ...".&nbsp; Than i found the registered
    message in freeswitch. (I'm using fusion-pbx)<br>
    <br>
    <br>
    Thanks<br>
    <br>
    Regards<br>
    <br>
    Alessandro<br>
    <br>
    <br>
    Il 08/06/2011 21:55, Steven Ayre ha scritto:
    <blockquote
      cite="mid:BANLkTim5=tvyxYJgq3AhtfMd2=NHWvQx+Q@mail.gmail.com"
      type="cite">
      <blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px
        solid rgb(204, 204, 204); padding-left: 1ex;"
        class="gmail_quote"> Question 1:<br>
        i'm developing a custom client sip with pjsip. This client when
        receive a call that can't be accepted respond with status 603. I
        think that freeswitch filter this status.<br>
      </blockquote>
      <br>
      603 gets treated fine for me. I think we need to see more
      information - can you put a debug level log of the call with
      siptrace enabled (sofia global siptrace on) on pastebin (<a
        moz-do-not-send="true" href="http://pastebin.freeswitch.org/">http://pastebin.freeswitch.org/</a>)
      and then post the url here?<br>
      <br>
      Chances are you're doing something in the dialplan that's
      answering the call, either before or after the failed bleg.<br>
      <br>
      You said you had voicemail before... you can't send 603 back to
      the client and continue to voicemail because the 603 terminates
      the call.<br>
      <span style="font-family: arial; font-size: small;"><span
          style="font-family: monospace; font-size: medium;"></span></span>
      <div>&nbsp;</div>
      <blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px
        solid rgb(204, 204, 204); padding-left: 1ex;"
        class="gmail_quote">
        Question:2<br>
      </blockquote>
      <blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px
        solid rgb(204, 204, 204); padding-left: 1ex;"
        class="gmail_quote">It's possible a custom Header pass trough in
        status response like trying or session in progress? I'm able to
        use custom header only on invite adding to invite a header with
        name like X-myheader.
        Any suggestion? <br>
      </blockquote>
      <div><br>
        Yes, you can for 180/183, with the sip_ph_X- prefix. That puts
        the header on any provisional response.<br>
        <a moz-do-not-send="true"
          href="http://wiki.freeswitch.org/wiki/Sofia#Adding_Response_Headers">http://wiki.freeswitch.org/wiki/Sofia#Adding_Response_Headers</a><br>
        <br>
        For example:<br>
        &lt;action application="set" data="sip_p_X-myheader=value"/&gt;<br>
        <br>
        AFAIK you won't be able to do the same for a 100 Trying since
        Sofia doesn't let FS do any handling at the required point. But
        have a try anyway just to be sure.<br>
        <br>
      </div>
      -Steve<br>
      <br>
      <br>
      <div class="gmail_quote">On 8 June 2011 20:14, Alessandro <span
          dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:a.luppi@seletech.com">a.luppi@seletech.com</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          <div text="#000000" bgcolor="#ffffff"> Hi,<br>
            <br>
            I have two questions about FS:<br>
            <br>
            Question 1:<br>
            i'm developing a custom client sip with pjsip. This client
            when receive a call that can't be accepted respond with
            status 603. I think that freeswitch filter this status.<br>
            This is an example of desired behaviour:<br>
            <span style="font-family: arial; font-size: small;">
              <div>1000@localnet_ip &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
                FS(ip:localnet_ip) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
                1001<span style="font-family: arial; font-size: small;">@localnet_ip</span></div>
              <div><br>
              </div>
              <div><span style="font-family: monospace; font-size:
                  medium;">
                  <pre>INVITE ----------&gt;
                                     INVITE ---------------&gt;                                
&lt;-------------- trying                &lt;--------------------trying
&lt;-------------- 603                  &lt;------------------  603
ACK ------------&gt;                    ACK------------------&gt;

</pre>
                  <pre><span style="white-space: normal;"><pre><span style="font-family: monospace; font-size: medium;"></span><span style="font-family: arial; font-size: small; white-space: normal;"><div>
The current behaviour of FS is:</div><div>
</div></span></pre></span></pre>
                </span>
                <div>1000@localnet_ip &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
                  FS(ip:localnet_ip) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                  &nbsp;&nbsp; 1001<span style="font-family: arial; font-size:
                    small;">@localnet_ip</span></div>
                <div><br>
                </div>
                <div><span style="font-family: monospace; font-size:
                    medium;">
                    <pre>INVITE ----------&gt;
                                     INVITE ---------------&gt;                                
&lt;-------------- trying                &lt;--------------------trying
                                     &lt;------------------  603
<span style="font-family: arial; font-size: small;"><span style="font-family: monospace; font-size: medium;"><pre>&lt;-------------- 200</pre></span></span>ACK------------------&gt;
&lt;--------------------BYE

I'd like to avoid the current behaviour. It's possible a kind of message status path trough?
If the called party terminate the call before answering, FS send always to the calling partner 200 and BYE.
First thought was related to the voice-mail. Now voice-mail is disabled but the behaviour is the same.

Question:2
It's possible a custom Header pass trough in status response like trying or session in progress? 
I'm able to use custom header only on invite adding to invite a header with name like X-myheader.
Any suggestion? 

Thanks
Good Evening
</pre>
                  </span></div>
              </div>
            </span>Alessandro<br>
            <pre cols="72">-- 
Ing. Alessandro Luppi
Software development
Seletech srl
Via Collodi 8, 20052 Monza (MI) - Italy
Tel: +39.039.5962000 - Fax: +39.039.9716905
email: <a moz-do-not-send="true" href="mailto:a.luppi@seletech.com" target="_blank">a.luppi@seletech.com</a> - Web: <a moz-do-not-send="true" href="http://www.seletech.com" target="_blank">www.seletech.com</a>   or   <a moz-do-not-send="true" href="http://www.seletech.eu" target="_blank">www.seletech.eu</a>
</pre>
          </div>
          <br>
          _______________________________________________<br>
          FreeSWITCH-users mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
          <a moz-do-not-send="true"
            href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
            target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
          UNSUBSCRIBE:<a moz-do-not-send="true"
            href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
            target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
          <a moz-do-not-send="true" href="http://www.freeswitch.org"
            target="_blank">http://www.freeswitch.org</a><br>
          <br>
        </blockquote>
      </div>
      <br>
      <div style="visibility: hidden; left: -5000px; position: absolute;
        z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px;
        overflow: hidden; word-wrap: break-word; color: black;
        font-size: 10px; text-align: left; line-height: 130%;"
        id="avg_ls_inline_popup">
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Ing. Alessandro Luppi
Software development
Seletech srl
Via Collodi 8, 20052 Monza (MI) - Italy
Tel: +39.039.5962000 - Fax: +39.039.9716905
email: <a class="moz-txt-link-abbreviated" href="mailto:a.luppi@seletech.com">a.luppi@seletech.com</a> - Web: <a class="moz-txt-link-abbreviated" href="http://www.seletech.com">www.seletech.com</a>   or   <a class="moz-txt-link-abbreviated" href="http://www.seletech.eu">www.seletech.eu</a>
</pre>
  </body>
</html>