No subject


Fri Jul 16 17:26:04 CEST 2010


specification in front of the variable name -
<a class="ecxmoz-txt-link-freetext" href="http://www.opensips.org/Resources/DocsCoreVar" target="_blank">http://www.opensips.org/Resources/DocsCoreVar</a>. By default the message
that you have access to in failure route is the request.<br>
To send the Invite to another destination just set the $du and do
t_relay().<br>
<br>
Regards,<br>
<pre class="ecxmoz-signature">-- 
Anca Vamanu
<a class="ecxmoz-txt-link-abbreviated" href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a></pre>
<br>
<br>
<br>
<br>
On 10/05/2010 01:12 PM, Najib Hara wrote:
<blockquote cite="mid:SNT115-W40B7CBB6DBB21308A6A9CBE66D0 at phx.gbl">
  <style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</style>Hi,<br>
  <br>
Probably , the best way is to use 302 replies, but I'm still looking
for a way to collect the data from these replies (or from 600 errors).
Is there a function or a module who can handle it ?<br>
I also need to get my INVITEs back so I could insert the collected data
in their bodies.&nbsp; I know that The TM module can duplicate SIP messages
in memory, but how to deal with 2 messages at the same time ? <br>
As a memo, here are the steps:<br>
  <ul>
    <li>send the received INVITE to a server</li>
    <li>get a 302 reply from the server with data on the body</li>
    <li>collect the data from the 302 reply</li>
    <li>insert data on the INVITE</li>
    <li>resend it to the initial destination</li>
  </ul>
  <br>
Thanks<br>
  <br>
  <hr id="ecxstopSpelling">From: <a class="ecxmoz-txt-link-abbreviated" href="mailto:lebron_najib at hotmail.com">lebron_najib at hotmail.com</a><br>
To: <a class="ecxmoz-txt-link-abbreviated" href="mailto:users at lists.opensips.org">users at lists.opensips.org</a><br>
Date: Fri, 1 Oct 2010 13:24:07 +0000<br>
Subject: Re: [OpenSIPS-Users] Adding data to a request before relaying
it<br>
  <br>
  
  
  <style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</style>
Thank you Anca, I'm working on it and I'll post the specific part of
the routing logic as soon as finished.<br>
  <br>
  <hr id="ecxstopSpelling">From: <a class="ecxmoz-txt-link-abbreviated" href="mailto:lebron_najib at hotmail.com">lebron_najib at hotmail.com</a><br>
To: <a class="ecxmoz-txt-link-abbreviated" href="mailto:users at lists.opensips.org">users at lists.opensips.org</a><br>
Subject: Adding data to a request before relaying it<br>
Date: Fri, 1 Oct 2010 08:55:05 +0000<br>
  <br>
  <style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</style>
Hi everybody,<br>
  <br>
I'm a newer in the OpenSIPS world and I'm trying to learn how to use it
efficiently.<br>
I'm working on a project where I have to modify incoming requests
before relaying them to their first destination.<br>
By modifying, I mean sending those requests to a server which will send
back messages with the additional data to implement in the requests.<br>
The next step is to collect those informations from the responses and
add them to the initial requests which will be relayed to their initial
destination.<br>
My question is: is OpenSIPS capable of doing this ?<br>
  <br>
For more detail, here is a scheme.<br>
  <br>
Thank you in advance for your responses<br>
  <br>
_______________________________________________
Users mailing list
<a class="ecxmoz-txt-link-abbreviated" href="mailto:Users at lists.opensips.org">Users at lists.opensips.org</a>
<a class="ecxmoz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
  <pre><fieldset class="ecxmimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="ecxmoz-txt-link-abbreviated" href="mailto:Users at lists.opensips.org">Users at lists.opensips.org</a>
<a class="ecxmoz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
  </pre>
</blockquote>


<br>_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users 		 	   		  
<br>_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users 		 	   		  </body>
</html>
--_f64d2161-cd1c-4a34-a71c-062fc7773402_--



More information about the Users mailing list