Re: [OpenSIPS-Users] mid registrar g lookup

2018-10-10 Thread Răzvan Crainea

Hello, Slava!

The user is properly URL encoded. Are you calling mid_registrar_lookup() 
[1] to "resolve" this contact, or simple lookup()[2]? You should call 
the first one, because most likely you are also using mid_registrar.


[1] 
https://opensips.org/html/docs/modules/2.4.x/mid_registrar.html#func_mid_registrar_lookup

[2] https://opensips.org/html/docs/modules/2.4.x/registrar.html#func_lookup

Best regards,
Răzvan

On 10/9/18 11:38 PM, Slava Bendersky wrote:

Hello Everyone,
Current setup is full federated cluster with mongo and pgsql.
I see in trace $ru IVITE sip:13is

is INVITE sip:130%40domain.com@10.100.104.8:5060 SIP/2.0

Right now we returning 404 same as m flag lookup. What should happens if 
user found or not found, because I think $rU part is not encoded correctly.



volga629
@10.100.104.8:5060 SIP/2.0

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



--
Răzvan Crainea
OpenSIPS Core Developer
  http://www.opensips-solutions.com

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] mid registrar g lookup

2018-10-09 Thread Slava Bendersky
Hello Everyone,
Current setup is full federated cluster with mongo and pgsql.
I see in trace $ru IVITE sip:13is

is INVITE sip:130%40domain.com@10.100.104.8:5060 SIP/2.0
Right now we returning 404 same as m flag lookup. What should happens if user 
found or not found, because I think $rU part is not encoded correctly.

volga629
@10.100.104.8:5060 SIP/2.0
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users