Hello Kjeld,
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.
Cheers,
Henning
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 ProtocolSession Description Protocol Version (v): 0Owner/Creator, Session Id (o): BroadWorks 307119541 1 IN IP4 194.247.61.31Session Name (s): -Connection Information (c): IN IP4 194.247.61.31Time Description, active time (t): 0 0Session Attribute (a): sendrecvMedia Description, name and address (m): audio 23116 RTP/AVP 8 101Connection Information (c): IN IP4 194.247.61.31Media Attribute (a): rtpmap:8 PCMA/8000Media Attribute (a): rtpmap:101 telephone-event/8000Media Attribute (a): fmtp:101 0-15Media Attribute (a): maxptime:40Media Attribute (a): bsoft:1 image udptl t38Media Attribute (a): sendrecvMedia Attribute (a): silenceSupp:off - - - -Media Attribute (a): setup:actpassTo 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
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Kamailio Merchandising - https://skalatan.de/merchandising/ Kamailio services - https://skalatan.de/services Henning Westerholt - https://skalatan.de/blog/