<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
'Hi All<br>
<br>
The follow does not work, I've never seen an example of anyone trying
to use avp's to do this. All the example I've seen do a 'sethostport'
to a static address and then a t_relay. <br>
<br>
## sethostport("192.168.2.100:5060");<br>
## # do not set the missed call flag again<br>
## t_relay();<br>
<br>
In the code below $avp(s:callfwdbusy) is currently resolving to '
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<a class="moz-txt-link-freetext" href="sip:500101@">sip:500101@</a><local domain>'<br>
<br>
failure_route[ONFAILURE_ROUTE] {<br>
if (t_was_cancelled()) {<br>
exit;<br>
}<br>
<br>
if (t_check_status("486|408")) {<br>
if (is_avp_set("$avp(s:callfwdbusy)")) {<br>
if (is_avp_set("$avp(s:callfwdbusy)")) {<br>
$ru = $avp(s:callfwdbusy); < --
Comments about this line below<br>
t_relay();<br>
}<br>
}<br>
}<br>
}<br>
<br>
I've tried a number of command for the line with the comment.<br>
<br>
rewriteuri("$avp(s:callfwdbusy)";<br>
<br>
This seemed to be the best option but opensips required "" arround it,
but once there it does not convert this string to a value.<br>
<br>
Again any help is appreciated.<br>
<br>
Cheers<br>
Mike<br>
<br>
<br>
<br>
<br>
</body>
</html>