Hello Liviu, We use topology hiding edge proxy for end point. Here are example of contact header Contact: <sip:112%40domain.com@10.30.100.61:5060> that call is inbound from PBX to opensips and opensips forward to end point. if(is_method("INVITE|UPDATE|ACK|BYE|CANCEL|NOTIFY|INFO|OPTIONS") && $rU=~"%40") { xlog("[RELAY] [$rm] testing original [$ru]\n"); route(CONTACT_LOOKUP); # We want exclude ACK rewrite toward Bria Push Server } else if(!isflagset("FLAG_BRIA_PUSH")) { xlog("[RELAY] [$rm] didn't match R-URI schema [$ru] correcting\n"); $ru = "sip:" + $tU + "%40" + $td + "@" + $td; route(CONTACT_LOOKUP); } volga629 On 3/24/21 5:04 AM, Liviu Chircu wrote:
|
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users