I am new to Freewitch and VOIP in general so I apologize for the dumb questions
in advance. Which of course makes it alright!
I successfully downloaded and installed CentOS and compiled and installed
Freeswitch.
I have 3 polycom 501 phones connected and working. They can dial most of the
features from the default dialplan, like conferencing, MOH, etc.
When I dial 1 immediately goes to busy signal and has this output on the CLI.
2008-04-19 05:24:38 [NOTICE] switch_channel.c:531 switch_channel_set_name() New
Channel sofia/default/[EMAIL PROTECTED] [45bf1fa0-66cc-4f1f-9e8d-6d45bd8ef391]
2008-04-19 05:24:38 [INFO] mod_dialplan_xml.c:223 dialplan_hunt() Processing
1002->[EMAIL PROTECTED]
2008-04-19 05:24:38 [NOTICE] switch_ivr.c:1032 switch_ivr_session_transfer()
Transfer sofia/default/[EMAIL PROTECTED] to [EMAIL PROTECTED]
2008-04-19 05:24:38 [INFO] switch_core_state_machine.c:113
switch_core_standard_on_ring() No Route, Aborting
2008-04-19 05:24:38 [NOTICE] switch_core_state_machine.c:114
switch_core_standard_on_ring() Hangup sofia/default/[EMAIL PROTECTED] [CS_RING]
[NO_ROUTE_DESTINATION]
2008-04-19 05:24:38 [NOTICE] switch_core_session.c:748
switch_core_session_thread() Session 61 (sofia/default/[EMAIL PROTECTED]) Ended
2008-04-19 05:24:38 [NOTICE] switch_core_session.c:750
switch_core_session_thread() Close Channel sofia/default/[EMAIL PROTECTED]
[CS_HANGUP]
This should not be the case because the regular expression below in the default
plan should pick this up. I change the expression to "^9(10[01][0-9])$" and
then I dialed 9 and the extension and it worked!
Does anyone have an idea why that is happening? Is there some setting on the
phone that makes it recognize 1 as something else?
Here is the dialplan for local extensions.
<extension name="Local_Extension">
<condition field="destination_number" expression="^(10[01][0-9])$">
<action application="set" data="dialed_ext=$1"/>
<action application="export" data="dialed_ext=$1"/>
</condition>
<condition field="destination_number" expression="^${caller_id_number}$">
<action application="set"
data="voicemail_authorized=${sip_authorized}"/>
<action application="answer"/>
<action application="sleep" data="1000"/>
<action application="voicemail" data="check default $${domain}
${dialed_ext}"/>
<anti-action application="bind_meta_app" data="1 a a
execute_extension::dx XML features"/>
<anti-action application="bind_meta_app" data="2 a a
record_session::$${base_dir}/recordings/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/>
<anti-action application="bind_meta_app" data="3 a a
execute_extension::cf XML features"/>
<anti-action application="set"
data="transfer_ringback=${us-ring}"/>
<anti-action application="set" data="call_timeout=30"/>
<!-- <anti-action application="set"
data="sip_exclude_contact=${network_addr}"/> -->
<anti-action application="set" data="hangup_after_bridge=true"/>
<!--<anti-action application="set"
data="continue_on_fail=NORMAL_TEMPORARY_FAILURE,BUSY,USER_BUSY,NO_ANSWER,TIMEOUT,NO_ROUTE_DESTINATION"/>
-->
<anti-action application="set" data="continue_on_fail=true"/>
<anti-action application="db"
data="insert/call_return/${dialed_ext}/${caller_id_number}"/>
<anti-action application="db"
data="insert/last_dial_ext/${dialed_ext}/${uuid}"/>
<anti-action application="bridge" data="user/[EMAIL
PROTECTED]"/>
<anti-action application="answer"/>
<!--<anti-action application="send_display" data="Voicemail for
${dialed_ext}"/>-->
<anti-action application="sleep" data="1000"/>
<anti-action application="voicemail" data="default $${domain}
${dialed_ext}"/>
</condition>
</extension>
Bryan Reynolds
_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org