Hi Anthony,<br><br>Thanks for the info. By adding the span-ID = 2 , I was able to receive an incoming call successfully.<br>The dialplan/default.xml is as below:<br> <extension name="incoming"><br> <condition field="destination_number" expression="^(1)$">
<br> <action application="bridge" data="openzap/1/1"/><br> <!--action application="bridge" data="openzap/1/1"/>--><br> </condition><br> </extension>
<br><br> <extension name="outgoing-fxo"><br> <condition field="destination_number" expression="^(43)$"><br> <action application="bridge" data="openzap/2/1/43"/>
<br> </condition><br> </extension><br> <br>The Openzap.conf.xml looks like below:<br><br><configuration name="openzap.conf" description="OpenZAP Configuration"><br> <settings>
<br> <param name="debug" value="9"/><br> </settings><br> <analog_spans><br> <span id="1"><br> <param name="tonegroup" value="us"/>
<br> <param name="digit-timeout" value="2000"/><br> <param name="max-digits" value="11"/><br> <param name="dialplan" value="XML"/>
<br> <param name="context" value="default"/><br> <!-- regex to stop dialing when it matches --><br> <!--<param name="dial-regex" value="5555"/>-->
<br> <!-- regex to stop dialing when it does not match --><br> <!--<param name="fail-dial-regex" value="^5"/>--><br> </span><br> <span id="2"><br>
<param name="tonegroup" value="us"/><br> <param name="digit-timeout" value="2000"/><br> <param name="max-digits" value="1"/><br>
<param name="dialplan" value="XML"/><br> <param name="context" value="default"/><br> <!-- regex to stop dialing when it matches --><br> <!--<param name="dial-regex" value="5555"/>-->
<br> <!-- regex to stop dialing when it does not match --><br> <!--<param name="fail-dial-regex" value="^5"/>--><br> </span><br> </analog_spans><br></configuration>
<br><br>But still I am unable to make an Outgoing Call. Please have a look at the Freeswitch Log below:<br><br>2008-01-04 15:45:03 [DEBUG] zap_analog.c:664 process_event() EVENT [OFFHOOK][1:1] STATE [DOWN]<br>2008-01-04 15:45:03 [DEBUG] zap_analog.c:726 process_event() Changing state on 1:1 from DOWN to DIALTONE
<br>2008-01-04 15:45:03 [DEBUG] zap_analog.c:184 zap_analog_channel_run() ANALOG CHANNEL thread starting.<br>2008-01-04 15:45:03 [DEBUG] zap_analog.c:351 zap_analog_channel_run() Executing state handler on 1:1 for DIALTONE
<br>2008-01-04 15:45:07 [DEBUG] zap_analog.c:490 zap_analog_channel_run() DTMF 4<br>2008-01-04 15:45:07 [DEBUG] zap_analog.c:492 zap_analog_channel_run() Changing state on 1:1 from DIALTONE to COLLECT<br>2008-01-04 15:45:07 [DEBUG] mod_openzap.c:968 on_fxs_signal() got FXS sig [COLLECTED_DIGIT]
<br>2008-01-04 15:45:07 [DEBUG] zap_analog.c:351 zap_analog_channel_run() Executing state handler on 1:1 for COLLECT<br>2008-01-04 15:45:07 [DEBUG] zap_analog.c:490 zap_analog_channel_run() DTMF 2<br>2008-01-04 15:45:07 [DEBUG] mod_openzap.c:968 on_fxs_signal() got FXS sig [COLLECTED_DIGIT]
<br>2008-01-04 15:45:09 [DEBUG] zap_analog.c:507 zap_analog_channel_run() Number obtained [42]<br>2008-01-04 15:45:09 [DEBUG] zap_analog.c:508 zap_analog_channel_run() Changing state on 1:1 from COLLECT to IDLE<br>2008-01-04 15:45:09 [DEBUG] zap_analog.c:351 zap_analog_channel_run() Executing state handler on 1:1 for IDLE
<br>2008-01-04 15:45:09 [DEBUG] mod_openzap.c:968 on_fxs_signal() got FXS sig [START]<br>2008-01-04 15:45:09 [DEBUG] mod_openzap.c:231 tech_init() Set codec PCMU 20ms<br>2008-01-04 15:45:09 [NOTICE] switch_channel.c:392 switch_channel_set_name() New Chan OpenZAP/42 [8d46eb7f-4305-49e8-a4a5-eb97af3b696b]
<br>2008-01-04 15:45:09 [DEBUG] mod_openzap.c:892 zap_channel_from_event() OpenZAP/42 State Change CS_NEW -> CS_INIT<br>2008-01-04 15:45:09 [DEBUG] switch_core_session.c:625 switch_core_session_signal_state_change() Kill OpenZAP/42 [BREAK]
<br>2008-01-04 15:45:09 [DEBUG] switch_core_state_machine.c:397 switch_core_session_run() (OpenZAP/42) State INIT<br>2008-01-04 15:45:09 [DEBUG] mod_openzap.c:256 channel_on_init() OpenZAP/42 State Change CS_INIT -> CS_RING
<br>2008-01-04 15:45:09 [DEBUG] switch_core_session.c:625 switch_core_session_signal_state_change() Kill OpenZAP/42 [BREAK]<br>2008-01-04 15:45:09 [DEBUG] switch_core_state_machine.c:400 switch_core_session_run() (OpenZAP/42) State RING
<br>2008-01-04 15:45:09 [DEBUG] mod_openzap.c:276 channel_on_ring() OpenZAP/42 CHANNEL RING<br>2008-01-04 15:45:09 [DEBUG] switch_core_state_machine.c:64 switch_core_standard_on_ring() Standard RING OpenZAP/42<br>2008-01-04 15:45:09 [INFO] mod_dialplan_xml.c:217 dialplan_hunt() Processing OpenZAP->42!
<br>2008-01-04 15:45:09 [DEBUG] mod_dialplan_xml.c:106 parse_exten() test conditions ${numbering_plan}() =~ //<br>2008-01-04 15:45:09 [DEBUG] mod_dialplan_xml.c:106 parse_exten() test conditions destination_number(42) =~ /^(1)$/
<br>2008-01-04 15:45:09 [DEBUG] mod_dialplan_xml.c:108 parse_exten() Regex mismatch<br>2008-01-04 15:45:09 [DEBUG] mod_dialplan_xml.c:106 parse_exten() test conditions destination_number(42) =~ /^(43)$/<br>2008-01-04 15:45:09 [DEBUG] mod_dialplan_xml.c:108 parse_exten() Regex mismatch
<br>2008-01-04 15:45:09 [DEBUG] mod_dialplan_xml.c:106 parse_exten() test conditions destination_number(42) =~ /^(42)$/<br>2008-01-04 15:45:09 [DEBUG] mod_dialplan_xml.c:273 dialplan_hunt() OpenZAP/42 State Change CS_RING -> CS_EXECUTE
<br>2008-01-04 15:45:09 [DEBUG] switch_core_session.c:625 switch_core_session_signal_state_change() Kill OpenZAP/42 [BREAK]<br>2008-01-04 15:45:09 [DEBUG] switch_core_state_machine.c:406 switch_core_session_run() (OpenZAP/42) State EXECUTE
<br>2008-01-04 15:45:09 [DEBUG] mod_openzap.c:294 channel_on_execute() OpenZAP/42 CHANNEL EXECUTE<br>2008-01-04 15:45:09 [DEBUG] switch_core_state_machine.c:121 switch_core_standard_on_execute() Standard EXECUTE<br>2008-01-04 15:45:09 [NOTICE] switch_core_state_machine.c:134 switch_core_standard_on_execute() Execute set(use_profile=${cond(${is_lan_addr(${network_addr})} == yes ? nat : default)})
<br>2008-01-04 15:45:09 [DEBUG] switch_core_state_machine.c:158 switch_core_standard_on_execute() Expanded String set(use_profile=default)<br>2008-01-04 15:45:09 [DEBUG] mod_dptools.c:419 set_function() SET [use_profile]=[default]
<br>2008-01-04 15:45:09 [NOTICE] switch_core_state_machine.c:134 switch_core_standard_on_execute() Execute set_user(default@${domain})<br>2008-01-04 15:45:09 [DEBUG] switch_core_state_machine.c:158 switch_core_standard_on_execute() Expanded String set_user(
<a href="mailto:default@192.168.2.51">default@192.168.2.51</a>)<br>2008-01-04 15:45:09 [NOTICE] switch_core_state_machine.c:134 switch_core_standard_on_execute() Execute info()<br>2008-01-04 15:45:09 [CRIT] mod_dptools.c:630 info_function() CHANNEL_DATA:
<br>Channel-State: CS_EXECUTE<br>Channel-State-Number: 4<br>Channel-Name: OpenZAP/42<br>Unique-ID: 8d46eb7f-4305-49e8-a4a5-eb97af3b696b<br>Channel-Read-Codec-Name: PCMU<br>Channel-Read-Codec-Rate: 8000<br>Channel-Write-Codec-Name: PCMU
<br>Channel-Write-Codec-Rate: 8000<br>Caller-Username: OpenZAP<br>Caller-Dialplan: XML<br>Caller-Caller-ID-Name: OpenZAP<br>Caller-Caller-ID-Number: 1<br>Caller-Destination-Number: 42<br>Caller-Unique-ID: 8d46eb7f-4305-49e8-a4a5-eb97af3b696b
<br>Caller-Source: mod_openzap<br>Caller-Context: default<br>Caller-Channel-Name: OpenZAP/42<br>Caller-Channel-Created-Time: 1199441709953187<br>Caller-Channel-Answered-Time: 0<br>Caller-Channel-Hangup-Time: 0<br>Caller-Channel-Transfer-Time: 0
<br>Caller-Screen-Bit: yes<br>Caller-Privacy-Hide-Name: no<br>Caller-Privacy-Hide-Number: no<br>variable_use_profile: default<br>variable_numbering_plan: US<br>variable_user_name: default<br>variable_domain_name: <a href="http://192.168.2.51">
192.168.2.51</a><br><br><br>2008-01-04 15:45:09 [NOTICE] switch_core_state_machine.c:134 switch_core_standard_on_execute() Execute answer()<br>2008-01-04 15:45:09 [DEBUG] mod_openzap.c:663 channel_receive_message_fxs() Changing state on 1:1 from IDLE to UP
<br>2008-01-04 15:45:09 [DEBUG] switch_core_session.c:339 switch_core_session_receive_message() Kill OpenZAP/42 [BREAK]<br>2008-01-04 15:45:09 [NOTICE] mod_dptools.c:361 answer_function() Channel [OpenZAP/42] has been answered
<br>2008-01-04 15:45:09 [NOTICE] switch_core_state_machine.c:134 switch_core_standard_on_execute() Execute bridge(openzap/2/1/42)2008-01-04 15:45:09 [DEBUG] mod_openzap.c:231 tech_init() Set codec PCMU 20ms<br>2008-01-04 15:45:09 [NOTICE] switch_channel.c:392 switch_channel_set_name() New Chan OPENZAP/42 [bef803ed-e932-4a22-84e7-9131070fe771]
<br>2008-01-04 15:45:09 [DEBUG] mod_openzap.c:802 channel_outgoing_channel() OPENZAP/42 State Change CS_NEW -> CS_INIT<br>2008-01-04 15:45:09 [DEBUG] switch_core_session.c:625 switch_core_session_signal_state_change() Kill OPENZAP/42 [BREAK]
<br>2008-01-04 15:45:09 [DEBUG] zap_analog.c:351 zap_analog_channel_run() Executing state handler on 1:1 for UP<br>2008-01-04 15:45:09 [DEBUG] mod_openzap.c:968 on_fxs_signal() got FXS sig [UP]<br>2008-01-04 15:45:09 [DEBUG] zap_analog.c:55 analog_fxo_outgoing_call() Changing state on 2:1 from DOWN to DIALING
<br>2008-01-04 15:45:09 [DEBUG] zap_analog.c:184 zap_analog_channel_run() ANALOG CHANNEL thread starting.<br>2008-01-04 15:45:09 [DEBUG] zap_analog.c:351 zap_analog_channel_run() Executing state handler on 2:1 for DIALING
<br>2008-01-04 15:45:09 [DEBUG] switch_core_state_machine.c:397 switch_core_session_run() (OPENZAP/42) State INIT<br>2008-01-04 15:45:09 [DEBUG] mod_openzap.c:256 channel_on_init() OPENZAP/42 State Change CS_INIT -> CS_RING
<br>2008-01-04 15:45:09 [DEBUG] switch_core_session.c:625 switch_core_session_signal_state_change() Kill OPENZAP/42 [BREAK]<br>2008-01-04 15:45:09 [DEBUG] switch_ivr_originate.c:625 switch_ivr_originate() Raw Codec Activation Success
L16@8000hz 1 channel 20ms<br>2008-01-04 15:45:09 [DEBUG] switch_core_state_machine.c:400 switch_core_session_run() (OPENZAP/42) State RING<br>2008-01-04 15:45:09 [DEBUG] mod_openzap.c:276 channel_on_ring() OPENZAP/42 CHANNEL RING
<br>2008-01-04 15:45:09 [DEBUG] switch_ivr_originate.c:48 originate_on_ring() OPENZAP/42 State Change CS_RING -> CS_HOLD<br>2008-01-04 15:45:09 [DEBUG] switch_core_session.c:625 switch_core_session_signal_state_change() Kill OPENZAP/42 [BREAK]
<br>2008-01-04 15:45:09 [DEBUG] switch_core_state_machine.c:415 switch_core_session_run() (OPENZAP/42) State HOLD<br>2008-01-04 15:45:09 [DEBUG] switch_core_state_machine.c:204 switch_core_standard_on_hold() Standard HOLD
<br><br><br><a href="mailto:freeswitch@sipxpbx.oneconv.com">freeswitch@sipxpbx.oneconv.com</a>><br><br><a href="mailto:freeswitch@sipxpbx.oneconv.com">freeswitch@sipxpbx.oneconv.com</a>><br><br><a href="mailto:freeswitch@sipxpbx.oneconv.com">
freeswitch@sipxpbx.oneconv.com</a>> 2008-01-04 15:45:39 [DEBUG] zap_analog.c:244 zap_analog_channel_run() Changing state on 2:1 from DIALING to BUSY<br>2008-01-04 15:45:40 [DEBUG] zap_analog.c:351 zap_analog_channel_run() Executing state handler on 2:1 for BUSY
<br>2008-01-04 15:45:40 [DEBUG] zap_analog.c:467 zap_analog_channel_run() Changing state on 2:1 from BUSY to DOWN<br>2008-01-04 15:45:40 [DEBUG] zap_analog.c:351 zap_analog_channel_run() Executing state handler on 2:1 for DOWN
<br>2008-01-04 15:45:40 [DEBUG] mod_openzap.c:916 on_fxo_signal() got FXO sig 2:1 [STOP]<br>2008-01-04 15:45:40 [NOTICE] mod_openzap.c:934 on_fxo_signal() Hangup OPENZAP/42 [CS_HOLD] [NORMAL_CIRCUIT_CONGESTION]<br>2008-01-04 15:45:40 [DEBUG] switch_channel.c:1071 switch_channel_perform_hangup() Kill OPENZAP/42 [KILL]
<br>2008-01-04 15:45:40 [DEBUG] switch_core_session.c:625 switch_core_session_signal_state_change() Kill OPENZAP/42 [BREAK]<br>2008-01-04 15:45:40 [DEBUG] zap_analog.c:648 zap_analog_channel_run() ANALOG CHANNEL thread ended.
<br>2008-01-04 15:45:40 [DEBUG] switch_core_state_machine.c:394 switch_core_session_run() (OPENZAP/42) State HANGUP<br>2008-01-04 15:45:40 [WARNING] mod_openzap.c:319 channel_on_hangup() VETO Changing state on 2:1 from DOWN to HANGUP
<br>2008-01-04 15:45:40 [DEBUG] mod_openzap.c:359 channel_on_hangup() OPENZAP/42 CHANNEL HANGUP<br>2008-01-04 15:45:40 [DEBUG] switch_core_state_machine.c:45 switch_core_standard_on_hangup() Standard HANGUP OPENZAP/42, cause: NORMAL_CIRCUIT_CONGESTION
<br>2008-01-04 15:45:40 [DEBUG] switch_core_session.c:683 switch_core_session_thread() Session 4 (OPENZAP/42) Locked, Waiting on external entities<br>2008-01-04 15:45:40 [DEBUG] switch_ivr_originate.c:873 switch_ivr_originate() Originate Resulted in Error Cause: 34 [NORMAL_CIRCUIT_CONGESTION]
<br>2008-01-04 15:45:40 [INFO] mod_dptools.c:1331 audio_bridge_function() Originate Failed. Cause: NORMAL_CIRCUIT_CONGESTION<br>2008-01-04 15:45:40 [NOTICE] mod_dptools.c:1358 audio_bridge_function() Hangup OpenZAP/42 [CS_EXECUTE] [NORMAL_CIRCUIT_CONGESTION]
<br>2008-01-04 15:45:40 [DEBUG] switch_channel.c:1071 switch_channel_perform_hangup() Kill OpenZAP/42 [KILL]<br>2008-01-04 15:45:40 [DEBUG] switch_core_session.c:625 switch_core_session_signal_state_change() Kill OpenZAP/42 [BREAK]
<br>2008-01-04 15:45:40 [DEBUG] switch_core_state_machine.c:394 switch_core_session_run() (OpenZAP/42) State HANGUP<br>2008-01-04 15:45:40 [DEBUG] mod_openzap.c:329 channel_on_hangup() Changing state on 1:1 from UP to HANGUP
<br>2008-01-04 15:45:40 [DEBUG] mod_openzap.c:359 channel_on_hangup() OpenZAP/42 CHANNEL HANGUP<br>2008-01-04 15:45:40 [DEBUG] switch_core_state_machine.c:45 switch_core_standard_on_hangup() Standard HANGUP OpenZAP/42, cause: NORMAL_CIRCUIT_CONGESTION
<br>2008-01-04 15:45:40 [DEBUG] switch_core_session.c:683 switch_core_session_thread() Session 3 (OpenZAP/42) Locked, Waiting on external entities<br>2008-01-04 15:45:40 [INFO] switch_core_session.c:689 switch_core_session_thread() Session 3 (OpenZAP/42) Ended
<br>2008-01-04 15:45:40 [NOTICE] switch_core_session.c:691 switch_core_session_thread() Close Channel OpenZAP/42 [CS_HANGUP]<br>2008-01-04 15:45:40 [INFO] switch_core_session.c:689 switch_core_session_thread() Session 4 (OPENZAP/42) Ended
<br>2008-01-04 15:45:40 [NOTICE] switch_core_session.c:691 switch_core_session_thread() Close Channel OPENZAP/42 [CS_HANGUP]<br>2008-01-04 15:45:40 [DEBUG] zap_analog.c:351 zap_analog_channel_run() Executing state handler on 1:1 for HANGUP
<br>2008-01-04 15:45:40 [DEBUG] zap_analog.c:290 zap_analog_channel_run() Changing state on 1:1 from HANGUP to BUSY<br>2008-01-04 15:45:40 [DEBUG] zap_analog.c:351 zap_analog_channel_run() Executing state handler on 1:1 for BUSY
<br>2008-01-04 15:45:53 [DEBUG] zap_analog.c:664 process_event() EVENT [ONHOOK][1:1] STATE [BUSY]<br>2008-01-04 15:45:53 [DEBUG] zap_analog.c:690 process_event() Changing state on 1:1 from BUSY to DOWN<br>2008-01-04 15:45:53 [DEBUG] zap_analog.c:351 zap_analog_channel_run() Executing state handler on 1:1 for DOWN
<br>2008-01-04 15:45:53 [DEBUG] mod_openzap.c:968 on_fxs_signal() got FXS sig [STOP]<br>2008-01-04 15:45:53 [DEBUG] zap_analog.c:648 zap_analog_channel_run() ANALOG CHANNEL thread ended.<br><br>Thanks,<br>Irshad.<br><br><br>
<br><br><br><div class="gmail_quote">On Jan 3, 2008 7:43 PM, Anthony Minessale <<a href="mailto:anthmct@yahoo.com" target="_blank">
anthmct@yahoo.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div style="font-family: courier,monaco,monospace,sans-serif; font-size: 12pt;">
What does openzap.conf.xml look like?<br>Perhaps you are using the default which only has 1 span defined.<br>Try cloning the whole <span id="1"> block so there<br>is a span 1 and 2 like this:<br><br><configuration name="
openzap.conf" description="OpenZAP Configuration"><br> <settings><br> <param name="debug" value="0"/><br> </settings><br> <analog_spans><br> <span id="1">
<br> <param name="tonegroup" value="us"/><br> <param name="digit-timeout" value="2000"/><br> <param name="max-digits" value="11"/>
<br> <param name="dialplan"
value="XML"/><br> <param name="context" value="default"/><br> <!-- regex to stop dialing when it matches --><br> <!--<param name="dial-regex" value="5555"/>-->
<br> <!-- regex to stop dialing when it does not match --><br> <!--<param name="fail-dial-regex" value="^5"/>--><br> </span><br><br> <span id="2">
<br>
<param name="tonegroup" value="us"/><br>
<param name="digit-timeout" value="2000"/><br>
<param name="max-digits" value="11"/><br>
<param name="dialplan" value="XML"/><br>
<param name="context" value="default"/><br>
<!-- regex to stop dialing when it matches --><br>
<!--<param name="dial-regex" value="5555"/>--><br>
<!-- regex to stop dialing when it does not match --><br>
<!--<param name="fail-dial-regex" value="^5"/>--><br>
</span><br>
<br><br> </analog_spans><br></configuration><br><br><br><br><div> </div><div>Anthony Minessale II<br><br><span>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a></span>
<br><span>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a></span><br><br>AIM: anthm<br><a href="mailto:MSN:anthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com
</a><br>GTALK/JABBER/PAYPAL:<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a><br>IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch</div><div>
<br>FreeSWITCH Developer Conference<br><a href="mailto:sip:888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">
iax:guest@conference.freeswitch.org/888
</a><br><a href="mailto:googletalk:conf+888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400</div><div><div></div><div><div style="font-family: courier,monaco,monospace,sans-serif; font-size: 12pt;">
<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Irshad Ahamed <<a href="mailto:irshad.fswitch@gmail.com" target="_blank">irshad.fswitch@gmail.com
</a>><br>To:
<a href="mailto:freeswitch-dev@lists.freeswitch.org" target="_blank">freeswitch-dev@lists.freeswitch.org</a>; <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>
<br>Sent: Wednesday, January 2, 2008 12:40:14 AM<br>Subject: [Freeswitch-users] Not able to make an outgoing Call through FXO....<br><br>
Hi,<br><br>Wishing U all a very Happy n Prosperous New Year!!!!<br><br>I am trying to make an outgoing call using FXO connected to an external telephone line.<br><br>Here is the set-up:<br><br>1. FXO connected to external telephone line
<br>2. FXS connected to analog phone.<br><br><br>The Openzap.conf @ /etc/openzap is as follows:<br>[span zt]<br>name => OpenZAP<br>number => 1<br>fxs-channel => 1<br><br>[span zt]<br>name => OpenZAP<br>number => 1
<br>fxo-channel => 4<br><br>The default.xml @ /usr/local/freeswitch/conf/dialplan is configured for inward and outgoing calls on FXO as follows:<br><br> <extension name="outgoing-fxo"><br> <condition field="destination_number" expression="^(43)$">
<br> <action application="bridge" data="openzap/2/1/43"/><br> </condition><br> </extension><br><br> <extension name="incoming-fxo"><br> <condition field="destination_number" expression="^(35)$">
<br> <action application="bridge" data="openzap/1/1"/><br> </condition><br> </extension><br><br>While Start-up Freeswitch following logs were seen:<br><br>2008-01-02 11:51:22 [DEBUG] zap_io.c:1770 load_config() found config for span
<br>2008-01-02 11:51:22 [DEBUG] zap_io.c:1797 load_config() created span 1 of type zt<br>2008-01-02 11:51:22 [DEBUG] zap_io.c:1810 load_config() span 1 [name]=[OpenZAP]<br>2008-01-02 11:51:22 [DEBUG] zap_io.c:1810 load_config() span 1 [number]=[1]
<br>2008-01-02 11:51:22 [DEBUG] zap_io.c:1810 load_config() span 1 [fxs-channel]=[1]<br>2008-01-02 11:51:22 [DEBUG] zap_io.c:1850 load_config() setting trunk type to 'FXS' start(KEWL)<br>2008-01-02 11:51:22 [INFO] zap_zt.c:168 zt_open_range() configuring device /dev/zap/channel channel 1 as OpenZAP device 1:1 fd:31
<br>2008-01-02 11:51:22 [DEBUG] zap_io.c:1770 load_config() found config for span<br>2008-01-02 11:51:22 [DEBUG] zap_io.c:1797 load_config() created span 2 of type zt<br>2008-01-02 11:51:22 [DEBUG] zap_io.c:1810 load_config() span 2 [name]=[OpenZAP]
<br>2008-01-02 11:51:22 [DEBUG] zap_io.c:1810 load_config() span 2 [number]=[1]<br>2008-01-02 11:51:22 [DEBUG] zap_io.c:1810 load_config() span 2 [fxo-channel]=[4]<br>2008-01-02 11:51:22 [DEBUG] zap_io.c:1839 load_config() setting trunk type to 'FXO' start(KEWL)
<br>2008-01-02 11:51:22 [INFO] zap_zt.c:168 zt_open_range() configuring device /dev/zap/channel channel 4 as OpenZAP device 2:1 fd:32<br>2008-01-02 11:51:22 [INFO] zap_io.c:1881 load_config() Configured 2 channel(s)<br>2008-01-02 11:51:22 [CONSOLE] switch_loadable_module.c:748 switch_loadable_module_load_file() Successfully Loaded [mod_openzap]
<br><br>and while I made a call following logs were seen:<br><br>2008-01-02 12:04:16 [NOTICE] switch_core_state_machine.c:134 switch_core_standard_on_execute() Execute bridge(openzap/2/1/43)2008-01-02 12:04:16 [DEBUG] mod_openzap.c:231 tech_init() Set codec PCMU 20ms
<br>2008-01-02 12:04:16 [NOTICE] switch_channel.c:392 switch_channel_set_name() New Chan OPENZAP/43 [e3630387-25d6-4031-bf81-239c3e64e3fa]<br>2008-01-02 12:04:16 [DEBUG] mod_openzap.c:802 channel_outgoing_channel() OPENZAP/43 State Change CS_NEW -> CS_INIT
<br>2008-01-02 12:04:16 [DEBUG] switch_core_session.c:625 switch_core_session_signal_state_change() Kill OPENZAP/43 [BREAK]<br>2008-01-02 12:04:16 [ERR] zap_io.c:884 zap_channel_outgoing_call() outgoing_call method not implemented!
<br>2008-01-02 12:04:16 [NOTICE] mod_openzap.c:818 channel_outgoing_channel() Close Channel OPENZAP/43 [CS_INIT]<br>2008-01-02 12:04:16 [ERR] switch_ivr_originate.c:525 switch_ivr_originate() Cannot Create Outgoing Channel! cause: DESTINATION_OUT_OF_ORDER
<br>2008-01-02 12:04:16 [DEBUG] switch_ivr_originate.c:873 switch_ivr_originate() Originate Resulted in Error Cause: 27 [DESTINATION_OUT_OF_ORDER]<br>2008-01-02 12:04:16 [INFO] mod_dptools.c:1331 audio_bridge_function() Originate Failed. Cause: DESTINATION_OUT_OF_ORDER
<br>2008-01-02 12:04:16 [NOTICE] mod_dptools.c:1358 audio_bridge_function() Hangup OpenZAP/43 [CS_EXECUTE] [DESTINATION_OUT_OF_ORDER]<br>2008-01-02 12:04:16 [DEBUG] switch_channel.c:1071 switch_channel_perform_hangup() Kill OpenZAP/43 [KILL]
<br>2008-01-02 12:04:16 [DEBUG] switch_core_session.c:625 switch_core_session_signal_state_change() Kill OpenZAP/43 [BREAK]<br>2008-01-02 12:04:16 [DEBUG] switch_core_state_machine.c:394 switch_core_session_run() (OpenZAP/43) State HANGUP
<br>2008-01-02 12:04:16 [DEBUG] mod_openzap.c:329 channel_on_hangup() Changing state on 1:1 from IDLE to HANGUP<br>2008-01-02 12:04:16 [DEBUG] mod_openzap.c:359 channel_on_hangup() OpenZAP/43 CHANNEL HANGUP<br>2008-01-02 12:04:16 [DEBUG] switch_core_state_machine.c:45 switch_core_standard_on_hangup() Standard HANGUP OpenZAP/43, cause: DESTINATION_OUT_OF_ORDER
<br>2008-01-02 12:04:16 [DEBUG] switch_core_session.c:683 switch_core_session_thread() Session 1 (OpenZAP/43) Locked, Waiting on external entities<br>2008-01-02 12:04:16 [INFO] switch_core_session.c:689 switch_core_session_thread() Session 1 (OpenZAP/43) Ended
<br>2008-01-02 12:04:16 [NOTICE] switch_core_session.c:691 switch_core_session_thread() Close Channel OpenZAP/43 [CS_HANGUP]<br>2008-01-02 12:04:16 [DEBUG] zap_analog.c:351 zap_analog_channel_run() Executing state handler on 1:1 for HANGUP
<br>2008-01-02 12:04:17 [DEBUG] zap_analog.c:290 zap_analog_channel_run() Changing state on 1:1 from HANGUP to BUSY<br>2008-01-02 12:04:17 [DEBUG] zap_analog.c:351 zap_analog_channel_run() Executing state handler on 1:1 for BUSY
<br>2008-01-02 12:04:20 [DEBUG] zap_analog.c:664 process_event() EVENT [ONHOOK][1:1] STATE [BUSY]<br>2008-01-02 12:04:20 [DEBUG] zap_analog.c:690 process_event() Changing state on 1:1 from BUSY to DOWN<br>2008-01-02 12:04:20 [DEBUG] zap_analog.c:351 zap_analog_channel_run() Executing state handler on 1:1 for DOWN
<br>2008-01-02 12:04:20 [DEBUG] mod_openzap.c:968 on_fxs_signal() got FXS sig [STOP]<br>2008-01-02 12:04:20 [DEBUG] zap_analog.c:648 zap_analog_channel_run() ANALOG CHANNEL thread ended.<br><br>Could anyone help me out in getting FXO working ???
<br><br>Thanks in advance...<br><br>BR,<br>Irshad.<br><br>
</div><br></div></div></div></div><div><br>
<hr size="1">Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. <a href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ+" target="_blank"> Try it now.</a></div></div><br>_______________________________________________
<br>Freeswitch-users mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users
</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><br></blockquote></div><br>