<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi All<br>
<br>
Anytime I forward a call to the same instance of opensips the CPE which
was initially rung will re-ring, if I sent the call directly to a
different CPE it works.<br>
<br>
So it seems to me that I'm going to have to setup an asterisk server
which receives the forwarded call then sends the call back to opensips
with the corrected details.<br>
<br>
Any one got a better idea ?<br>
<br>
Thanks<br>
Mike<br>
<br>
On 8/01/10 7:37 PM, Mike O'Connor wrote:
<blockquote cite="mid:4B46F5BE.5030106@oeg.com.au" type="cite">
<meta http-equiv="content-type"
content="text/html; charset=ISO-8859-1">
'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 moz-do-not-send="true" 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>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>