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