thanks a lot Anthony, I consider the work is done and I did the paypal transfer of 200$. But I'll be happy if you could do some minor changes: I used this in the dialplan: <action application="bridge" data="{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=000000${sip_contact_user},origina\ tion_privacy=screen+hide_name+hide_number,sip_from_uri=sip:anonymous@anonymous.invalid}sofia/ss7/000000${destination_number}@${GW_IP}"/> and I get this From: "test" <sip:anonymous@anonymous.invalid>;tag=tQ52gmv6NyN0D. Remote-Party-ID: "test" <sip:000000123456789@anonymous.invalid>;party=calling;screen=yes;privacy=off. as you may see, the origination_caller_id_name has been put in the from URI, and the domain part in the remote party ID has been transformed to @anonymous.invalid. It would be perfect if I could get this instead: From: "Anonymous" <sip:anonymous@anonymous.invalid>;tag=tQ52gmv6NyN0D. Remote-Party-ID: "test" <sip:000000123456789@172.29.0.5>;party=calling;screen=yes;privacy=off. where 172.29.0.5 is the external IP used by FS to bridge the call in this example (but I'm sure you already know this :p) regards, rod Anthony Minessale wrote:
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 <mailto: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 <mailto:sip%3A1234@172.29.0.5>>;tag=X4v4Kvt1B2DQF Remote-Party-ID: "test" <sip:1234@172.29.0.5 <mailto: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 <mailto: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 <mailto: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> > <mailto:user@example.com <mailto:user@example.com>> > > Send RPID (default) > {sip_cid_type=rpid}sofia/default/user@example.com <mailto:user@example.com> > <mailto:user@example.com <mailto:user@example.com>> > > Send P-XXX-Identity > {sip_cid_type=pid}sofia/default/user@example.com <mailto:user@example.com> > <mailto: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> > <mailto: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> > <mailto:user@example.com <mailto:user@example.com>> Send RPID (default) > {sip_cid_type=rpid}sofia/default/user@example.com <mailto:user@example.com> > <mailto:user@example.com <mailto:user@example.com>> Send P-XXX-Identity > {sip_cid_type=pid}sofia/default/user@example.com <mailto:user@example.com> > <mailto: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> > <mailto: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> > <mailto: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> > <mailto:user@example.com <mailto:user@example.com>> Send RPID (default) > {sip_cid_type=rpid}sofia/default/user@example.com <mailto:user@example.com> > <mailto:user@example.com <mailto:user@example.com>> Send P-XXX-Identity > {sip_cid_type=pid}sofia/default/user@example.com <mailto:user@example.com> > <mailto: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> > <mailto: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> <mailto: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> > <mailto: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 <mailto:MSN%3Aanthony_minessale@hotmail.com> > <mailto:MSN%3Aanthony_minessale@hotmail.com <mailto:MSN%253Aanthony_minessale@hotmail.com>> > GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> > <mailto:PAYPAL%3Aanthony.minessale@gmail.com <mailto:PAYPAL%253Aanthony.minessale@gmail.com>> > IRC: irc.freenode.net <http://irc.freenode.net> <http://irc.freenode.net> #freeswitch > > FreeSWITCH Developer Conference > sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> > <mailto:sip%3A888@conference.freeswitch.org <mailto:sip%253A888@conference.freeswitch.org>> > iax:guest@conference.freeswitch.org/888 <http://iax:guest@conference.freeswitch.org/888> > <http://iax:guest@conference.freeswitch.org/888> > googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> > <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org <mailto:googletalk%253Aconf%252B888@conference.freeswitch.org>> > pstn:213-799-1400 > ------------------------------------------------------------------------ > > _______________________________________________ > 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 >
_______________________________________________ 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 <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 <http://iax:guest@conference.freeswitch.org/888> googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@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