Look in sofia_glue.c in do_invite at all the variables you can set... -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED) On Sep 17, 2013, at 8:32 AM, Seudin Kasumovic <seudin.kasumovic@gmail.com> wrote:
Hi,
Call comes over external gateway and pass to another external gateway via outbound proxy (no authentication nor registration), but on b-leg contact header is not as expected username from tag 'From:' of a-leg.
a-leg works correct for inbound calls via external gateway:
Contact: <sip:1001@1.2.3.4:5060;transport=udp>
but b-leg (outbound calls) has header set to:
Contact: <sip:auto_to_user@1.2.3.4:5060;transport=udp;gw=mygw>
I tried to set empty value or comment this line of external gateway:
<param name="extension" value="auto_to_user"/>
but then call failed.
How to set user in contact header on b-leg or/and what to export from dial plan to populate user in contact header on external gateway?
Regards, Seudin _________________________________________________________________________ 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