<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>This was obviously a response on the wrong thread.</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 01.11.19 10:49, Daniel-Constantin
Mierla wrote:<br>
</div>
<blockquote type="cite"
cite="mid:b920182e-1bec-2392-88d6-0475c154d1a6@gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>Hello,</p>
<p>probably you have to use the function that has the country
code:</p>
<p> - <a
href="https://kamailio.org/docs/modules/stable/modules/phonenum.html#phonenum.f.phonenum_match_cn"
moz-do-not-send="true">https://kamailio.org/docs/modules/stable/modules/phonenum.html#phonenum.f.phonenum_match_cn</a></p>
<p>Because the number is not in international format.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 01.11.19 10:35, Daniel-Constantin
Mierla wrote:<br>
</div>
<blockquote type="cite"
cite="mid:98719179-c539-b708-77c5-a9635e9e7d70@gmail.com">
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
<p>Hello,</p>
<p>run with debug=3 and what the logs to see if there are
error/warning messages.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 01.11.19 10:26, Denys Pozniak
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CA+x3AxrKRsBg8hp+v=QVxtyj-hyvtyp4zWoHwsBX2MF29qFD-g@mail.gmail.com">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<div dir="ltr">
<div>Hello!</div>
<br>
I'm trying to remove m=video stream from incoming SIP/SDP
request in th way below:<br>
<br>
modparam("rtpengine", "read_sdp_pv", "$avp(read_sdp_pv)")<br>
modparam("rtpengine", "write_sdp_pv", "$avp(write_sdp_pv)")<br>
...<br>
sdp_remove_media("video");<br>
msg_apply_changes();<br>
<div> sdp_get("$avp(read_sdp_pv)");<br>
xlog("L_WARN","[$cfg(route)] *m=video removed* ci|
rb=/$rb/ \n");<br>
xlog("L_WARN","[$cfg(route)] *m=video removed* ci|
avp(read_sdp_pv)=/$avp(read_sdp_pv)/ \n");<br>
rtpengine_manage("$avp(rtpengine_offer)");<br>
set_body("$avp(write_sdp_pv)", "application/sdp");<br>
<br>
But no luck, xlog shows m=video in $rb and
$avp(rtp_sdp_read) as well.<br>
<br>
--
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr"><br>
<div>
<div>BR,</div>
<div>Denys Pozniak<br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" moz-do-not-send="true">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com" moz-do-not-send="true">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" moz-do-not-send="true">www.linkedin.com/in/miconda</a>
Kamailio World Conference - April 27-29, 2020, in Berlin -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com" moz-do-not-send="true">www.kamailioworld.com</a></pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com" moz-do-not-send="true">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" moz-do-not-send="true">www.linkedin.com/in/miconda</a>
Kamailio World Conference - April 27-29, 2020, in Berlin -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com" moz-do-not-send="true">www.kamailioworld.com</a></pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio World Conference - April 27-29, 2020, in Berlin -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>