[Freeswitch-users] failed to call from sip regisered phone/udp to SIP GW/tcp
fieldpeak at gmail.com
fieldpeak at gmail.com
Sun Nov 28 06:51:55 PST 2010
Is there any one can help for question below, thanks in advance.
regards,
Charles
From: fieldpeak at gmail.com
Sent: Friday, November 26, 2010 6:20 PM
To: freeswitch-users at lists.freeswitch.org
Subject: FreeSwitch: Question for UDP to TCP conversion
Dear Friends,
I want SIP phone regiser to freeswitch by UDP , and make outboud call (from SIP phone) via Media gateway by TCP to PSTN.
however, the freeswitch prompt below, can anyone help advise is it doable? thanks in advise.
2010-11-26 18:10:04.370711 [ERR] mod_sofia.c:3787 You are trying to use a differ
ent transport type for this gateway (overriding the register-transport), this is
unsupported!
below is the detailed log,
ion_number(910010) =~ /^9178$/ break=on-false
Dialplan: sofia/internal/1001 at 192.168.200.23 parsing [default->fax_transmit] con
tinue=false
Dialplan: sofia/internal/1001 at 192.168.200.23 Regex (FAIL) [fax_transmit] destina
tion_number(910010) =~ /^9179$/ break=on-false
Dialplan: sofia/internal/1001 at 192.168.200.23 parsing [default->ringback_180] con
tinue=false
Dialplan: sofia/internal/1001 at 192.168.200.23 Regex (FAIL) [ringback_180] destina
tion_number(910010) =~ /^9180$/ break=on-false
Dialplan: sofia/internal/1001 at 192.168.200.23 parsing [default->ringback_183_uk_r
ing] continue=false
Dialplan: sofia/internal/1001 at 192.168.200.23 Regex (FAIL) [ringback_183_uk_ring]
destination_number(910010) =~ /^9181$/ break=on-false
Dialplan: sofia/internal/1001 at 192.168.200.23 parsing [default->ringback_183_musi
c_ring] continue=false
Dialplan: sofia/internal/1001 at 192.168.200.23 Regex (FAIL) [ringback_183_music_ri
ng] destination_number(910010) =~ /^9182$/ break=on-false
Dialplan: sofia/internal/1001 at 192.168.200.23 parsing [default->ringback_post_ans
wer_uk_ring] continue=false
Dialplan: sofia/internal/1001 at 192.168.200.23 Regex (FAIL) [ringback_post_answer_
uk_ring] destination_number(910010) =~ /^9183$/ break=on-false
Dialplan: sofia/internal/1001 at 192.168.200.23 parsing [default->ringback_post_ans
wer_music] continue=false
Dialplan: sofia/internal/1001 at 192.168.200.23 Regex (FAIL) [ringback_post_answer_
music] destination_number(910010) =~ /^9184$/ break=on-false
Dialplan: sofia/internal/1001 at 192.168.200.23 parsing [default->ClueCon] continue
=false
Dialplan: sofia/internal/1001 at 192.168.200.23 Regex (FAIL) [ClueCon] destination_
number(910010) =~ /^9191$/ break=on-false
Dialplan: sofia/internal/1001 at 192.168.200.23 parsing [default->show_info] contin
ue=false
Dialplan: sofia/internal/1001 at 192.168.200.23 Regex (FAIL) [show_info] destinatio
n_number(910010) =~ /^9192$/ break=on-false
Dialplan: sofia/internal/1001 at 192.168.200.23 parsing [default->video_record] con
tinue=false
Dialplan: sofia/internal/1001 at 192.168.200.23 Regex (FAIL) [video_record] destina
tion_number(910010) =~ /^9193$/ break=on-false
Dialplan: sofia/internal/1001 at 192.168.200.23 parsing [default->video_playback] c
ontinue=false
Dialplan: sofia/internal/1001 at 192.168.200.23 Regex (FAIL) [video_playback] desti
nation_number(910010) =~ /^9194$/ break=on-false
Dialplan: sofia/internal/1001 at 192.168.200.23 parsing [default->delay_echo] conti
nue=false
Dialplan: sofia/internal/1001 at 192.168.200.23 Regex (FAIL) [delay_echo] destinati
on_number(910010) =~ /^9195$/ break=on-false
Dialplan: sofia/internal/1001 at 192.168.200.23 parsing [default->echo] continue=fa
lse
Dialplan: sofia/internal/1001 at 192.168.200.23 Regex (FAIL) [echo] destination_num
ber(910010) =~ /^9196$/ break=on-false
Dialplan: sofia/internal/1001 at 192.168.200.23 parsing [default->milliwatt] contin
ue=false
Dialplan: sofia/internal/1001 at 192.168.200.23 Regex (FAIL) [milliwatt] destinatio
n_number(910010) =~ /^9197$/ break=on-false
Dialplan: sofia/internal/1001 at 192.168.200.23 parsing [default->tone_stream] cont
inue=false
Dialplan: sofia/internal/1001 at 192.168.200.23 Regex (FAIL) [tone_stream] destinat
ion_number(910010) =~ /^9198$/ break=on-false
Dialplan: sofia/internal/1001 at 192.168.200.23 parsing [default->zrtp_enrollement]
continue=false
Dialplan: sofia/internal/1001 at 192.168.200.23 Regex (FAIL) [zrtp_enrollement] des
tination_number(910010) =~ /^9787$/ break=on-false
Dialplan: sofia/internal/1001 at 192.168.200.23 parsing [default->hold_music] conti
nue=false
Dialplan: sofia/internal/1001 at 192.168.200.23 Regex (FAIL) [hold_music] destinati
on_number(910010) =~ /^9664$/ break=on-false
Dialplan: sofia/internal/1001 at 192.168.200.23 parsing [default->pizza_demo] conti
nue=false
Dialplan: sofia/internal/1001 at 192.168.200.23 Regex (FAIL) [pizza_demo] destinati
on_number(910010) =~ /^(pizza|74992)$/ break=on-false
Dialplan: sofia/internal/1001 at 192.168.200.23 parsing [default->local.example.com
] continue=false
Dialplan: sofia/internal/1001 at 192.168.200.23 Regex (PASS) [local.example.com] ${
toll_allow}(domestic,international,local) =~ /local/ break=on-false
Dialplan: sofia/internal/1001 at 192.168.200.23 Regex (FAIL) [local.example.com] de
stination_number(910010) =~ /^(\d{7})$/ break=on-false
Dialplan: sofia/internal/1001 at 192.168.200.23 parsing [default->domestic.example.
com] continue=false
Dialplan: sofia/internal/1001 at 192.168.200.23 Regex (PASS) [domestic.example.com]
${toll_allow}(domestic,international,local) =~ /domestic/ break=on-false
Dialplan: sofia/internal/1001 at 192.168.200.23 Regex (FAIL) [domestic.example.com]
destination_number(910010) =~ /^(\d{11})$/ break=on-false
Dialplan: sofia/internal/1001 at 192.168.200.23 parsing [default->international.exa
mple.com] continue=false
Dialplan: sofia/internal/1001 at 192.168.200.23 Regex (PASS) [international.example
.com] ${toll_allow}(domestic,international,local) =~ /international/ break=on-fa
lse
Dialplan: sofia/internal/1001 at 192.168.200.23 Regex (FAIL) [international.example
.com] destination_number(910010) =~ /^(011\d+)$/ break=on-false
Dialplan: sofia/internal/1001 at 192.168.200.23 parsing [default->call_out] continu
e=false
Dialplan: sofia/internal/1001 at 192.168.200.23 Regex (PASS) [call_out] destination
_number(910010) =~ /^(9\d+)$/ break=on-false
Dialplan: sofia/internal/1001 at 192.168.200.23 Action bridge(sofia/gateway/O
utBound_GW/910010;transport=tcp)
2010-11-26 18:10:04.363710 [DEBUG] switch_core_state_machine.c:119 (sofia/intern
al/1001 at 192.168.200.23) State Change CS_ROUTING -> CS_EXECUTE
2010-11-26 18:10:04.363710 [DEBUG] switch_core_session.c:1064 Send signal sofia/
internal/1001 at 192.168.200.23 [BREAK]
2010-11-26 18:10:04.363710 [DEBUG] switch_core_state_machine.c:359 (sofia/intern
al/1001 at 192.168.200.23) State ROUTING going to sleep
2010-11-26 18:10:04.363710 [DEBUG] switch_core_state_machine.c:320 (sofia/intern
al/1001 at 192.168.200.23) Running State Change CS_EXECUTE
2010-11-26 18:10:04.363710 [DEBUG] switch_core_state_machine.c:366 (sofia/intern
al/1001 at 192.168.200.23) State EXECUTE
2010-11-26 18:10:04.363710 [DEBUG] mod_sofia.c:242 sofia/internal/1001 at 192.168.2
00.23 SOFIA EXECUTE
2010-11-26 18:10:04.363710 [DEBUG] switch_core_state_machine.c:157 sofia/interna
l/1001 at 192.168.200.23 Standard EXECUTE
EXECUTE sofia/internal/1001 at 192.168.200.23 set(open=true)
2010-11-26 18:10:04.363710 [DEBUG] mod_dptools.c:1028 sofia/internal/1001 at 192.16
8.200.23 SET [open]=[true]
EXECUTE sofia/internal/1001 at 192.168.200.23 hash(insert/192.168.200.23-spymap/100
1/4c35aa8c-da89-4204-a5bc-331d5db52030)
EXECUTE sofia/internal/1001 at 192.168.200.23 hash(insert/192.168.200.23-last_dial/
1001/910010)
EXECUTE sofia/internal/1001 at 192.168.200.23 hash(insert/192.168.200.23-last_dial/
global/4c35aa8c-da89-4204-a5bc-331d5db52030)
EXECUTE sofia/internal/1001 at 192.168.200.23 set(RFC2822_DATE=Fri, 26 Nov 2010 18:
10:04 )
2010-11-26 18:10:04.369710 [DEBUG] mod_dptools.c:1028 sofia/internal/1001 at 192.16
8.200.23 SET [RFC2822_DATE]=[Fri, 26 Nov 2010 18:10:04]
EXECUTE sofia/internal/1001 at 192.168.200.23 bridge(sofia/gateway/OutBound_G
W/910010;transport=tcp)
2010-11-26 18:10:04.370711 [ERR] mod_sofia.c:3787 You are trying to use a differ
ent transport type for this gateway (overriding the register-transport), this is
unsupported!
2010-11-26 18:10:04.370711 [NOTICE] mod_sofia.c:4067 Close Channel N/A [CS_NEW]
2010-11-26 18:10:04.370711 [DEBUG] switch_core_state_machine.c:452 () Running St
ate Change CS_DESTROY
2010-11-26 18:10:04.370711 [DEBUG] switch_core_state_machine.c:462 (N/A) State D
ESTROY
2010-11-26 18:10:04.370711 [DEBUG] mod_sofia.c:364 N/A SOFIA DESTROY
2010-11-26 18:10:04.370711 [DEBUG] switch_core_state_machine.c:462 (N/A) State D
ESTROY going to sleep
2010-11-26 18:10:04.370711 [ERR] switch_ivr_originate.c:2618 Cannot create outgo
ing channel of type [sofia] cause: [DESTINATION_OUT_OF_ORDER]
2010-11-26 18:10:04.370711 [DEBUG] switch_ivr_originate.c:3439 Originate Resulte
d in Error Cause: 27 [DESTINATION_OUT_OF_ORDER]
2010-11-26 18:10:04.370711 [INFO] mod_dptools.c:2579 Originate Failed. Cause: D
ESTINATION_OUT_OF_ORDER
2010-11-26 18:10:04.370711 [DEBUG] switch_channel.c:2457 (sofia/internal/1001 at 19
2.168.200.23) Callstate Change RINGING -> HANGUP
2010-11-26 18:10:04.372711 [NOTICE] mod_dptools.c:2642 Hangup sofia/internal/100
1 at 192.168.200.23 [CS_EXECUTE] [DESTINATION_OUT_OF_ORDER]
2010-11-26 18:10:04.372711 [DEBUG] switch_channel.c:2473 Send signal sofia/inter
nal/1001 at 192.168.200.23 [KILL]
2010-11-26 18:10:04.372711 [DEBUG] switch_core_session.c:1064 Send signal sofia/
internal/1001 at 192.168.200.23 [BREAK]
2010-11-26 18:10:04.373711 [DEBUG] switch_core_session.c:1940 sofia/internal/100
1 at 192.168.200.23 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hu
ngup already)
2010-11-26 18:10:04.373711 [DEBUG] switch_core_state_machine.c:366 (sofia/intern
al/1001 at 192.168.200.23) State EXECUTE going to sleep
2010-11-26 18:10:04.373711 [DEBUG] switch_core_state_machine.c:320 (sofia/intern
al/1001 at 192.168.200.23) Running State Change CS_HANGUP
2010-11-26 18:10:04.376711 [DEBUG] switch_core_state_machine.c:557 (sofia/intern
al/1001 at 192.168.200.23) State HANGUP
2010-11-26 18:10:04.376711 [DEBUG] mod_sofia.c:459 Channel sofia/internal/1001 at 1
92.168.200.23 hanging up, cause: DESTINATION_OUT_OF_ORDER
2010-11-26 18:10:04.406713 [DEBUG] mod_sofia.c:521 Responding to INVITE with: 50
2
2010-11-26 18:10:04.408713 [DEBUG] switch_core_state_machine.c:46 sofia/internal
/1001 at 192.168.200.23 Standard HANGUP, cause: DESTINATION_OUT_OF_ORDER
2010-11-26 18:10:04.408713 [DEBUG] switch_core_state_machine.c:557 (sofia/intern
al/1001 at 192.168.200.23) State HANGUP going to sleep
2010-11-26 18:10:04.408713 [DEBUG] switch_core_state_machine.c:351 (sofia/intern
al/1001 at 192.168.200.23) State Change CS_HANGUP -> CS_REPORTING
2010-11-26 18:10:04.408713 [DEBUG] switch_core_session.c:1064 Send signal sofia/
internal/1001 at 192.168.200.23 [BREAK]
2010-11-26 18:10:04.408713 [DEBUG] switch_core_state_machine.c:320 (sofia/intern
al/1001 at 192.168.200.23) Running State Change CS_REPORTING
2010-11-26 18:10:04.408713 [DEBUG] switch_core_state_machine.c:617 (sofia/intern
al/1001 at 192.168.200.23) State REPORTING
2010-11-26 18:10:04.409713 [DEBUG] switch_core_state_machine.c:53 sofia/internal
/1001 at 192.168.200.23 Standard REPORTING, cause: DESTINATION_OUT_OF_ORDER
2010-11-26 18:10:04.409713 [DEBUG] switch_core_state_machine.c:617 (sofia/intern
al/1001 at 192.168.200.23) State REPORTING going to sleep
2010-11-26 18:10:04.409713 [DEBUG] switch_core_state_machine.c:345 (sofia/intern
al/1001 at 192.168.200.23) State Change CS_REPORTING -> CS_DESTROY
2010-11-26 18:10:04.410713 [DEBUG] switch_core_session.c:1064 Send signal sofia/
internal/1001 at 192.168.200.23 [BREAK]
2010-11-26 18:10:04.410713 [DEBUG] switch_core_session.c:1231 Session 3 (sofia/i
nternal/1001 at 192.168.200.23) Locked, Waiting on external entities
2010-11-26 18:10:04.410713 [NOTICE] switch_core_session.c:1249 Session 3 (sofia/
internal/1001 at 192.168.200.23) Ended
2010-11-26 18:10:04.410713 [NOTICE] switch_core_session.c:1251 Close Channel sof
ia/internal/1001 at 192.168.200.23 [CS_DESTROY]
2010-11-26 18:10:04.410713 [DEBUG] switch_core_state_machine.c:449 (sofia/intern
al/1001 at 192.168.200.23) Callstate Change HANGUP -> DOWN
2010-11-26 18:10:04.410713 [DEBUG] switch_core_state_machine.c:452 (sofia/intern
al/1001 at 192.168.200.23) Running State Change CS_DESTROY
2010-11-26 18:10:04.410713 [DEBUG] switch_core_state_machine.c:462 (sofia/intern
al/1001 at 192.168.200.23) State DESTROY
2010-11-26 18:10:04.410713 [DEBUG] mod_sofia.c:364 sofia/internal/1001 at 192.168.2
00.23 SOFIA DESTROY
2010-11-26 18:10:04.410713 [DEBUG] switch_core_state_machine.c:60 sofia/internal
/1001 at 192.168.200.23 Standard DESTROY
2010-11-26 18:10:04.410713 [DEBUG] switch_core_state_machine.c:462 (sofia/intern
al/1001 at 192.168.200.23) State DESTROY going to sleep
Best Regards,
Charles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101128/9c08fa73/attachment-0001.html
More information about the FreeSWITCH-users
mailing list