[Freeswitch-users] Local call uses public context?

Brian West brian at freeswitch.org
Mon Dec 28 14:57:49 PST 2009


    <list name="domains" default="deny">                                                                                                                        
      <node type="allow" domain="$${domain}"/>                                                                                                                  

sofia profile:

    <domain name="all" alias="true" parse="false"/>                                                                                                             


<param name="apply-inbound-acl" value="domains"/>

Then here is an example of a user:

  <user id="1000" cidr=>                                                                                                                                              
      <param name="password" value="$${default_password}"/>                                                                                                     
      <param name="vm-password" value="1000"/>                                                                                                                  
      <variable name="toll_allow" value="domestic,international,local"/>                                                                                        
      <variable name="accountcode" value="1000"/>                                                                                                               
      <variable name="user_context" value="default"/>                                                                                                           
      <variable name="effective_caller_id_name" value="Extension 1000"/>                                                                                        
      <variable name="effective_caller_id_number" value="1000"/>                                                                                                
      <variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/>                                                                               
      <variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/>                                                                               
      <variable name="callgroup" value="techsupport"/>                                                                                                          

Now save that.. restart freeswitch and you now let that user in from and set the user_context to default.


More information about the FreeSWITCH-users mailing list