<div dir="ltr"><div dir="ltr"><div>Hi Daniel</div><div><br></div><div>I have entered it like that now. It does appear that in both cases the result is the same and the b=AS:80 is removed from SDP when passed down. But either way, it still doesn't appear to work. the SDP sent to upstream from Sipwise is:</div><div><div><img src="cid:ii_jm7dyd0b1" alt="image.png" width="304" height="309"></div><div>We have set the ptime to that peer to 20 under media transcoding options.</div><div><br></div><div>We receive back:</div><div><div><img src="cid:ii_jm7e1f8d2" alt="image.png" width="322" height="171"></div><div><br></div><div>Then passed to sip proxy (<a href="http://127.0.0.1:5060">127.0.0.1:5060</a> >>> 127.0.0.5080) it appears that the line filter to take out the b:AS:80 works fine</div><div><div><br></div><div><img src="cid:ii_jm7e3i3s3" alt="image.png" width="332" height="137"></div><div>But once RTP starts it looks like that ptime of 20 is not being honoured by sipwise as the actual packet size of RTP sent indicates a ptime of 40 whereas the packetsize of RTP received from upstream is indeed 20.</div><div><br></div><div>We are only observing this when that b= parameter is present by the looks of it.</div><div><br></div><div><br></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Sep 17, 2018 at 5:05 PM Daniel Grotti <<a href="mailto:dgrotti@sipwise.com">dgrotti@sipwise.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <tt>Hi,<br>
      it should look like:<br>
      <br>
    </tt><br>
    <tt>sdp_line_filter:<br>
            enable: yes<br>
            remove_line_startswith:<br>
            - b=<br>
      <br>
      <br>
      in order to remove lines starting with "b=".<br>
      <br>
      Cheers,<br>
      <br>
    </tt>
    <pre class="m_2554722334178066688moz-signature" cols="72">-- 
Daniel Grotti
Head of Customer Support
Sipwise GmbH, Campus 21/Europaring F15
AT-2345 Brunn am Gebirge

Office: +43(0)130120332
Email: <a class="m_2554722334178066688moz-txt-link-abbreviated" href="mailto:dgrotti@sipwise.com" target="_blank">dgrotti@sipwise.com</a>
Website: <a class="m_2554722334178066688moz-txt-link-freetext" href="https://www.sipwise.com" target="_blank">https://www.sipwise.com</a>
</pre>
    <div class="m_2554722334178066688moz-cite-prefix">On 09/11/2018 12:31 PM, qabane me
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div dir="ltr">
          <div>Hi</div>
          <div><br>
          </div>
          <div>I have played a bit more with this and found in
            config.yml:</div>
          <div><br>
          </div>
          <div>  sdp_line_filter:<br>
                  enable: yes<br>
                  remove_line_startswith: [b]<br>
          </div>
          <div> (I added the yes and the b)</div>
          <div><br>
          </div>
          <div>This indeed filters out that line - sngrep shows that the
            lb does not pass it to the proxy. However, the behaviour
            remains the same. When a call comes in with a ptime of 60,
            sipwise sends it on to the peer with a ptime of 40. My guess
            is that it picks 40 based on the max bandwidth of 80? I had
            hoped that by filtering that line from the sdp it would not
            do this anymore but no joy there.</div>
          <div><br>
          </div>
          <div>Any ideas?<br>
          </div>
          <div><br>
            <div class="gmail_quote">
              <div dir="ltr">---------- Forwarded message ---------<br>
                From: <b class="gmail_sendername" dir="auto">qabane me</b>
                <span dir="ltr"><<a href="mailto:qabaneitsolutions@gmail.com" target="_blank">qabaneitsolutions@gmail.com</a>></span><br>
                Date: Thu, Sep 6, 2018 at 11:55 AM<br>
                Subject: Fwd: Packet Size<br>
                To: <<a href="mailto:spce-user@lists.sipwise.com" target="_blank">spce-user@lists.sipwise.com</a>><br>
              </div>
              <br>
              <br>
              <div dir="ltr">
                <div>Ok I am not entirely correct. It does seem to work
                  - but not to one carrier. The difference is that this
                  carrier responds with b=AS:80. As a result (and I am
                  only assuming it is as a result of that flag) the
                  packet size we are sending out is 40 which results in
                  one way audio. This is despite the fact that have set
                  the ptime to 20 and despite the fact that there is a
                  maxptime:20 in their response.<br>
                </div>
                <div><br>
                </div>
                <div>
                  <div><img src="cid:part3.5B22C121.021C1C74@sipwise.com" alt="image.png" height="127" width="242"><br>
                  </div>
                </div>
                <div><br>
                  <div class="gmail_quote">
                    <div dir="ltr">---------- Forwarded message
                      ---------<br>
                      From: <b class="gmail_sendername" dir="auto">qabane
                        me</b> <span dir="ltr"><<a href="mailto:qabaneitsolutions@gmail.com" target="_blank">qabaneitsolutions@gmail.com</a>></span><br>
                      Date: Thu, Sep 6, 2018 at 11:20 AM<br>
                      Subject: Packet Size<br>
                      To: <<a href="mailto:spce-user@lists.sipwise.com" target="_blank">spce-user@lists.sipwise.com</a>><br>
                    </div>
                    <br>
                    <br>
                    <div dir="ltr">
                      <div>Hi</div>
                      <div><br>
                      </div>
                      <div>As part of our testing of MR6.4.1 we are
                        playing with repackatisation. We have set, on a
                        peer level, a packet size of 20. Then we send a
                        call from a PBX with a ptime of 60. I had
                        expected this to be repacketised to 20 going
                        upstream but that does not seem to work. <br>
                      </div>
                      <div><br>
                      </div>
                      <div>Am I misunderstanding this or is something
                        not working?</div>
                      <div><br>
                      </div>
                      <div>Cheers</div>
                      <div>Theo<br>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="m_2554722334178066688mimeAttachmentHeader"></fieldset>
      <br>
      <pre>_______________________________________________
Spce-user mailing list
<a class="m_2554722334178066688moz-txt-link-abbreviated" href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a>
<a class="m_2554722334178066688moz-txt-link-freetext" href="https://lists.sipwise.com/listinfo/spce-user" target="_blank">https://lists.sipwise.com/listinfo/spce-user</a>
</pre>
    </blockquote>
    <br>
  </div>

_______________________________________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a><br>
<a href="https://lists.sipwise.com/listinfo/spce-user" rel="noreferrer" target="_blank">https://lists.sipwise.com/listinfo/spce-user</a><br>
</blockquote></div>