Newbie question on freeswitch
HI list i am new to Freeswitch, i am successfully install freeswitchand i use the default configi use 1000 and 1001 to register successfull and make call between 2 endpoints fine after that, i create a new 8000.xml file which in the same location as 1000.xmlfreeswitch:/usr/local/freeswitch/conf/directory# cat default/8000.xml<include> <user id="8000"> <params> <param name="password" value="$${default_password}"/> <param name="vm-password" value="1000"/> </params> <variables> <variable name="toll_allow" value="domestic,international,local"/> <variable name="accountcode" value="8000"/> <variable name="user_context" value="default"/> <variable name="effective_caller_id_name" value="Extension 8000"/> <variable name="effective_caller_id_number" value="8000"/> <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> the 8000 is registered successfull but i cannot use the 1000 call to 8000 please helpHa` Cảm giác an toàn hơn khi online. Nâng cấp lên Internet Explorer 8 mới, an toàn hơn,tối ưu hóa cho Yahoo!. Hoàn toàn miễn phí. Tải IE8 tại đây! http://downloads.yahoo.com/vn/internetexplorer/
Look at the Local_Extension in dialplan/default.xml The regex doesn't match 8000 so you can call from one to another. All you gotta do is change that and issue a reloadxml on fs_cli. Regards, João Mesquita On Wed, Mar 17, 2010 at 12:29 PM, false <cucku.cucku@yahoo.com.vn> wrote:
HI list
i am new to Freeswitch, i am successfully install freeswitch and i use the default config i use 1000 and 1001 to register successfull and make call between 2 endpoints fine
after that, i create a new 8000.xml file which in the same location as 1000.xml freeswitch:/usr/local/freeswitch/conf/directory# cat default/8000.xml <include> <user id="8000"> <params> <param name="password" value="$${default_password}"/> <param name="vm-password" value="1000"/> </params> <variables> <variable name="toll_allow" value="domestic,international,local"/> <variable name="accountcode" value="8000"/> <variable name="user_context" value="default"/> <variable name="effective_caller_id_name" value="Extension 8000"/> <variable name="effective_caller_id_number" value="8000"/> <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>
the 8000 is registered successfull but i cannot use the 1000 call to 8000
please help Ha`
Bạn có blog trên Yahoo! 360plus chưa? Đăng ký _______________________________________________ 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
Adjust the dial plan to call extension 8000. The default Dial plan like below <condition field="destination_number" expression="^(10[01][0-9])$"> change to <condition field="destination_number" expression="^(*[1-8]*0[01][0-9])$"> then reloadxml Hope this help you. Lloyd On Wed, Mar 17, 2010 at 11:29 AM, false <cucku.cucku@yahoo.com.vn> wrote:
HI list
i am new to Freeswitch, i am successfully install freeswitch and i use the default config i use 1000 and 1001 to register successfull and make call between 2 endpoints fine
after that, i create a new 8000.xml file which in the same location as 1000.xml freeswitch:/usr/local/freeswitch/conf/directory# cat default/8000.xml <include> <user id="8000"> <params> <param name="password" value="$${default_password}"/> <param name="vm-password" value="1000"/> </params> <variables> <variable name="toll_allow" value="domestic,international,local"/> <variable name="accountcode" value="8000"/> <variable name="user_context" value="default"/> <variable name="effective_caller_id_name" value="Extension 8000"/> <variable name="effective_caller_id_number" value="8000"/> <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>
the 8000 is registered successfull but i cannot use the 1000 call to 8000
please help Ha`
Bạn có blog trên Yahoo! 360plus chưa? Đăng ký _______________________________________________ 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
On Wed, Mar 17, 2010 at 8:51 AM, Aloysius Lloyd <lloyd.aloysius@gmail.com>wrote:
Adjust the dial plan to call extension 8000. The default Dial plan like below
<condition field="destination_number" expression="^(10[01][0-9])$">
change to
<condition field="destination_number" expression="^(*[1-8]*0[01][0-9])$">
Careful! This causes LOTS of different dialed numbers to match. You might try this instead: <condition field="destination_number" expression="^(8000|10[01][0-9])$"> This subject is covered nicely in the newbie article: http://bit.ly/EpVrv -MC
participants (4)
-
Aloysius Lloyd
-
false
-
João Mesquita
-
Michael Collins