<div>Hello everyone,</div>
<div>and thank you for your welcome !<br><br></div>
<div class="gmail_quote">2009/2/3 Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hello, 
<div class="Ih2E3d"><br>&nbsp;</div>code will be unfrozen in few weeks. As personal preference, returning code is a more flexible way, as the config writer can chose what to send.<br><br>Changing the return code for a function is not a new feature IMO. However, I mean by that to do it with the current design. If I am not wrong there is a pipe communication between sip worker processes and purple worker processes.</blockquote>

<div>&nbsp;</div>
<div>Yes you&#39;re right, purple has it&#39;s own process.</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">You cannot get the error in purple processes and return it in the sip process. What you can do is to have a different reply code if you had an error while building the packet for purple process (e.g., no more memory) and once you send it to purple process return true and the code writer should reply with 202 Message accepted.</blockquote>

<div>&nbsp;</div>
<div>My problem is that I currently don&#39;t know how to return synchronously a reply code from the pipe&#39;s other side.</div>
<div>Can I use the pipe to write back from the purple process to the &quot;main&quot; process ?</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Cheers,<br>Daniel</blockquote></div>