[Kamailio-Users] forking on URIs from DB

Klaus Darilion klaus.mailinglists at pernau.at
Thu Jul 2 15:23:15 CEST 2009


accodring to doc it should be also possible to assign directly, e.g.: 
uri in $avp(firsturi) and Q in $avp(firstq):

$br = $avp(firsturi) + ";q=" + $avp(firstq);

regards
klaus

http://www.kamailio.org/dokuwiki/doku.php/pseudovariables:devel#request_s_first_branch

Juha Heinanen schrieb:
> Robert McGilvray writes:
> 
>  > I guess that's the part where I'm getting stuck. How do I go about
>  > adding my URIs with the proper q values to the dset?
> 
> have you tried append_branch with q value, something like this:
> 
> append_branch("<sip:foo at bar>;q=0.5");
> 
> if that does not work and no-one else on the mailing list has a better
> suggestion, open a new feature request on sr tracker.
> 
> i myself get q values into destination set using lookup or enum_query
> function.
> 
> -- juha
> 
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users




More information about the sr-users mailing list