<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>Hello Kjeld,</p>
<p>you need to check in the onreply route for the reply result code, not the method name. Look e.g. in the default cfg reply routes to get the idea.</p>
<p>Cheers,</p>
<p>Henning<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">Am 12.12.19 um 23:34 schrieb Kjeld Flarup:<br>
</div>
<blockquote type="cite" cite="mid:1bd55b9f-a34a-021a-2994-27fdd5ffc741@liberalismen.dk">
<div dir="ltr">Hello
<div><br>
</div>
<div>I have a problem with some phone numbers at Telenor. Our door telephone does not reply with an ACK on the 200 OK.</div>
<div>All I found was a weird SDP response with two "connection information" lines<br>
</div>
<div><br>
</div>
<div>
<pre>Session Description Protocol</pre>
<pre>    Session Description Protocol Version (v): 0</pre>
<pre>    Owner/Creator, Session Id (o): BroadWorks 307119541 1 IN IP4 194.247.61.31</pre>
<pre>    Session Name (s): -</pre>
<pre>    Connection Information (c): IN IP4 194.247.61.31</pre>
<pre>    Time Description, active time (t): 0 0</pre>
<pre>    Session Attribute (a): sendrecv</pre>
<pre>    Media Description, name and address (m): audio 23116 RTP/AVP 8 101</pre>
<pre>    Connection Information (c): IN IP4 194.247.61.31</pre>
<pre>    Media Attribute (a): rtpmap:8 PCMA/8000</pre>
<pre>    Media Attribute (a): rtpmap:101 telephone-event/8000</pre>
<pre>    Media Attribute (a): fmtp:101 0-15</pre>
<pre>    Media Attribute (a): maxptime:40</pre>
<pre>    Media Attribute (a): bsoft:1 image udptl t38</pre>
<pre>    Media Attribute (a): sendrecv</pre>
<pre>    Media Attribute (a): silenceSupp:off - - - -</pre>
<pre>    Media Attribute (a): setup:actpass</pre>
</div>
<div>To debug, I would like to remove one of the "Connection Information (c): IN IP4 194.247.61.31", to see if this is what confuses the door telephone.</div>
<div>But how do I do that?</div>
<div><br>
</div>
<div>I tried with this but nothing happeded<br>
</div>
<div>
<pre>onreply_route[DOOR_MANAGE_REPLY] {</pre>
<pre>        if (is_method("INVITE|SUBSCRIBE"))</pre>
<pre>        {</pre>
<pre>          sdp_remove_line_by_prefix("c=IN IP4 194");</pre>
<pre>        }</pre>
<pre>        return 1;</pre>
<pre>}</pre>
<br>
<div><br>
</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>-- <br>
<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<p>--------------------- Med Liberalistiske Hilsner ----------------------</p>
<pre cols="72">   Civilingeniør, Kjeld Flarup - Mit sind er mere Ã¥bent end min tegnebog
   Sofienlundvej 6B, 7560 Hjerm, Tlf: 40 29 41 49
   Den ikke akademiske hjemmeside for liberalismen - <a href="http://www.liberalismen.dk" target="_blank" moz-do-not-send="true">www.liberalismen.dk</a>

</pre>
</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">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">-- 
Kamailio Merchandising - <a class="moz-txt-link-freetext" href="https://skalatan.de/merchandising/">https://skalatan.de/merchandising/</a>
Kamailio services - <a class="moz-txt-link-freetext" href="https://skalatan.de/services">https://skalatan.de/services</a>
Henning Westerholt - <a class="moz-txt-link-freetext" href="https://skalatan.de/blog/">https://skalatan.de/blog/</a></pre>
</body>
</html>