You can use append_rpid_hf&nbsp; <br>That way you can add add suffix or prefix in the from URI without breaking RFC. Most of major service provider user rpid to recognize the caller IDs. <br>Hope this will help.<br><br>-Jai<br>
<br><br><br> <br><div><span class="gmail_quote">On 6/25/07, <b class="gmail_sendername">Edson</b> &lt;<a href="mailto:4lists@gmail.com">4lists@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
You can use the subst(), but I&#39;m not sure if this wouldn&#39;t break RFCs...<br><br>Edson<br><br>&gt;-----Original Message-----<br>&gt;From: <a href="mailto:serusers-bounces@lists.iptel.org">serusers-bounces@lists.iptel.org
</a> [mailto:<a href="mailto:serusers-">serusers-</a><br>&gt;<a href="mailto:bounces@lists.iptel.org">bounces@lists.iptel.org</a>] On Behalf Of Szasz Szabolcs<br>&gt;Sent: segunda-feira, 25 de junho de 2007 08:23<br>&gt;To: SIP
<br>&gt;Cc: <a href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</a><br>&gt;Subject: Re: [Serusers] add prefix to source<br>&gt;<br>&gt;The user part of the uri will be the caller-id in my configuration. I would
<br>&gt;like to add an 5 as prefix to the from_uris user part when I make outgoing<br>&gt;PSTN calls.<br>&gt;<br>&gt;----- Original Message -----<br>&gt;From: &quot;SIP&quot; &lt;<a href="mailto:sip@arcdiv.com">sip@arcdiv.com
</a>&gt;<br>&gt;To: &quot;Szasz Szabolcs&quot; &lt;<a href="mailto:sszasz@digicomm.ro">sszasz@digicomm.ro</a>&gt;<br>&gt;Cc: &lt;<a href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</a>&gt;<br>&gt;Sent: Monday, June 25, 2007 2:15 PM
<br>&gt;Subject: Re: [Serusers] add prefix to source<br>&gt;<br>&gt;<br>&gt;&gt; Okay... I&#39;m a bit confused.&nbsp;&nbsp;What part of the from URI do you consider a<br>&gt;&gt; &#39;prefix&#39; ?<br>&gt;&gt;<br>&gt;&gt; N.<br>&gt;&gt;
<br>&gt;&gt;<br>&gt;&gt; Szasz Szabolcs wrote:<br>&gt;&gt;&gt;&nbsp;&nbsp;Hi!<br>&gt;&gt;&gt;&nbsp;&nbsp;I know the prefix() and the strip() functions, but how can I change the<br>&gt;&gt;&gt;&nbsp;&nbsp;from_uri (caller)?<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;&nbsp;&nbsp;Thanks for the help.
<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; ----- Original Message -----<br>&gt;&gt;&gt;&gt; From: &quot;SIP&quot; &lt;<a href="mailto:sip@arcdiv.com">sip@arcdiv.com</a>&gt;<br>&gt;&gt;&gt;&gt; To: &quot;Szasz Szabolcs&quot; &lt;
<a href="mailto:sszasz@digicomm.ro">sszasz@digicomm.ro</a>&gt;<br>&gt;&gt;&gt;&gt; Sent: Monday, June 25, 2007 12:34 AM<br>&gt;&gt;&gt;&gt; Subject: Re: [Serusers] add prefix to source<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;
<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; Use the prefix() function.<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; i.e. to add the prefix 555 onto the beginning of a URI,<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; prefix(&quot;555&quot;);
<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; N.<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; Szasz Szabolcs wrote:<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;&gt; Hi all<br>&gt;&gt;&gt;&gt;&gt;&gt;&nbsp;&nbsp;I need to add a prefix to the source uri/number.
<br>&gt;&gt;&gt;&gt;&gt;&gt;&nbsp;&nbsp;How ca I do this? Can you help me guys?<br>&gt;&gt;&gt;&gt;&gt;&gt;&nbsp;&nbsp;Thanks a lot<br>&gt;&gt;&gt;&gt;&gt;&gt;&nbsp;&nbsp;Szasz Szabolcs<br>&gt;&gt;&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
<br>&gt;---<br>&gt;&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt;&gt;&gt;&gt; Serusers mailing list<br>&gt;&gt;&gt;&gt;&gt;&gt; <a href="mailto:Serusers@lists.iptel.org">
Serusers@lists.iptel.org</a><br>&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a><br>&gt;&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; --<br>&gt;&gt;&gt;&gt;&gt; This message was scanned for spam and viruses by BitDefender.<br>&gt;&gt;&gt;&gt;&gt; For more information please visit <a href="http://linux.bitdefender.com/">http://linux.bitdefender.com/
</a><br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; --<br>&gt;&gt; This message was scanned for spam and viruses by BitDefender.
<br>&gt;&gt; For more information please visit <a href="http://linux.bitdefender.com/">http://linux.bitdefender.com/</a><br>&gt;&gt;<br>&gt;&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;--<br>&gt;This message was scanned for spam and viruses by BitDefender.
<br>&gt;For more information please visit <a href="http://linux.bitdefender.com/">http://linux.bitdefender.com/</a><br>&gt;<br>&gt;<br>&gt;_______________________________________________<br>&gt;Serusers mailing list<br>&gt;
<a href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</a><br>&gt;<a href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a><br><br>_______________________________________________
<br>Serusers mailing list<br><a href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</a><br><a href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a><br></blockquote>
</div><br>