[Freeswitch-users] Set sip_from_user with channel variable?

Andrew Cassidy andrew at cassidywebservices.co.uk
Sat Aug 23 14:58:19 MSD 2014


add this to your gateway profile:

<param name="caller-id-in-from" value="true"/>



On 22 August 2014 22:15, Bruce Lefko <blefko5361 at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 
> 
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at 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 at cassidywebservices.co.uk> *03300 100 960  *F
<info at cassidywebservices.co.uk> *03300 100 961
*E <info at cassidywebservices.co.uk> *andrew at cassidywebservices.co.uk
*W <info at cassidywebservices.co.uk> *www.cassidywebservices.co.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140823/c18eae1d/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list