Hi, I'm back again, I'm trying to get mid_registrar to work with webrtc, but when I use the piece of configuration below asterisk replies with 404. I think it's because asterisk expects the url to be "wss:// 10.0.0.153:8188/ws" But where do I configure such a url in opensips?? Thanks
if (is_method("REGISTER")) { mid_registrar_save("location", "p0v"); switch ($retcode) { case 1: #$du = "sips:10.0.0.153:5061;transport=tls"; #$ru = "sip:10.0.0.153:5061"; $du = "sips:10.0.0.153:8188;transport=wss"; $ru = "sip:10.0.0.153:8188"; $fs = NULL; route(relay); break; case 2: xlog("L_INFO", "Absorb REGISTER!\n"); break; default: xlog("L_INFO", "Failed to save registration!\n"); break; } exit; }
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users