Hi to all,<br><br>I am a newbie in Freeswitch (FS).<br><br>I have already installed a FS machine, following the wiki installation procedure, and I have also added the opal module following this procedure: <a href="http://wiki.freeswitch.org/wiki/Mod_opal">http://wiki.freeswitch.org/wiki/Mod_opal</a><br>
<br>When I running FS <br><br>######################################<br>freeswitch@atest> module_exists mod_opal<br>API CALL [module_exists(mod_opal)] output:<br>true<br>freeswitch@atest> <br>######################################<br>
<br>I think I'have installed it correctly.<br>My goal is to provide a conference tool for incoming h323-calls that come from a cisco call manager: we are behind a Cisco VoIP cloud.<br>Every time a PSTN phone calls the number 1234-123456 the call manager knows that the extension 3456 has to be redirected<br>
to 192.168.193.38, that is the IP address of the FS machine, where file dialplan/default/myconference.xml contains the following lines<br><br>######################################<br><include><br> <extension name="no_conferences"><br>
<condition field="destination_number" expression="^3456$"><br> <action application="answer"/><br> <action application="info"/><br> <action application="conference" data="$1-${domain_name}@wideband"/><br>
</condition><br> </extension><br></include><br>######################################<br><br>On the other hand, whenever a user of FS calls an local extension (like 1XXX ), what I want is that FS forward this call to the cisco call manager through opal/h323<br>
therefore I have a file in <br><br>######################################<br><include><br><extension name="1xxx"><br> <condition field="destination_number" expression="^(1\d{3})$"><br>
<action application="set" data="dialed_extension=$1"/><br> <action application="export" data="dialed_extension=$1"/><br> <action application="set" data="transfer_ringback=$${hold_music}"/><br>
<action application="set" data="call_timeout=30"/><br> <action application="set" data="hangup_after_bridge=true"/><br> <action application="set" data="continue_on_fail=true"/><br>
<action application="set" data="ringback=$${us-ring}"/><br> <action application="set" data="instant_ringback=true"/><br> <action application="bridge" data="opal/h323:$1@IP.CALL.MANA.GER"/><br>
<action application="answer"/><br> <action application="sleep" data="1000"/><br> <action application="voicemail" data="default ${ip_server_cisco_call_manager} ${dialed_extension}"/><br>
</condition><br> </extension><br></include><br>######################################<br><br>but it fails: when a FS user calls 1500, FS returns this message<br><br>######################################<br>
2009-03-12 15:55:08 [NOTICE] switch_channel.c:567 switch_channel_set_name() New Channel sofia/internal/<a href="mailto:1000@192.168.193.38">1000@192.168.193.38</a> [c7b69402-0f15-11de-b4dc-c11b39fce37c]<br>2009-03-12 15:55:08 [INFO] mod_dialplan_xml.c:233 dialplan_hunt() Processing 1000->1500 in context default<br>
2009-03-12 15:55:08 [NOTICE] switch_channel.c:567 switch_channel_set_name() New Channel opal/h323:1500@IP.CALL.MANA.GER:1720 [c7c010e0-0f15-11de-b4dc-c11b39fce37c]<br>2009-03-12 15:55:08 [INFO] h323pdu.cxx:999 H225() Read error (0): <br>
2009-03-12 15:55:08 [NOTICE] mod_opal.cpp:591 OnReleased() Hangup opal/h323:1500@IP.CALL.MANA.GER:1720 [CS_CONSUME_MEDIA] [UNKNOWN]<br>2009-03-12 15:55:08 [INFO] tlibthrd.cxx:363 PWLib() Destroyed thread 0xb171a708 H225 Caller:0xa9587b90(id = 0)<br>
2009-03-12 15:55:08 [NOTICE] switch_core_session.c:970 switch_core_session_thread() Session 22 (opal/h323:1500@IP.CALL.MANA.GER:1720) Ended<br>2009-03-12 15:55:08 [NOTICE] switch_core_session.c:972 switch_core_session_thread() Close Channel opal/h323:1500@IP.CALL.MANA.GER:1720 [CS_HANGUP]<br>
2009-03-12 15:55:08 [INFO] mod_dptools.c:1998 audio_bridge_function() Originate Failed. Cause: UNKNOWN<br>2009-03-12 15:55:08 [NOTICE] mod_dptools.c:596 hangup_function() Hangup sofia/internal/<a href="mailto:1000@192.168.193.38">1000@192.168.193.38</a> [CS_EXECUTE] [NORMAL_CLEARING]<br>
2009-03-12 15:55:08 [NOTICE] switch_core_session.c:970 switch_core_session_thread() Session 21 (sofia/internal/<a href="mailto:1000@192.168.193.38">1000@192.168.193.38</a>) Ended<br>2009-03-12 15:55:08 [NOTICE] switch_core_session.c:972 switch_core_session_thread() Close Channel sofia/internal/<a href="mailto:1000@192.168.193.38">1000@192.168.193.38</a> [CS_HANGUP]<br>
######################################<br><br><br>I don't understand why....<br>Any suggestions...<br>Thanks<br><br clear="all"><br> Alessandro R.<br>