maybe you can try sip_invite_from_params or sip_invite_to_params,

for example

{sip_invite_from_params=otg=mytrunk}sofia/gateway/sonus/$1

Result:

From: <sip:5552345678@sonus:5060;otg=mytrunk>;tag=blah



2013/9/20 Andre <andretodd@verizon.net>

What is the variable to find the SIP port in a dial plan? I’m looking for the 5060 port (assuming I didn’t change it in the profile).

 

 


_________________________________________________________________________
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