Set sip_from_user with channel variable?
My SIP provider requires me to pass the caller ID number using the SIP from header and they ignore the value in the Remote Party ID field. Is there a way to set a channel variable that will impact the SIP from header? I've tried setting sip_from_user, sip_auth_username, user_name to the caller ID, but FreeSWITCH keeps defaulting to "FreeSWITCH" as the username. My sip profile simply looks like this: <include> <gateway name="myprovider"> <param name="proxy" value="THE_IP"/> <param name="context" value="public"/> <param name="register" value="false"/> </gateway> </include> Thanks!
add this to your gateway profile: <param name="caller-id-in-from" value="true"/> On 22 August 2014 22:15, Bruce Lefko <blefko5361@gmail.com> wrote:
My SIP provider requires me to pass the caller ID number using the SIP from header and they ignore the value in the Remote Party ID field.
Is there a way to set a channel variable that will impact the SIP from header?
I've tried setting sip_from_user, sip_auth_username, user_name to the caller ID, but FreeSWITCH keeps defaulting to "FreeSWITCH" as the username.
My sip profile simply looks like this:
<include> <gateway name="myprovider"> <param name="proxy" value="THE_IP"/> <param name="context" value="public"/> <param name="register" value="false"/> </gateway> </include>
Thanks!
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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
-- *Andrew Cassidy BSc (Hons) MBCS SSCA* Managing Director *T <info@cassidywebservices.co.uk> *03300 100 960 *F <info@cassidywebservices.co.uk> *03300 100 961 *E <info@cassidywebservices.co.uk> *andrew@cassidywebservices.co.uk *W <info@cassidywebservices.co.uk> *www.cassidywebservices.co.uk
participants (2)
-
Andrew Cassidy
-
Bruce Lefko