[OpenSIPS-Users] dialog replication
volga629 at networklab.ca
volga629 at networklab.ca
Thu Aug 30 13:37:49 EDT 2018
Hello Bogdan,
Yes, Razvan identified issue where $fs wasn't set properly. I fixed
this on script level not sure if this clean solution.
https://paste.fedoraproject.org/paste/lIzEh5Q1vd4XePW6oUgC2g
any insight thank you.
volga629
On Thu, Aug 30, 2018 at 1:20 PM, Bogdan-Andrei Iancu
<bogdan at opensips.org> wrote:
> Hi,
>
> I see the INVITE is received and sent out on the same interface :
> 207.210.246.38:5060, so there is no interface exchange, so no reason
> for a double RR.
>
> Regards,
>
> Bogdan-Andrei Iancu
>
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
> OpenSIPS Bootcamp 2018
> http://opensips.org/training/OpenSIPS_Bootcamp_2018/
>
> On 08/28/2018 07:20 PM, volga629 at networklab.ca wrote:
>> Hello Everyone,
>> What possible cause that dialog is removing Record-Route for second
>> interface, that cause send call to WAN instead the LAN.
>>
>>
>>
>> https://paste.fedoraproject.org/paste/XsqlLhO0CYteE3APcVkKpw
>>
>>
>>
>> route {
>> if(!has_totag() && is_method("INVITE")) {
>> create_dialog();
>> xlog("L_INFO", "Got request on ip addr [$Ri] and call
>> dir $avp(DLG_dir)\n");
>> # Wan route
>> $var(ip_lst) = $shv(vip_wan_lst);
>> route(SET_SOURCE_SOCKET);
>> if($avp(DLG_dir)=="topbx") {
>> switch($(var(req_ip){s.select,3,.})) {
>> case "38":
>> set_dlg_sharing_tag("vip1");
>> xlog("L_INFO", "[$rm] Set dialog tag
>> vip1 ~> $(var(req_ip){s.select,3,.})\n");
>> break;
>> case "39":
>> set_dlg_sharing_tag("vip2");
>> xlog("L_INFO", "[$rm] Set dialog tag
>> vip2 ~> $(var(req_ip){s.select,3,.})\n");
>> break;
>> case "40":
>> set_dlg_sharing_tag("vip3");
>> xlog("L_INFO", "[$rm] Set dialog tag
>> vip3 ~> $(var(req_ip){s.select,3,.})\n");
>> break;
>> default:
>> xlog("L_INFO", "[$rm] Unknown last
>> ocetet ~> $(var(req_ip){s.select,3,.})\n");
>> }
>> }
>>
>> if(!is_method("REGISTER")) {
>> record_route();
>> }
>> }
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
More information about the Users
mailing list