You can try something like this just before completing the call <br>Say you want to add 4 to the from_uri 555555555<br><br> append_rpid_hf("<sip:4", "@domainname>");<br><br>Hope this will help. <br>
<br>-Jai<br><br><div><span class="gmail_quote">On 6/28/07, <b class="gmail_sendername">Szasz Szabolcs</b> <<a href="mailto:sszasz@digicomm.ro">sszasz@digicomm.ro</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;">
<div bgcolor="#ffffff">
<div><font face="Arial" size="2">Thank you for your ansver.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">How should I use this function? I didn't found
sufficient documentation for this. </font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">can you give an axemple?</font></div><span class="sg">
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Szabolcs</font></div>
</span><blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"><div><span class="e" id="q_11371f578f905978_3">
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div>
<div style="background: rgb(228, 228, 228) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b>
<a title="jprangi@gmail.com" href="mailto:jprangi@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Jai Rangi</a>
</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> <a title="4lists@gmail.com" href="mailto:4lists@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Edson</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Cc:</b> <a title="sszasz@digicomm.ro" href="mailto:sszasz@digicomm.ro" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Szasz Szabolcs</a> ; <a title="sip@arcdiv.com" href="mailto:sip@arcdiv.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">SIP</a> ; <a title="serusers@lists.iptel.org" href="mailto:serusers@lists.iptel.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
serusers@lists.iptel.org</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Monday, June 25, 2007 6:33 PM
</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b> Re: [Serusers] add prefix to
source</div>
<div><br></div>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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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+" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">serusers-bounces@lists.iptel.org
</a>[mailto:<a href="mailto:serusers-" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">serusers-</a><br>><a href="mailto:bounces@lists.iptel.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sip@arcdiv.com </a>><br>>To: "Szasz
Szabolcs" <<a href="mailto:sszasz@digicomm.ro" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sszasz@digicomm.ro</a>><br>>Cc:
<<a href="mailto:serusers@lists.iptel.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sip@arcdiv.com</a>><br>>>>> To:
"Szasz Szabolcs" < <a href="mailto:sszasz@digicomm.ro" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Serusers@lists.iptel.org</a><br>>>>>>>
<a href="http://lists.iptel.org/mailman/listinfo/serusers" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://linux.bitdefender.com/</a><br>><br>><br>>_______________________________________________
<br>>Serusers
mailing list<br>> <a href="mailto:Serusers@lists.iptel.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Serusers@lists.iptel.org</a><br>><a href="http://lists.iptel.org/mailman/listinfo/serusers" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.iptel.org/mailman/listinfo/serusers</a><br><br>_______________________________________________
<br>Serusers mailing list<br><a href="mailto:Serusers@lists.iptel.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Serusers@lists.iptel.org</a><br><a href="http://lists.iptel.org/mailman/listinfo/serusers" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.iptel.org/mailman/listinfo/serusers</a><br></blockquote></div><br>
</span></div><p>
</p><hr>
<p></p><br>-- <span class="q"><br>This message was scanned for spam and viruses by
BitDefender.<br>For more information please visit
<a href="http://linux.bitdefender.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://linux.bitdefender.com/</a><br></span><p></p></blockquote></div>
<br><br>--<br>This message was scanned for spam and viruses by BitDefender.<br>For more information please visit <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://linux.bitdefender.com/" target="_blank">
http://linux.bitdefender.com/</a><br><br></blockquote></div><br>