<b style="color: rgb(255, 0, 0);">Hi,<br>&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; when in dial from console inbound is working fine when i dial outbound it is not working in console dialing.<br></b><br><br>FreeSWITCH Version 1.0.trunk (10567) Started.<br>
Crash Protection [Disabled]<br>Max Sessions[1000]<br>Session Rate[30]<br>SQL [Enabled]<br>2008-12-11 14:17:03 [CONSOLE] mod_local_stream.c:142 read_stream_thread() Can&#39;t open directory: /usr/local/freeswitch/sounds/music/16000<br>
<br><b style="color: rgb(255, 0, 0);">freeswitch@localhost&gt; pa devlist</b><br>API CALL [pa(devlist)] output:<br>0;/dev/dsp;16;4<br>1;Intel ICH5: Intel ICH5 (hw:0,0);2;6<br>2;Intel ICH5: Intel ICH5 - MIC ADC (hw:0,1);2;0<br>
3;Intel ICH5: Intel ICH5 - MIC2 ADC (hw:0,2);2;0<br>4;Intel ICH5: Intel ICH5 - ADC2 (hw:0,3);2;0<br>5;Intel ICH5: Intel ICH5 - IEC958 (hw:0,4);0;2<br>6;front;0;6<br>7;surround40;0;4<br>8;surround41;0;128<br>9;surround50;0;128<br>
10;surround51;0;6<br>11;iec958;0;2<br>12;spdif;0;2<br>13;default;128;128<br>14;dmix;0;2<br><b style="color: rgb(255, 0, 0);"><br>After that i dial 3 in softphone <br>Output:</b><br><br>freeswitch@localhost&gt; 2008-12-11 14:17:16 [NOTICE] switch_channel.c:564 switch_channel_set_name() New Channel sofia/internal/<a href="mailto:1003@172.20.177.117">1003@172.20.177.117</a> [d49468e5-be90-40f6-8ffe-58c56651d87a]<br>
2008-12-11 14:17:16 [INFO] mod_dialplan_xml.c:233 dialplan_hunt() Processing FreeSwitch-&gt;3 in context default<br>2008-12-11 14:17:16 [NOTICE] switch_channel.c:564 switch_channel_set_name() New Channel portaudio/1003 [bfc0023c-0725-40a8-a187-574bdab40c40]<br>
2008-12-11 14:17:17 [NOTICE] mod_portaudio.c:235 channel_on_init() Ring-Ready portaudio/1003!<br><b style="color: rgb(255, 0, 0);">pa answer</b><br>2008-12-11 14:17:24 [NOTICE] mod_portaudio.c:1404 answer_call() Channel [portaudio/1003] has been answered<br>
API CALL [pa(answer)] output:<br>Answered 1 channels.<br><br>freeswitch@localhost&gt; 2008-12-11 14:17:24 [NOTICE] switch_ivr_originate.c:1509 switch_ivr_originate() Channel [sofia/internal/<a href="mailto:1003@172.20.177.117">1003@172.20.177.117</a>] has been answered<br>
pa hangup<br>2008-12-11 14:17:32 [NOTICE] mod_portaudio.c:1365 hangup_call() Hangup portaudio/1003 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]<br>API CALL [pa(hangup)] output:<br>OK<br><br>freeswitch@localhost&gt; 2008-12-11 14:17:32 [NOTICE] switch_core_state_machine.c:168 switch_core_standard_on_execute() Hangup sofia/internal/<a href="mailto:1003@172.20.177.117">1003@172.20.177.117</a> [CS_EXECUTE] [NORMAL_CLEARING]<br>
2008-12-11 14:17:32 [INFO] mod_cdr_csv.c:207 my_on_hangup() CHANNEL_DATA:<br>Channel-State: [CS_HANGUP]<br>Channel-State-Number: [10]<br>Channel-Name: [sofia/internal/<a href="mailto:1003@172.20.177.117">1003@172.20.177.117</a>]<br>
Unique-ID: [d49468e5-be90-40f6-8ffe-58c56651d87a]<br>Call-Direction: [inbound]<br>Answer-State: [answered]<br>Caller-Username: [1003]<br>Caller-Dialplan: [XML]<br>Caller-Caller-ID-Name: [FreeSwitch]<br>Caller-Caller-ID-Number: [1003]<br>
Caller-Network-Addr: [<a href="http://172.20.177.201">172.20.177.201</a>]<br>Caller-Destination-Number: [3]<br>Caller-Unique-ID: [d49468e5-be90-40f6-8ffe-58c56651d87a]<br>Caller-Source: [mod_sofia]<br>Caller-Context: [default]<br>
Caller-Channel-Name: [sofia/internal/<a href="mailto:1003@172.20.177.117">1003@172.20.177.117</a>]<br>Caller-Profile-Index: [1]<br>Caller-Profile-Created-Time: [1228985236919311]<br>Caller-Channel-Created-Time: [1228985236919311]<br>
Caller-Channel-Answered-Time: [1228985244720686]<br>Caller-Channel-Progress-Time: [1228985237539254]<br>Caller-Channel-Progress-Media-Time: [0]<br>Caller-Channel-Hangup-Time: [1228985252428470]<br>Caller-Channel-Transfer-Time: [0]<br>
Caller-Screen-Bit: [true]<br>Caller-Privacy-Hide-Name: [false]<br>Caller-Privacy-Hide-Number: [false]<br>Other-Leg-Username: [1003]<br>Other-Leg-Dialplan: [XML]<br>Other-Leg-Caller-ID-Name: [Extension 1003]<br>Other-Leg-Caller-ID-Number: [1003]<br>
Other-Leg-Network-Addr: [<a href="http://172.20.177.201">172.20.177.201</a>]<br>Other-Leg-Unique-ID: [bfc0023c-0725-40a8-a187-574bdab40c40]<br>Other-Leg-Source: [mod_sofia]<br>Other-Leg-Context: [default]<br>Other-Leg-Channel-Name: [portaudio/1003]<br>
Other-Leg-Screen-Bit: [true]<br>Other-Leg-Privacy-Hide-Name: [false]<br>Other-Leg-Privacy-Hide-Number: [false]<br><br><br>2008-12-11 14:17:32 [NOTICE] switch_core_session.c:956 switch_core_session_thread() Session 1 (sofia/internal/<a href="mailto:1003@172.20.177.117">1003@172.20.177.117</a>) Ended<br>
2008-12-11 14:17:32 [NOTICE] switch_core_session.c:958 switch_core_session_thread() Close Channel sofia/internal/<a href="mailto:1003@172.20.177.117">1003@172.20.177.117</a> [CS_HANGUP]<br>2008-12-11 14:17:32 [NOTICE] switch_core_session.c:956 switch_core_session_thread() Session 2 (portaudio/1003) Ended<br>
2008-12-11 14:17:32 [NOTICE] switch_core_session.c:958 switch_core_session_thread() Close Channel portaudio/1003 [CS_HANGUP]<br><b style="color: rgb(255, 0, 0);"><br>Then i tried it for outbound <br>Output:</b><br><br><b style="color: rgb(255, 0, 0);">pa call 1003</b><br>
2008-12-11 14:17:39 [NOTICE] switch_channel.c:564 switch_channel_set_name() New Channel portaudio/1003 [14de48f4-40cb-42bb-8f43-084d4df7ec89]<br>2008-12-11 14:17:39 [NOTICE] mod_portaudio.c:1586 place_call() Channel [portaudio/1003] has been answered<br>
API CALL [pa(call 1003)] output:<br>SUCCESS:2:14de48f4-40cb-42bb-8f43-084d4df7ec89<br><br>freeswitch@localhost&gt; 2008-12-11 14:17:39 [INFO] mod_dialplan_xml.c:233 dialplan_hunt() Processing FreeSWITCH-&gt;1003 in context default<br>
2008-12-11 14:17:39 [ERR] mod_sofia.c:2102 sofia_outgoing_channel() Invalid Gateway<br>2008-12-11 14:17:39 [NOTICE] mod_sofia.c:2301 sofia_outgoing_channel() Close Channel N/A [CS_NEW]<br>2008-12-11 14:17:39 [ERR] switch_ivr_originate.c:1063 switch_ivr_originate() Cannot create outgoing channel of type [sofia] cause: [INVALID_NUMBER_FORMAT]<br>
2008-12-11 14:17:39 [INFO] mod_dptools.c:1868 audio_bridge_function() Originate Failed.&nbsp; Cause: INVALID_NUMBER_FORMAT<br>2008-12-11 14:17:39 [NOTICE] mod_dptools.c:1895 audio_bridge_function() Hangup portaudio/1003 [CS_EXECUTE] [INVALID_NUMBER_FORMAT]<br>
2008-12-11 14:17:39 [INFO] mod_cdr_csv.c:207 my_on_hangup() CHANNEL_DATA:<br>Channel-State: [CS_HANGUP]<br>Channel-State-Number: [10]<br>Channel-Name: [portaudio/1003]<br>Unique-ID: [14de48f4-40cb-42bb-8f43-084d4df7ec89]<br>
Call-Direction: [inbound]<br>Answer-State: [answered]<br>Caller-Dialplan: [XML]<br>Caller-Caller-ID-Name: [FreeSWITCH]<br>Caller-Caller-ID-Number: [0000000000]<br>Caller-Network-Addr: [<a href="http://172.20.177.117">172.20.177.117</a>]<br>
Caller-Destination-Number: [1003]<br>Caller-Unique-ID: [14de48f4-40cb-42bb-8f43-084d4df7ec89]<br>Caller-Source: [mod_portaudio]<br>Caller-Context: [default]<br>Caller-Channel-Name: [portaudio/1003]<br>Caller-Profile-Index: [1]<br>
Caller-Profile-Created-Time: [1228985259280611]<br>Caller-Channel-Created-Time: [1228985259280611]<br>Caller-Channel-Answered-Time: [1228985259508649]<br>Caller-Channel-Progress-Time: [0]<br>Caller-Channel-Progress-Media-Time: [0]<br>
Caller-Channel-Hangup-Time: [1228985259512660]<br>Caller-Channel-Transfer-Time: [0]<br>Caller-Screen-Bit: [true]<br>Caller-Privacy-Hide-Name: [false]<br>Caller-Privacy-Hide-Number: [false]<br><br><br>2008-12-11 14:17:39 [NOTICE] switch_core_session.c:956 switch_core_session_thread() Session 3 (portaudio/1003) Ended<br>
2008-12-11 14:17:39 [NOTICE] switch_core_session.c:958 switch_core_session_thread() Close Channel portaudio/1003 [CS_HANGUP]<br><br><b>Correct me were in am wrong . i have done all the updates and i install freeswitch newly .<br>
<br>I am using Centos 5.2<br><br>I also attached the default.xml in this mail.<br><br>Correct me were in am wrong.<br clear="all"><br>-- <br>Thanks,<br>N.Baskar</b><br><br>