ok if you are up to date you should be able to add<br><br>{sip_from_uri=sip:anonymous@anonymous.invalid} to your dial string.<br><br><br><div class="gmail_quote">On Tue, Mar 10, 2009 at 9:30 AM, rod <span dir="ltr"><<a href="mailto:kawarod@laposte.net">kawarod@laposte.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Anthony,<br>
<br>
thanks for this but I'd like to know if it's possible also to change<br>
only the caller_id_name and caller_id_number without modifying the from<br>
header.<br>
<br>
ex: with the origination variables I get this<br>
From: "test" <<a href="mailto:sip%3A1234@172.29.0.5">sip:1234@172.29.0.5</a>>;tag=X4v4Kvt1B2DQF<br>
Remote-Party-ID: "test"<br>
<<a href="mailto:sip%3A1234@172.29.0.5">sip:1234@172.29.0.5</a>>;party=calling;screen=yes;privacy=off<br>
<br>
and in the case of an anonymous call where from is like this on A-leg:<br>
From: Anonymous<br>
<sip:anonymous@anonymous.invalid>;tag=z07m5db13cb-cbs450547977-o-5273-368294925<br>
<br>
it is changed like this on B-leg:<br>
From: "test" <<a href="mailto:sip%3A1234@172.29.0.5">sip:1234@172.29.0.5</a>>;tag=X4v4Kvt1B2DQF<br>
<br>
Moreover, in case of a bridged call, could you add the possibility to<br>
pass as is from header for an anonymous call.<br>
Running current, I have this:<br>
on A-leg:<br>
From:<br>
"Anonymous"<sip:anonymous@anonymous.invalid;user=phone>;tag=c0a80101-fed0c<br>
on B-leg:<br>
From: "Anonymous" <<a href="mailto:sip%3Aanonymous@172.29.0.5">sip:anonymous@172.29.0.5</a>>;tag=tpjD57U2pyrFN<br>
<br>
and I'd like B-leg to match A-leg for anonymous call as stated in RFC,<br>
anonymous@anonymous.invalid is the proposed way to handle anonymous<br>
call, I'll add 50$ more for support of this last request.<br>
<br>
thanks for your reactivity.<br>
regards,<br>
rod<br>
<div class="im"><br>
Anthony Minessale wrote:<br>
> Latest SVN:<br>
><br>
> Send no extra caller id info:<br>
> {sip_cid_type=none}sofia/default/<a href="mailto:user@example.com">user@example.com</a><br>
</div>> <mailto:<a href="mailto:user@example.com">user@example.com</a>><br>
<div class="im">><br>
> Send RPID (default)<br>
> {sip_cid_type=rpid}sofia/default/<a href="mailto:user@example.com">user@example.com</a><br>
</div>> <mailto:<a href="mailto:user@example.com">user@example.com</a>><br>
<div class="im">><br>
> Send P-XXX-Identity<br>
> {sip_cid_type=pid}sofia/default/<a href="mailto:user@example.com">user@example.com</a><br>
</div>> <mailto:<a href="mailto:user@example.com">user@example.com</a>><br>
<div class="im">><br>
> Send RPID with chosen content<br>
> {sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/<a href="mailto:user@example.com">user@example.com</a><br>
</div><div class="im">> <mailto:<a href="mailto:user@example.com">user@example.com</a>><br>
> [ Show » <<a href="http://jira.freeswitch.org/browse/BOUNTY-2" target="_blank">http://jira.freeswitch.org/browse/BOUNTY-2</a>> ]<br>
> Anthony Minessale II<br>
</div>> <<a href="http://jira.freeswitch.org/secure/ViewProfile.jspa?name=anthm" target="_blank">http://jira.freeswitch.org/secure/ViewProfile.jspa?name=anthm</a>> added<br>
<div class="im">> a comment - 10/Mar/09 07:59 AM Send no extra caller id info:<br>
> {sip_cid_type=none}sofia/default/<a href="mailto:user@example.com">user@example.com</a><br>
</div>> <mailto:<a href="mailto:user@example.com">user@example.com</a>> Send RPID (default)<br>
<div class="im">> {sip_cid_type=rpid}sofia/default/<a href="mailto:user@example.com">user@example.com</a><br>
</div>> <mailto:<a href="mailto:user@example.com">user@example.com</a>> Send P-XXX-Identity<br>
<div class="im">> {sip_cid_type=pid}sofia/default/<a href="mailto:user@example.com">user@example.com</a><br>
</div>> <mailto:<a href="mailto:user@example.com">user@example.com</a>> Send RPID with chosen content<br>
<div class="im">> {sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/<a href="mailto:user@example.com">user@example.com</a><br>
</div>> <mailto:<a href="mailto:user@example.com">user@example.com</a>><br>
<div class="im">><br>
> Send RPID with chosen content and privacy flags (+ delimited, none to<br>
> clear all flags)<br>
> {sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234,origination_privacy=screen+hide_name+hide_number}sofia/default/<a href="mailto:user@example.com">user@example.com</a><br>
</div><div class="im">> <mailto:<a href="mailto:user@example.com">user@example.com</a>><br>
><br>
><br>
> [ Show » <<a href="http://jira.freeswitch.org/browse/BOUNTY-2" target="_blank">http://jira.freeswitch.org/browse/BOUNTY-2</a>> ]<br>
> Anthony Minessale II<br>
</div>> <<a href="http://jira.freeswitch.org/secure/ViewProfile.jspa?name=anthm" target="_blank">http://jira.freeswitch.org/secure/ViewProfile.jspa?name=anthm</a>> added<br>
<div class="im">> a comment - 10/Mar/09 07:59 AM Send no extra caller id info:<br>
> {sip_cid_type=none}sofia/default/<a href="mailto:user@example.com">user@example.com</a><br>
</div>> <mailto:<a href="mailto:user@example.com">user@example.com</a>> Send RPID (default)<br>
<div class="im">> {sip_cid_type=rpid}sofia/default/<a href="mailto:user@example.com">user@example.com</a><br>
</div>> <mailto:<a href="mailto:user@example.com">user@example.com</a>> Send P-XXX-Identity<br>
<div class="im">> {sip_cid_type=pid}sofia/default/<a href="mailto:user@example.com">user@example.com</a><br>
</div>> <mailto:<a href="mailto:user@example.com">user@example.com</a>> Send RPID with chosen content<br>
<div class="im">> {sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/<a href="mailto:user@example.com">user@example.com</a><br>
</div>> <mailto:<a href="mailto:user@example.com">user@example.com</a>><br>
<div class="im">><br>
><br>
> Also the privacy app on the inbound leg controls the remaining<br>
> contents of the RPID and Privacy headers.<br>
><br>
><br>
> On Tue, Mar 10, 2009 at 7:32 AM, kokoska rokoska<br>
</div><div class="im">> <<a href="mailto:kokoska.rokoska@post.cz">kokoska.rokoska@post.cz</a> <mailto:<a href="mailto:kokoska.rokoska@post.cz">kokoska.rokoska@post.cz</a>>> wrote:<br>
><br>
><br>
> rod napsal(a):<br>
> > ... if we could strip the RPID, we could write a new one, but It<br>
> > could be very convenient to get access to the fields in this<br>
> header for<br>
> > manipulation.<br>
> ><br>
><br>
> Yes, rod, this is exactly why I update bounty to $100 :-)<br>
><br>
> Thank you very much, rod, for support!<br>
><br>
> Best regards,<br>
><br>
> kokoska.rokoska<br>
><br>
><br>
> _______________________________________________<br>
> Freeswitch-users mailing list<br>
> <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
</div>> <mailto:<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>><br>
<div class="im">> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
><br>
><br>
> --<br>
> Anthony Minessale II<br>
><br>
> FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
> ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
><br>
> AIM: anthm<br>
> <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
</div>> <mailto:<a href="mailto:MSN%253Aanthony_minessale@hotmail.com">MSN%3Aanthony_minessale@hotmail.com</a>><br>
<div class="im">> GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
</div>> <mailto:<a href="mailto:PAYPAL%253Aanthony.minessale@gmail.com">PAYPAL%3Aanthony.minessale@gmail.com</a>><br>
> IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> <<a href="http://irc.freenode.net" target="_blank">http://irc.freenode.net</a>> #freeswitch<br>
<div class="im">><br>
> FreeSWITCH Developer Conference<br>
> <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
</div>> <mailto:<a href="mailto:sip%253A888@conference.freeswitch.org">sip%3A888@conference.freeswitch.org</a>><br>
<div class="im">> <a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
</div>> <<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">http://iax:guest@conference.freeswitch.org/888</a>><br>
<div class="im">> <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
</div>> <mailto:<a href="mailto:googletalk%253Aconf%252B888@conference.freeswitch.org">googletalk%3Aconf%2B888@conference.freeswitch.org</a>><br>
> pstn:213-799-1400<br>
> ------------------------------------------------------------------------<br>
<div><div></div><div class="h5">><br>
> _______________________________________________<br>
> Freeswitch-users mailing list<br>
> <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
<br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>