Thanks for your reply Paul,

That didn't do it though...

        From: "David" <sip:123@1.2.3.4:5060;transport=udp>;tag=1Brrjt9Hev49c
            SIP Display info: "David" 
            SIP from address: sip:123@1.2.3.4:5060
                SIP from address User Part: 123
                SIP from address Host Part: 1.2.3.4
                SIP from address Host Port: 5060
            SIP tag: 1Brrjt9Hev49c


David

On Sat, Nov 19, 2011 at 11:04 AM, Paul Cupis <paul@cupis.co.uk> wrote:
On 19/11/11 03:12, David Villasmil wrote:
> When I create a GW it MUST have a username and password in the sofia
> config, so i set a generic one like "123"
>
> Problem is, i need to send out in the FROM the callerid of the actual
> caller...

Try effective_caller_id_number:

http://wiki.freeswitch.org/wiki/Channel_Variables#effective_caller_id_number

Regards,

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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