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:[email protected]}sofia/ss7/000000${destination_numb...@${gw_ip}"/>

and I get this

From: "test" <sip:[email protected]>;tag=tQ52gmv6NyN0D.
Remote-Party-ID: "test" 
<sip:[email protected]>;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:[email protected]>;tag=tQ52gmv6NyN0D.
Remote-Party-ID: "test" 
<sip:[email protected]>;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:[email protected]} to your dial string.
>
>
> On Tue, Mar 10, 2009 at 9:30 AM, rod <[email protected] 
> <mailto:[email protected]>> 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:[email protected]
>     <mailto:sip%[email protected]>>;tag=X4v4Kvt1B2DQF
>     Remote-Party-ID: "test"
>     <sip:[email protected]
>     <mailto:sip%[email protected]>>;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:[email protected]>;tag=z07m5db13cb-cbs450547977-o-5273-368294925
>
>     it is changed like this on B-leg:
>     From: "test" <sip:[email protected]
>     <mailto:sip%[email protected]>>;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:[email protected];user=phone>;tag=c0a80101-fed0c
>     on B-leg:
>     From: "Anonymous" <sip:[email protected]
>     <mailto:sip%[email protected]>>;tag=tpjD57U2pyrFN
>
>     and I'd like B-leg to match A-leg for anonymous call as stated in RFC,
>     [email protected] 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/[email protected]
>     <mailto:[email protected]>
>     > <mailto:[email protected] <mailto:[email protected]>>
>     >
>     > Send RPID (default)
>     > {sip_cid_type=rpid}sofia/default/[email protected]
>     <mailto:[email protected]>
>     > <mailto:[email protected] <mailto:[email protected]>>
>     >
>     > Send P-XXX-Identity
>     > {sip_cid_type=pid}sofia/default/[email protected]
>     <mailto:[email protected]>
>     > <mailto:[email protected] <mailto:[email protected]>>
>     >
>     > Send RPID with chosen content
>     >
>     
> {sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/[email protected]
>     <mailto:[email protected]>
>     > <mailto:[email protected] <mailto:[email protected]>>
>     > [ 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/[email protected]
>     <mailto:[email protected]>
>     > <mailto:[email protected] <mailto:[email protected]>> Send RPID
>     (default)
>     > {sip_cid_type=rpid}sofia/default/[email protected]
>     <mailto:[email protected]>
>     > <mailto:[email protected] <mailto:[email protected]>> Send
>     P-XXX-Identity
>     > {sip_cid_type=pid}sofia/default/[email protected]
>     <mailto:[email protected]>
>     > <mailto:[email protected] <mailto:[email protected]>> Send RPID
>     with chosen content
>     >
>     
> {sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/[email protected]
>     <mailto:[email protected]>
>     > <mailto:[email protected] <mailto:[email protected]>>
>     >
>     > 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/[email protected]
>     <mailto:[email protected]>
>     > <mailto:[email protected] <mailto:[email protected]>>
>     >
>     >
>     > [ 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/[email protected]
>     <mailto:[email protected]>
>     > <mailto:[email protected] <mailto:[email protected]>> Send RPID
>     (default)
>     > {sip_cid_type=rpid}sofia/default/[email protected]
>     <mailto:[email protected]>
>     > <mailto:[email protected] <mailto:[email protected]>> Send
>     P-XXX-Identity
>     > {sip_cid_type=pid}sofia/default/[email protected]
>     <mailto:[email protected]>
>     > <mailto:[email protected] <mailto:[email protected]>> Send RPID
>     with chosen content
>     >
>     
> {sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/[email protected]
>     <mailto:[email protected]>
>     > <mailto:[email protected] <mailto:[email protected]>>
>     >
>     >
>     > 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
>     > <[email protected] <mailto:[email protected]>
>     <mailto:[email protected] <mailto:[email protected]>>>
>     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
>     >     [email protected]
>     <mailto:[email protected]>
>     >     <mailto:[email protected]
>     <mailto:[email protected]>>
>     >     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:[email protected]
>     <mailto:msn%[email protected]>
>     > <mailto:msn%[email protected]
>     <mailto:msn%[email protected]>>
>     > GTALK/JABBER/PAYPAL:[email protected]
>     <mailto:paypal%[email protected]>
>     > <mailto:paypal%[email protected]
>     <mailto:paypal%[email protected]>>
>     > IRC: irc.freenode.net <http://irc.freenode.net>
>     <http://irc.freenode.net> #freeswitch
>     >
>     > FreeSWITCH Developer Conference
>     > sip:[email protected]
>     <mailto:sip%[email protected]>
>     > <mailto:sip%[email protected]
>     <mailto:sip%[email protected]>>
>     > iax:[email protected]/888
>     <http://iax:[email protected]/888>
>     > <http://iax:[email protected]/888>
>     > googletalk:[email protected]
>     <mailto:googletalk%3aconf%[email protected]>
>     > <mailto:googletalk%3aconf%[email protected]
>     <mailto:googletalk%253aconf%[email protected]>>
>     > pstn:213-799-1400
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > Freeswitch-users mailing list
>     > [email protected]
>     <mailto:[email protected]>
>     > 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
>     [email protected]
>     <mailto:[email protected]>
>     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:[email protected] 
> <mailto:msn%[email protected]>
> GTALK/JABBER/PAYPAL:[email protected] 
> <mailto:paypal%[email protected]>
> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
>
> FreeSWITCH Developer Conference
> sip:[email protected] 
> <mailto:sip%[email protected]>
> iax:[email protected]/888 
> <http://iax:[email protected]/888>
> googletalk:[email protected] 
> <mailto:googletalk%3aconf%[email protected]>
> pstn:213-799-1400
> ------------------------------------------------------------------------
>
> _______________________________________________
> Freeswitch-users mailing list
> [email protected]
> 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
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to