[SR-Users] seturi analog for Kamailio 4.3

Daniel-Constantin Mierla miconda at gmail.com
Mon Mar 16 11:24:27 CET 2015


Hello,

instead of seturi use:

$ru = "sip:" + $tU + "@" + $(du{s.select,1,:});

Cheers,
Daniel

On 16/03/15 05:44, Yuriy Gorlichenko wrote:
> Now. when I use 
>
> seturi("sip:$tU@$(du{s.select,1,:})");
>
> I see error at my log
>
>  ERROR: tm [t_lookup.c:1264]: new_t(): ERROR: new_t: uri invalid
>  ERROR: tm [t_lookup.c:1411]: t_newtran(): ERROR: t_newtran: new_t failed
>  ERROR: tm [t_lookup.c:1264]: new_t(): ERROR: new_t: uri invalid
>  ERROR: tm [t_lookup.c:1411]: t_newtran(): ERROR: t_newtran: new_t failed
>  ERROR: sl [sl_funcs.c:363]: sl_reply_error(): ERROR: sl_reply_error
> used: Regretfully, we were not able to process the URI (479/SL)
>  ERROR: sl [sl_funcs.c:363]: sl_reply_error(): ERROR: sl_reply_error
> used: Regretfully, we were not able to process the URI (479/SL)
>
> As i see error generate twice maby because I ure t_on branch() route
>
>
>
> 2015-03-16 7:18 GMT+03:00 Yuriy Gorlichenko <ovoshlook at gmail.com
> <mailto:ovoshlook at gmail.com>>:
>
>     Hello. I try to call multi[ple endpoints from my server using
>     append_branch. It works fine but when I have only one endpoint -
>     kamailio generate 2 INVITE requests to it.
>     As I understand it is original request and the next one is branch. 
>     I used seturi() before for sending original reqest to destination,
>     but I can not see this function at kamailio 4.3.
>     Kamailio 4.3 uses send() dunnction? but it works at stateless
>     mode. I need analog of it or seturi that works at statefull mode.
>
>
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150316/07d9ec22/attachment.html>


More information about the sr-users mailing list