[Freeswitch-users] user variables on outbound calls

mbo mbodbg at gmx.net
Wed Jun 27 15:00:41 MSD 2012


ok, if I'm using digest based authentication the variables are filled. Do you know why it is like that?

Thanks 

Markus


Am 26.06.2012 um 21:22 schrieb Michael Collins:

> Are you using digest authentication or ACL? Get a console debug log and drop it onto pastebin.freeswitch.org.
> -MC
> 
> On Tue, Jun 26, 2012 at 11:27 AM, mbo <mbodbg at gmx.net> wrote:
> Hello,
> 
> I've configured the following sip extension :
> 
>  <user id="1005">
>    <params>
>      <param name="password" value="$${default_password}"/>
>      <param name="vm-password" value="1005"/>
>    </params>
>    <variables>
>      <variable name="effective_caller_id_name" value="0221123456789"/>
>      <variable name="effective_caller_id_number" value="02212345679" />
>      <variable name="outbound_caller_id_name" value="02212345679"/>
>      <variable name="outbound_caller_id_number" value="02212345679"/>
>      <variable name="user_context" value="sipoutbound"/>
>    </variables>
>  </user>
> 
> When I'm dialing out from my sip client, the variables effective_caller_id_number and outbound_caller_id_number are not set.
> 
>  <context name="sipoutbound">
>         <extension name="socket">
>                <condition field="destination_number" expression="^(\d{5,20})$">
>                        <action application="set" data="calltype=OUTBOUND" />
>                        <action application="log" data="CRIT effective_caller_id_number ${effective_caller_id_number}"/>
>                        <action application="log" data="CRIT outbound_caller_id_number ${outbound_caller_id_number}"/>
>                        <action application="socket" data="192.168.1.185:8025 async full" />
>                        <action application="log" data="DEBUG Back from Socket"/>
>                </condition>
>        </extension>
>  </context>
> 
> 
> should't the variables be see with that configuration?
> 
> Thanks
> 
> Markus
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> Join Us At ClueCon - Aug 7-9, 2012
> 
> 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
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> Join Us At ClueCon - Aug 7-9, 2012
> 
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120627/149d0bdd/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list