You can use append_rpid_hf <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> <<a href="mailto:4lists@gmail.com">4lists@gmail.com</a>> 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'm not sure if this wouldn't break RFCs...<br><br>Edson<br><br>>-----Original Message-----<br>>From: <a href="mailto:serusers-bounces@lists.iptel.org">serusers-bounces@lists.iptel.org
</a> [mailto:<a href="mailto:serusers-">serusers-</a><br>><a href="mailto:bounces@lists.iptel.org">bounces@lists.iptel.org</a>] On Behalf Of Szasz Szabolcs<br>>Sent: segunda-feira, 25 de junho de 2007 08:23<br>>To: SIP
<br>>Cc: <a href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</a><br>>Subject: Re: [Serusers] add prefix to source<br>><br>>The user part of the uri will be the caller-id in my configuration. I would
<br>>like to add an 5 as prefix to the from_uris user part when I make outgoing<br>>PSTN calls.<br>><br>>----- Original Message -----<br>>From: "SIP" <<a href="mailto:sip@arcdiv.com">sip@arcdiv.com
</a>><br>>To: "Szasz Szabolcs" <<a href="mailto:sszasz@digicomm.ro">sszasz@digicomm.ro</a>><br>>Cc: <<a href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</a>><br>>Sent: Monday, June 25, 2007 2:15 PM
<br>>Subject: Re: [Serusers] add prefix to source<br>><br>><br>>> Okay... I'm a bit confused. What part of the from URI do you consider a<br>>> 'prefix' ?<br>>><br>>> N.<br>>>
<br>>><br>>> Szasz Szabolcs wrote:<br>>>> Hi!<br>>>> I know the prefix() and the strip() functions, but how can I change the<br>>>> from_uri (caller)?<br>>>><br>>>> Thanks for the help.
<br>>>><br>>>>> ----- Original Message -----<br>>>>> From: "SIP" <<a href="mailto:sip@arcdiv.com">sip@arcdiv.com</a>><br>>>>> To: "Szasz Szabolcs" <
<a href="mailto:sszasz@digicomm.ro">sszasz@digicomm.ro</a>><br>>>>> Sent: Monday, June 25, 2007 12:34 AM<br>>>>> Subject: Re: [Serusers] add prefix to source<br>>>>><br>>>>>
<br>>>>><br>>>>>> Use the prefix() function.<br>>>>>><br>>>>>> i.e. to add the prefix 555 onto the beginning of a URI,<br>>>>>><br>>>>>> prefix("555");
<br>>>>>><br>>>>>> N.<br>>>>>><br>>>>>><br>>>>>> Szasz Szabolcs wrote:<br>>>>>><br>>>>>>> Hi all<br>>>>>>> I need to add a prefix to the source uri/number.
<br>>>>>>> How ca I do this? Can you help me guys?<br>>>>>>> Thanks a lot<br>>>>>>> Szasz Szabolcs<br>>>>>>> ---------------------------------------------------------------------
<br>>---<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>>>>>>><br>>>>>><br>
>>>>> --<br>>>>>> This message was scanned for spam and viruses by BitDefender.<br>>>>>> For more information please visit <a href="http://linux.bitdefender.com/">http://linux.bitdefender.com/
</a><br>>>>>><br>>>>>><br>>>>>><br>>>><br>>>><br>>>><br>>>><br>>><br>>><br>>><br>>> --<br>>> This message was scanned for spam and viruses by BitDefender.
<br>>> For more information please visit <a href="http://linux.bitdefender.com/">http://linux.bitdefender.com/</a><br>>><br>>><br>><br>><br>><br>>--<br>>This message was scanned for spam and viruses by BitDefender.
<br>>For more information please visit <a href="http://linux.bitdefender.com/">http://linux.bitdefender.com/</a><br>><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><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>