[Freeswitch-users] Console Dialing in Freeswitch
Baskar
yudha2008 at gmail.com
Thu Dec 11 00:51:09 PST 2008
*Hi,
when in dial from console inbound is working fine when i dial outbound
it is not working in console dialing.
*
FreeSWITCH Version 1.0.trunk (10567) Started.
Crash Protection [Disabled]
Max Sessions[1000]
Session Rate[30]
SQL [Enabled]
2008-12-11 14:17:03 [CONSOLE] mod_local_stream.c:142 read_stream_thread()
Can't open directory: /usr/local/freeswitch/sounds/music/16000
*freeswitch at localhost> pa devlist*
API CALL [pa(devlist)] output:
0;/dev/dsp;16;4
1;Intel ICH5: Intel ICH5 (hw:0,0);2;6
2;Intel ICH5: Intel ICH5 - MIC ADC (hw:0,1);2;0
3;Intel ICH5: Intel ICH5 - MIC2 ADC (hw:0,2);2;0
4;Intel ICH5: Intel ICH5 - ADC2 (hw:0,3);2;0
5;Intel ICH5: Intel ICH5 - IEC958 (hw:0,4);0;2
6;front;0;6
7;surround40;0;4
8;surround41;0;128
9;surround50;0;128
10;surround51;0;6
11;iec958;0;2
12;spdif;0;2
13;default;128;128
14;dmix;0;2
*
After that i dial 3 in softphone
Output:*
freeswitch at localhost> 2008-12-11 14:17:16 [NOTICE] switch_channel.c:564
switch_channel_set_name() New Channel
sofia/internal/1003 at 172.20.177.117[d49468e5-be90-40f6-8ffe-58c56651d87a]
2008-12-11 14:17:16 [INFO] mod_dialplan_xml.c:233 dialplan_hunt() Processing
FreeSwitch->3 in context default
2008-12-11 14:17:16 [NOTICE] switch_channel.c:564 switch_channel_set_name()
New Channel portaudio/1003 [bfc0023c-0725-40a8-a187-574bdab40c40]
2008-12-11 14:17:17 [NOTICE] mod_portaudio.c:235 channel_on_init()
Ring-Ready portaudio/1003!
*pa answer*
2008-12-11 14:17:24 [NOTICE] mod_portaudio.c:1404 answer_call() Channel
[portaudio/1003] has been answered
API CALL [pa(answer)] output:
Answered 1 channels.
freeswitch at localhost> 2008-12-11 14:17:24 [NOTICE]
switch_ivr_originate.c:1509 switch_ivr_originate() Channel [sofia/internal/
1003 at 172.20.177.117] has been answered
pa hangup
2008-12-11 14:17:32 [NOTICE] mod_portaudio.c:1365 hangup_call() Hangup
portaudio/1003 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
API CALL [pa(hangup)] output:
OK
freeswitch at localhost> 2008-12-11 14:17:32 [NOTICE]
switch_core_state_machine.c:168 switch_core_standard_on_execute() Hangup
sofia/internal/1003 at 172.20.177.117 [CS_EXECUTE] [NORMAL_CLEARING]
2008-12-11 14:17:32 [INFO] mod_cdr_csv.c:207 my_on_hangup() CHANNEL_DATA:
Channel-State: [CS_HANGUP]
Channel-State-Number: [10]
Channel-Name: [sofia/internal/1003 at 172.20.177.117]
Unique-ID: [d49468e5-be90-40f6-8ffe-58c56651d87a]
Call-Direction: [inbound]
Answer-State: [answered]
Caller-Username: [1003]
Caller-Dialplan: [XML]
Caller-Caller-ID-Name: [FreeSwitch]
Caller-Caller-ID-Number: [1003]
Caller-Network-Addr: [172.20.177.201]
Caller-Destination-Number: [3]
Caller-Unique-ID: [d49468e5-be90-40f6-8ffe-58c56651d87a]
Caller-Source: [mod_sofia]
Caller-Context: [default]
Caller-Channel-Name: [sofia/internal/1003 at 172.20.177.117]
Caller-Profile-Index: [1]
Caller-Profile-Created-Time: [1228985236919311]
Caller-Channel-Created-Time: [1228985236919311]
Caller-Channel-Answered-Time: [1228985244720686]
Caller-Channel-Progress-Time: [1228985237539254]
Caller-Channel-Progress-Media-Time: [0]
Caller-Channel-Hangup-Time: [1228985252428470]
Caller-Channel-Transfer-Time: [0]
Caller-Screen-Bit: [true]
Caller-Privacy-Hide-Name: [false]
Caller-Privacy-Hide-Number: [false]
Other-Leg-Username: [1003]
Other-Leg-Dialplan: [XML]
Other-Leg-Caller-ID-Name: [Extension 1003]
Other-Leg-Caller-ID-Number: [1003]
Other-Leg-Network-Addr: [172.20.177.201]
Other-Leg-Unique-ID: [bfc0023c-0725-40a8-a187-574bdab40c40]
Other-Leg-Source: [mod_sofia]
Other-Leg-Context: [default]
Other-Leg-Channel-Name: [portaudio/1003]
Other-Leg-Screen-Bit: [true]
Other-Leg-Privacy-Hide-Name: [false]
Other-Leg-Privacy-Hide-Number: [false]
2008-12-11 14:17:32 [NOTICE] switch_core_session.c:956
switch_core_session_thread() Session 1 (sofia/internal/1003 at 172.20.177.117)
Ended
2008-12-11 14:17:32 [NOTICE] switch_core_session.c:958
switch_core_session_thread() Close Channel sofia/internal/
1003 at 172.20.177.117 [CS_HANGUP]
2008-12-11 14:17:32 [NOTICE] switch_core_session.c:956
switch_core_session_thread() Session 2 (portaudio/1003) Ended
2008-12-11 14:17:32 [NOTICE] switch_core_session.c:958
switch_core_session_thread() Close Channel portaudio/1003 [CS_HANGUP]
*
Then i tried it for outbound
Output:*
*pa call 1003*
2008-12-11 14:17:39 [NOTICE] switch_channel.c:564 switch_channel_set_name()
New Channel portaudio/1003 [14de48f4-40cb-42bb-8f43-084d4df7ec89]
2008-12-11 14:17:39 [NOTICE] mod_portaudio.c:1586 place_call() Channel
[portaudio/1003] has been answered
API CALL [pa(call 1003)] output:
SUCCESS:2:14de48f4-40cb-42bb-8f43-084d4df7ec89
freeswitch at localhost> 2008-12-11 14:17:39 [INFO] mod_dialplan_xml.c:233
dialplan_hunt() Processing FreeSWITCH->1003 in context default
2008-12-11 14:17:39 [ERR] mod_sofia.c:2102 sofia_outgoing_channel() Invalid
Gateway
2008-12-11 14:17:39 [NOTICE] mod_sofia.c:2301 sofia_outgoing_channel() Close
Channel N/A [CS_NEW]
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]
2008-12-11 14:17:39 [INFO] mod_dptools.c:1868 audio_bridge_function()
Originate Failed. Cause: INVALID_NUMBER_FORMAT
2008-12-11 14:17:39 [NOTICE] mod_dptools.c:1895 audio_bridge_function()
Hangup portaudio/1003 [CS_EXECUTE] [INVALID_NUMBER_FORMAT]
2008-12-11 14:17:39 [INFO] mod_cdr_csv.c:207 my_on_hangup() CHANNEL_DATA:
Channel-State: [CS_HANGUP]
Channel-State-Number: [10]
Channel-Name: [portaudio/1003]
Unique-ID: [14de48f4-40cb-42bb-8f43-084d4df7ec89]
Call-Direction: [inbound]
Answer-State: [answered]
Caller-Dialplan: [XML]
Caller-Caller-ID-Name: [FreeSWITCH]
Caller-Caller-ID-Number: [0000000000]
Caller-Network-Addr: [172.20.177.117]
Caller-Destination-Number: [1003]
Caller-Unique-ID: [14de48f4-40cb-42bb-8f43-084d4df7ec89]
Caller-Source: [mod_portaudio]
Caller-Context: [default]
Caller-Channel-Name: [portaudio/1003]
Caller-Profile-Index: [1]
Caller-Profile-Created-Time: [1228985259280611]
Caller-Channel-Created-Time: [1228985259280611]
Caller-Channel-Answered-Time: [1228985259508649]
Caller-Channel-Progress-Time: [0]
Caller-Channel-Progress-Media-Time: [0]
Caller-Channel-Hangup-Time: [1228985259512660]
Caller-Channel-Transfer-Time: [0]
Caller-Screen-Bit: [true]
Caller-Privacy-Hide-Name: [false]
Caller-Privacy-Hide-Number: [false]
2008-12-11 14:17:39 [NOTICE] switch_core_session.c:956
switch_core_session_thread() Session 3 (portaudio/1003) Ended
2008-12-11 14:17:39 [NOTICE] switch_core_session.c:958
switch_core_session_thread() Close Channel portaudio/1003 [CS_HANGUP]
*Correct me were in am wrong . i have done all the updates and i install
freeswitch newly .
I am using Centos 5.2
I also attached the default.xml in this mail.
Correct me were in am wrong.
--
Thanks,
N.Baskar*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081211/f955dc23/attachment-0002.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: default.xml
Type: text/xml
Size: 2278 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081211/f955dc23/attachment-0002.xml
More information about the FreeSWITCH-users
mailing list