[SR-Users] Removing extra Connection information in SDP

Kjeld Flarup kjeld.flarup at liberalismen.dk
Thu Dec 12 23:34:51 CET 2019


Hello

I have a problem with some phone numbers at Telenor. Our door telephone 
does not reply with an ACK on the 200 OK.
All I found was a weird SDP response with two "connection information" lines

Session Description Protocol

     Session Description Protocol Version (v): 0

     Owner/Creator, Session Id (o): BroadWorks 307119541 1 IN IP4 194.247.61.31

     Session Name (s): -

     Connection Information (c): IN IP4 194.247.61.31

     Time Description, active time (t): 0 0

     Session Attribute (a): sendrecv

     Media Description, name and address (m): audio 23116 RTP/AVP 8 101

     Connection Information (c): IN IP4 194.247.61.31

     Media Attribute (a): rtpmap:8 PCMA/8000

     Media Attribute (a): rtpmap:101 telephone-event/8000

     Media Attribute (a): fmtp:101 0-15

     Media Attribute (a): maxptime:40

     Media Attribute (a): bsoft:1 image udptl t38

     Media Attribute (a): sendrecv

     Media Attribute (a): silenceSupp:off - - - -

     Media Attribute (a): setup:actpass

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.
But how do I do that?

I tried with this but nothing happeded

onreply_route[DOOR_MANAGE_REPLY] {

         if (is_method("INVITE|SUBSCRIBE"))

         {

           sdp_remove_line_by_prefix("c=IN IP4 194");

         }

         return 1;

}





-- 

--------------------- Med Liberalistiske Hilsner ----------------------

    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 -www.liberalismen.dk  <http://www.liberalismen.dk>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20191212/74e1d19d/attachment.html>


More information about the sr-users mailing list