Hello, probably you have to use the function that has the country code:
- https://kamailio.org/docs/modules/stable/modules/phonenum.html#phonenum.f.phonenum_match_cn Because the number is not in international format. Cheers, Daniel On 01.11.19 10:35, Daniel-Constantin Mierla wrote: > > Hello, > > run with debug=3 and what the logs to see if there are error/warning > messages. > > Cheers, > Daniel > > On 01.11.19 10:26, Denys Pozniak wrote: >> Hello! >> >> I'm trying to remove m=video stream from incoming SIP/SDP request in >> th way below: >> >> modparam("rtpengine", "read_sdp_pv", "$avp(read_sdp_pv)") >> modparam("rtpengine", "write_sdp_pv", "$avp(write_sdp_pv)") >> ... >> sdp_remove_media("video"); >> msg_apply_changes(); >> sdp_get("$avp(read_sdp_pv)"); >> xlog("L_WARN","[$cfg(route)] *m=video removed* ci| rb=/$rb/ \n"); >> xlog("L_WARN","[$cfg(route)] *m=video removed* ci| >> avp(read_sdp_pv)=/$avp(read_sdp_pv)/ \n"); >> rtpengine_manage("$avp(rtpengine_offer)"); >> set_body("$avp(write_sdp_pv)", "application/sdp"); >> >> But no luck, xlog shows m=video in $rb and $avp(rtp_sdp_read) as well. >> >> -- >> >> BR, >> Denys Pozniak >> >> >> >> _______________________________________________ >> Kamailio (SER) - Users Mailing List >> [email protected] >> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > -- > Daniel-Constantin Mierla -- www.asipto.com > www.twitter.com/miconda -- www.linkedin.com/in/miconda > Kamailio World Conference - April 27-29, 2020, in Berlin -- > www.kamailioworld.com -- Daniel-Constantin Mierla -- www.asipto.com www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio World Conference - April 27-29, 2020, in Berlin -- www.kamailioworld.com
_______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
