Hello,

On 23.05.23 05:09, [email protected] wrote:
> I have Kamailio 5.6 on Debian 11.
> I need to use the function forward within a routing block in my configuration 
> file:
> forward("udp:192.168.28.51:5060");
> But when I start the kamailio service I got:
> CRITICAL: [core/proxy.c:264]: mk_proxy(): could not resolve hostname: 
> "udp:192.168.28.51:5060"
> The same occurs when I use the dns nane :
> forward("udp:raspberry3.emtelco.co:5060");
>
> Any ideas ?

that is not a valid parameter format for forward(), use:

$du = "sip:raspberry3.emtelco.co:5060;transport=udp";
forward();

Cheers,
Daniel

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - June 5-7, 2023 - www.kamailioworld.com

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:

Reply via email to