[Freeswitch-users] problem when adding more extension

Kevin Golding kevin at kgolding.co.uk
Wed Aug 12 01:47:20 PDT 2009


Hello,

I've just had the same problem. Solved it by adding the new extension to 
the default group.

i.e. In the /usr/local/freeswitch/conf/directory/default.xml file you 
need to add <user id="1050" type="pointer"> with one of the "group" 
blocks (e.g. after the line <group name="default">

Kevin

Tzury Bar Yochay wrote:
> Hi,
> 
> I wanted to add more extension to freeswitch.
> to add extension 1050 with password 1234 I did the following:
> 
> $ cd /usr/local/freeswitch/conf/directory/default
> 
> created 1050.xml having all '1000' strings replaced by '1050' by typing
> $ sed s/1000/1050/g < 1000.xml > 1050.xml
> 
> rescan and reload the xml by typing into the CLI
> 
> freeswitch at internal> sofia profile internal rescan reloadxml
> 
> However, when I tried to login with these credentials I got the
> following in the fs_cli:
> 
> 2009-08-12 06:35:01 [DEBUG] sofia_reg.c:1469 sofia_reg_parse_auth()
> SIP username 1050 does not match auth username
> 2009-08-12 06:35:01 [DEBUG] sofia_reg.c:869
> sofia_reg_handle_register() Send challenge for
> [1050 at server_address.net]
> 
> below are the content of 1000 and 1050 xml files
> 
> please advise.
> 
> 
> $ cat 1050.xml
> <include>
>  <user id="1050" mailbox="1050">
>    <params>
>      <param name="password" value="1234"/>
>      <param name="vm-password" value="1050"/>
>    </params>
>    <variables>
>      <variable name="toll_allow" value="domestic,international,local"/>
>      <variable name="accountcode" value="1050"/>
>      <variable name="user_context" value="default"/>
>      <variable name="effective_caller_id_name" value="Extension 1050"/>
>      <variable name="effective_caller_id_number" value="1050"/>
>      <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"/>
>    </variables>
>  </user>
> </include>
> 
> $ cat 1000.xml
> <include>
>  <user id="1000" mailbox="1000">
>    <params>
>      <param name="password" value="1234"/>
>      <param name="vm-password" value="1000"/>
>    </params>
>    <variables>
>      <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"/>
>    </variables>
>  </user>
> </include>
> 
> _______________________________________________
> 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
> 





More information about the FreeSWITCH-users mailing list