[Freeswitch-users] some questions of freeswitch & X-Lite

江 Chiang 至中 Chih-Chung Wybie tear152 at hotmail.com
Fri Oct 15 01:52:07 PDT 2010


Hello this is my debug log
 
I use 1013 at 60.248.175.38 call to 4001 at 60.248.175.37
 
EXECUTE sofia/internal/1013 at 60.248.175.38 transfer(4001 XML default)
2010-10-15 16:49:30.666644 [DEBUG] switch_ivr.c:1444 (sofia/internal/1013 at 60.248.175.38) State Change CS_EXECUTE -> CS_ROUTING
2010-10-15 16:49:30.666644 [DEBUG] switch_core_session.c:1022 Send signal sofia/internal/1013 at 60.248.175.38 [BREAK]
2010-10-15 16:49:30.666644 [DEBUG] switch_core_session.c:642 Send signal sofia/internal/1013 at 60.248.175.38 [BREAK]
2010-10-15 16:49:30.666644 [NOTICE] switch_ivr.c:1450 Transfer sofia/internal/1013 at 60.248.175.38 to XML[4001 at default]
2010-10-15 16:49:30.666644 [DEBUG] switch_core_state_machine.c:348 (sofia/internal/1013 at 60.248.175.38) State EXECUTE going to sleep
2010-10-15 16:49:30.666644 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/1013 at 60.248.175.38) Running State Change CS_ROUTING
2010-10-15 16:49:30.666644 [DEBUG] switch_core_state_machine.c:341 (sofia/internal/1013 at 60.248.175.38) State ROUTING
2010-10-15 16:49:30.666644 [DEBUG] mod_sofia.c:140 sofia/internal/1013 at 60.248.175.38 SOFIA ROUTING
2010-10-15 16:49:30.666644 [DEBUG] switch_core_state_machine.c:77 sofia/internal/1013 at 60.248.175.38 Standard ROUTING
2010-10-15 16:49:30.666644 [INFO] mod_dialplan_xml.c:331 Processing 1013->4001 in context default
Dialplan: sofia/internal/1013 at 60.248.175.38 parsing [default->unloop] continue=false
Dialplan: sofia/internal/1013 at 60.248.175.38 Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
Dialplan: sofia/internal/1013 at 60.248.175.38 Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
Dialplan: sofia/internal/1013 at 60.248.175.38 parsing [default->tod_example] continue=true
Dialplan: sofia/internal/1013 at 60.248.175.38 Date/Time Match (PASS) [tod_example] break=on-false
Dialplan: sofia/internal/1013 at 60.248.175.38 Action set(open=true)
Dialplan: sofia/internal/1013 at 60.248.175.38 parsing [default->holiday_example] continue=true
Dialplan: sofia/internal/1013 at 60.248.175.38 Date/Time Match (FAIL) [holiday_example] break=on-false
Dialplan: sofia/internal/1013 at 60.248.175.38 parsing [default->global-intercept] continue=false
Dialplan: sofia/internal/1013 at 60.248.175.38 Regex (FAIL) [global-intercept] destination_number(4001) =~ /^886$/ break=on-false
Dialplan: sofia/internal/1013 at 60.248.175.38 parsing [default->group-intercept] continue=false
Dialplan: sofia/internal/1013 at 60.248.175.38 Regex (FAIL) [group-intercept] destination_number(4001) =~ /^\*8$/ break=on-false
Dialplan: sofia/internal/1013 at 60.248.175.38 parsing [default->intercept-ext] continue=false
Dialplan: sofia/internal/1013 at 60.248.175.38 Regex (FAIL) [intercept-ext] destination_number(4001) =~ /^\*\*(\d+)$/ break=on-false
Dialplan: sofia/internal/1013 at 60.248.175.38 parsing [default->redial] continue=false
Dialplan: sofia/internal/1013 at 60.248.175.38 Regex (FAIL) [redial] destination_number(4001) =~ /^(redial|870)$/ break=on-false
Dialplan: sofia/internal/1013 at 60.248.175.38 parsing [default->global] continue=true
Dialplan: sofia/internal/1013 at 60.248.175.38 Regex (FAIL) [global] ${call_debug}(false) =~ /^true$/ break=never
Dialplan: sofia/internal/1013 at 60.248.175.38 Regex (FAIL) [global] ${sip_has_crypto}() =~ /^(AES_CM_128_HMAC_SHA1_32|AES_CM_128_HMAC_SHA1_80)$/ break=never
Dialplan: sofia/internal/1013 at 60.248.175.38 Absolute Condition [global]
Dialplan: sofia/internal/1013 at 60.248.175.38 Action hash(insert/${domain_name}-spymap/${caller_id_number}/${uuid})
Dialplan: sofia/internal/1013 at 60.248.175.38 Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})
Dialplan: sofia/internal/1013 at 60.248.175.38 Action hash(insert/${domain_name}-last_dial/global/${uuid})
Dialplan: sofia/internal/1013 at 60.248.175.38 parsing [default->snom-demo-2] continue=false
Dialplan: sofia/internal/1013 at 60.248.175.38 Regex (FAIL) [snom-demo-2] destination_number(4001) =~ /^9001$/ break=on-false
Dialplan: sofia/internal/1013 at 60.248.175.38 parsing [default->snom-demo-1] continue=false
Dialplan: sofia/internal/1013 at 60.248.175.38 Regex (FAIL) [snom-demo-1] destination_number(4001) =~ /^9000$/ break=on-false
Dialplan: sofia/internal/1013 at 60.248.175.38 parsing [default->eavesdrop] continue=false
Dialplan: sofia/internal/1013 at 60.248.175.38 Regex (FAIL) [eavesdrop] destination_number(4001) =~ /^88(\d{4})$|^\*0(.*)$/ break=on-false
Dialplan: sofia/internal/1013 at 60.248.175.38 parsing [default->eavesdrop] continue=false
Dialplan: sofia/internal/1013 at 60.248.175.38 Regex (FAIL) [eavesdrop] destination_number(4001) =~ /^779$/ break=on-false
Dialplan: sofia/internal/1013 at 60.248.175.38 parsing [default->call_return] continue=false
Dialplan: sofia/internal/1013 at 60.248.175.38 Regex (FAIL) [call_return] destination_number(4001) =~ /^\*69$|^869$|^lcr$/ break=on-false
Dialplan: sofia/internal/1013 at 60.248.175.38 parsing [default->del-group] continue=false
Dialplan: sofia/internal/1013 at 60.248.175.38 Regex (FAIL) [del-group] destination_number(4001) =~ /^80(\d{2})$/ break=on-false
Dialplan: sofia/internal/1013 at 60.248.175.38 parsing [default->add-group] continue=false
Dialplan: sofia/internal/1013 at 60.248.175.38 Regex (FAIL) [add-group] destination_number(4001) =~ /^81(\d{2})$/ break=on-false
Dialplan: sofia/internal/1013 at 60.248.175.38 parsing [default->call-group-simo] continue=false
Dialplan: sofia/internal/1013 at 60.248.175.38 Regex (FAIL) [call-group-simo] destination_number(4001) =~ /^82(\d{2})$/ break=on-false
Dialplan: sofia/internal/1013 at 60.248.175.38 parsing [default->call-group-order] continue=false
Dialplan: sofia/internal/1013 at 60.248.175.38 Regex (FAIL) [call-group-order] destination_number(4001) =~ /^83(\d{2})$/ break=on-false
Dialplan: sofia/internal/1013 at 60.248.175.38 parsing [default->extension-intercom] continue=false
Dialplan: sofia/internal/1013 at 60.248.175.38 Regex (FAIL) [extension-intercom] destination_number(4001) =~ /^8(10[01][0-9])$/ break=on-false
Dialplan: sofia/internal/1013 at 60.248.175.38 parsing [default->Local_Extension] continue=false
Dialplan: sofia/internal/1013 at 60.248.175.38 Regex (PASS) [Local_Extension] destination_number(4001) =~ /^([0-4]0[01][0-9])$/ break=on-false
Dialplan: sofia/internal/1013 at 60.248.175.38 Action set(RECORD_COPYRIGHT=(c) 2010)
Dialplan: sofia/internal/1013 at 60.248.175.38 Action set(RECORD_SOFTWARE=FreeSwitch)
Dialplan: sofia/internal/1013 at 60.248.175.38 Action set(RECORD_ARTIST=FreeSwitch)
Dialplan: sofia/internal/1013 at 60.248.175.38 Action set(RECORD_COMMENT=FreeSwitch)
Dialplan: sofia/internal/1013 at 60.248.175.38 Action set(RECORD_DATE=${strftime(%Y-%m-%d %H:%M)})
Dialplan: sofia/internal/1013 at 60.248.175.38 Action set(RECORD_STEREO=true)
Dialplan: sofia/internal/1013 at 60.248.175.38 Action set(dialed_extension=4001)
Dialplan: sofia/internal/1013 at 60.248.175.38 Action export(dialed_extension=4001)
Dialplan: sofia/internal/1013 at 60.248.175.38 Action set_user(${dialed_extension}@${domain_name})
Dialplan: sofia/internal/1013 at 60.248.175.38 Action limit(60.248.175.38 ${dialed_extension} ${max_calls} ${fail_over})
Dialplan: sofia/internal/1013 at 60.248.175.38 Action bind_meta_app(1 b s execute_extension::dx XML features)
Dialplan: sofia/internal/1013 at 60.248.175.38 Action bind_meta_app(2 b s record_session::/usr/local/freeswitch/recordings/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav)
Dialplan: sofia/internal/1013 at 60.248.175.38 Action bind_meta_app(3 b s execute_extension::cf XML features)
Dialplan: sofia/internal/1013 at 60.248.175.38 Action set(ringback=${us-ring})
Dialplan: sofia/internal/1013 at 60.248.175.38 Action set(transfer_ringback=local_stream://moh)
Dialplan: sofia/internal/1013 at 60.248.175.38 Action set(call_timeout=30)
Dialplan: sofia/internal/1013 at 60.248.175.38 Action set(hangup_after_bridge=true)
Dialplan: sofia/internal/1013 at 60.248.175.38 Action set(continue_on_fail=true)
Dialplan: sofia/internal/1013 at 60.248.175.38 Action hash(insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number})
Dialplan: sofia/internal/1013 at 60.248.175.38 Action hash(insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid})
Dialplan: sofia/internal/1013 at 60.248.175.38 Action set(called_party_callgroup=${user_data(${dialed_extension}@${domain_name} var callgroup)})
Dialplan: sofia/internal/1013 at 60.248.175.38 Action hash(insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid})
Dialplan: sofia/internal/1013 at 60.248.175.38 Action bridge(user/${dialed_extension}@${domain_name})
Dialplan: sofia/internal/1013 at 60.248.175.38 Action answer()
Dialplan: sofia/internal/1013 at 60.248.175.38 Action sleep(1000)
Dialplan: sofia/internal/1013 at 60.248.175.38 Action bridge(loopback/app=voicemail:default ${domain_name} ${dialed_extension})
2010-10-15 16:49:30.666644 [DEBUG] switch_core_state_machine.c:119 (sofia/internal/1013 at 60.248.175.38) State Change CS_ROUTING -> CS_EXECUTE
2010-10-15 16:49:30.666644 [DEBUG] switch_core_session.c:1022 Send signal sofia/internal/1013 at 60.248.175.38 [BREAK]
2010-10-15 16:49:30.666644 [DEBUG] switch_core_state_machine.c:341 (sofia/internal/1013 at 60.248.175.38) State ROUTING going to sleep
2010-10-15 16:49:30.666644 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/1013 at 60.248.175.38) Running State Change CS_EXECUTE
2010-10-15 16:49:30.666644 [DEBUG] switch_core_state_machine.c:348 (sofia/internal/1013 at 60.248.175.38) State EXECUTE
2010-10-15 16:49:30.666644 [DEBUG] mod_sofia.c:233 sofia/internal/1013 at 60.248.175.38 SOFIA EXECUTE
2010-10-15 16:49:30.666644 [DEBUG] switch_core_state_machine.c:157 sofia/internal/1013 at 60.248.175.38 Standard EXECUTE
EXECUTE sofia/internal/1013 at 60.248.175.38 set(open=true)
2010-10-15 16:49:30.666644 [DEBUG] mod_dptools.c:817 sofia/internal/1013 at 60.248.175.38 SET [open]=[true]
EXECUTE sofia/internal/1013 at 60.248.175.38 hash(insert/60.248.175.38-spymap/1013/fe66f80a-992b-43f7-b130-47f0c87f4c15)
EXECUTE sofia/internal/1013 at 60.248.175.38 hash(insert/60.248.175.38-last_dial/1013/4001)
EXECUTE sofia/internal/1013 at 60.248.175.38 hash(insert/60.248.175.38-last_dial/global/fe66f80a-992b-43f7-b130-47f0c87f4c15)
EXECUTE sofia/internal/1013 at 60.248.175.38 set(RECORD_COPYRIGHT=(c) 2010)
2010-10-15 16:49:30.666644 [DEBUG] mod_dptools.c:817 sofia/internal/1013 at 60.248.175.38 SET [RECORD_COPYRIGHT]=[(c) 2010]
EXECUTE sofia/internal/1013 at 60.248.175.38 set(RECORD_SOFTWARE=FreeSwitch)
2010-10-15 16:49:30.666644 [DEBUG] mod_dptools.c:817 sofia/internal/1013 at 60.248.175.38 SET [RECORD_SOFTWARE]=[FreeSwitch]
EXECUTE sofia/internal/1013 at 60.248.175.38 set(RECORD_ARTIST=FreeSwitch)
2010-10-15 16:49:30.666644 [DEBUG] mod_dptools.c:817 sofia/internal/1013 at 60.248.175.38 SET [RECORD_ARTIST]=[FreeSwitch]
EXECUTE sofia/internal/1013 at 60.248.175.38 set(RECORD_COMMENT=FreeSwitch)
2010-10-15 16:49:30.666644 [DEBUG] mod_dptools.c:817 sofia/internal/1013 at 60.248.175.38 SET [RECORD_COMMENT]=[FreeSwitch]
EXECUTE sofia/internal/1013 at 60.248.175.38 set(RECORD_DATE=2010-10-15 16:49)
2010-10-15 16:49:30.666644 [DEBUG] mod_dptools.c:817 sofia/internal/1013 at 60.248.175.38 SET [RECORD_DATE]=[2010-10-15 16:49]
EXECUTE sofia/internal/1013 at 60.248.175.38 set(RECORD_STEREO=true)
2010-10-15 16:49:30.666644 [DEBUG] mod_dptools.c:817 sofia/internal/1013 at 60.248.175.38 SET [RECORD_STEREO]=[true]
EXECUTE sofia/internal/1013 at 60.248.175.38 set(dialed_extension=4001)
2010-10-15 16:49:30.666644 [DEBUG] mod_dptools.c:817 sofia/internal/1013 at 60.248.175.38 SET [dialed_extension]=[4001]
EXECUTE sofia/internal/1013 at 60.248.175.38 export(dialed_extension=4001)
2010-10-15 16:49:30.666644 [DEBUG] mod_dptools.c:901 EXPORT [dialed_extension]=[4001]
EXECUTE sofia/internal/1013 at 60.248.175.38 set_user(4001 at 60.248.175.38)
EXECUTE sofia/internal/1013 at 60.248.175.38 limit(60.248.175.38 4001  )
2010-10-15 16:49:30.666644 [WARNING] mod_limit.c:779 USAGE: limit <realm> <id> [<max> [number  [dialplan [context]]]]
EXECUTE sofia/internal/1013 at 60.248.175.38 bind_meta_app(1 b s execute_extension::dx XML features)
2010-10-15 16:49:30.666644 [INFO] switch_ivr_async.c:2372 Bound B-Leg: 1 execute_extension::dx XML features
EXECUTE sofia/internal/1013 at 60.248.175.38 bind_meta_app(2 b s record_session::/usr/local/freeswitch/recordings/1013.2010-10-15-16-49-30.wav)
2010-10-15 16:49:30.666644 [INFO] switch_ivr_async.c:2372 Bound B-Leg: 2 record_session::/usr/local/freeswitch/recordings/1013.2010-10-15-16-49-30.wav
EXECUTE sofia/internal/1013 at 60.248.175.38 bind_meta_app(3 b s execute_extension::cf XML features)
2010-10-15 16:49:30.666644 [INFO] switch_ivr_async.c:2372 Bound B-Leg: 3 execute_extension::cf XML features
EXECUTE sofia/internal/1013 at 60.248.175.38 set(ringback=%(2000,4000,440.0,480.0))
2010-10-15 16:49:30.666644 [DEBUG] mod_dptools.c:817 sofia/internal/1013 at 60.248.175.38 SET [ringback]=[%(2000,4000,440.0,480.0)]
EXECUTE sofia/internal/1013 at 60.248.175.38 set(transfer_ringback=local_stream://moh)
2010-10-15 16:49:30.666644 [DEBUG] mod_dptools.c:817 sofia/internal/1013 at 60.248.175.38 SET [transfer_ringback]=[local_stream://moh]
EXECUTE sofia/internal/1013 at 60.248.175.38 set(call_timeout=30)
2010-10-15 16:49:30.666644 [DEBUG] mod_dptools.c:817 sofia/internal/1013 at 60.248.175.38 SET [call_timeout]=[30]
EXECUTE sofia/internal/1013 at 60.248.175.38 set(hangup_after_bridge=true)
2010-10-15 16:49:30.666644 [DEBUG] mod_dptools.c:817 sofia/internal/1013 at 60.248.175.38 SET [hangup_after_bridge]=[true]
EXECUTE sofia/internal/1013 at 60.248.175.38 set(continue_on_fail=true)
2010-10-15 16:49:30.666644 [DEBUG] mod_dptools.c:817 sofia/internal/1013 at 60.248.175.38 SET [continue_on_fail]=[true]
EXECUTE sofia/internal/1013 at 60.248.175.38 hash(insert/60.248.175.38-call_return/4001/1013)
EXECUTE sofia/internal/1013 at 60.248.175.38 hash(insert/60.248.175.38-last_dial_ext/4001/fe66f80a-992b-43f7-b130-47f0c87f4c15)
EXECUTE sofia/internal/1013 at 60.248.175.38 set(called_party_callgroup=techsupport)
2010-10-15 16:49:30.666644 [DEBUG] mod_dptools.c:817 sofia/internal/1013 at 60.248.175.38 SET [called_party_callgroup]=[techsupport]
EXECUTE sofia/internal/1013 at 60.248.175.38 hash(insert/60.248.175.38-last_dial/techsupport/fe66f80a-992b-43f7-b130-47f0c87f4c15)
EXECUTE sofia/internal/1013 at 60.248.175.38 bridge(user/4001 at 60.248.175.38)
2010-10-15 16:49:30.666644 [DEBUG] switch_ivr_originate.c:1946 variable string 0 = [presence_id=4001 at 60.248.175.38]
2010-10-15 16:49:30.666644 [ERR] switch_ivr_originate.c:2493 Cannot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED]
2010-10-15 16:49:30.666644 [DEBUG] switch_ivr_originate.c:3308 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED]
2010-10-15 16:49:30.666644 [ERR] switch_ivr_originate.c:2493 Cannot create outgoing channel of type [user] cause: [USER_NOT_REGISTERED]
2010-10-15 16:49:30.666644 [DEBUG] switch_ivr_originate.c:3308 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED]
2010-10-15 16:49:30.666644 [INFO] mod_dptools.c:2356 Originate Failed.  Cause: USER_NOT_REGISTERED
EXECUTE sofia/internal/1013 at 60.248.175.38 answer()
2010-10-15 16:49:30.694130 [DEBUG] sofia_glue.c:2616 AUDIO RTP [sofia/internal/1013 at 60.248.175.38] 60.248.175.38 port 25606 -> 60.248.175.43 port 35070 codec: 0 ms: 20
2010-10-15 16:49:30.694130 [DEBUG] switch_rtp.c:1343 Starting timer [soft] 160 bytes per 20ms
2010-10-15 16:49:30.695467 [DEBUG] sofia_glue.c:2822 Set 2833 dtmf send payload to 101
2010-10-15 16:49:30.695467 [DEBUG] sofia_glue.c:2827 Set 2833 dtmf receive payload to 101
2010-10-15 16:49:30.695467 [DEBUG] mod_sofia.c:663 Local SDP sofia/internal/1013 at 60.248.175.38:
v=0
o=FreeSWITCH 1287106964 1287106965 IN IP4 60.248.175.38
s=FreeSWITCH
c=IN IP4 60.248.175.38
t=0 0
m=audio 25606 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
2010-10-15 16:49:30.695467 [DEBUG] switch_core_session.c:642 Send signal sofia/internal/1013 at 60.248.175.38 [BREAK]
2010-10-15 16:49:30.695467 [NOTICE] mod_dptools.c:720 Channel [sofia/internal/1013 at 60.248.175.38] has been answered
EXECUTE sofia/internal/1013 at 60.248.175.38 sleep(1000)
2010-10-15 16:49:30.698172 [DEBUG] sofia.c:4200 Channel sofia/internal/1013 at 60.248.175.38 entering state [completed][200]
2010-10-15 16:49:30.745378 [DEBUG] switch_rtp.c:2443 Correct ip/port confirmed.
2010-10-15 16:49:30.807388 [DEBUG] sofia.c:4200 Channel sofia/internal/1013 at 60.248.175.38 entering state [ready][200]
EXECUTE sofia/internal/1013 at 60.248.175.38 bridge(loopback/app=voicemail:default 60.248.175.38 4001)
2010-10-15 16:49:31.704837 [NOTICE] switch_channel.c:675 New Channel loopback/app=voicemail:default 60.248.175.38 4001-a [23f3d5de-f985-44bd-8b1a-118b98bb5eae]
2010-10-15 16:49:31.704837 [DEBUG] mod_loopback.c:127 loopback/app=voicemail:default 60.248.175.38 4001-a setup codec PCMU/8000/20
2010-10-15 16:49:31.704837 [NOTICE] switch_channel.c:673 Rename Channel loopback/app=voicemail:default 60.248.175.38 4001-a->loopback/voicemail-a [23f3d5de-f985-44bd-8b1a-118b98bb5eae]
2010-10-15 16:49:31.704837 [DEBUG] mod_loopback.c:911 (loopback/voicemail-a) State Change CS_NEW -> CS_INIT
2010-10-15 16:49:31.704837 [DEBUG] switch_core_session.c:1022 Send signal loopback/voicemail-a [BREAK]
2010-10-15 16:49:31.704837 [DEBUG] mod_loopback.c:452 loopback/voicemail-a CHANNEL KILL
2010-10-15 16:49:31.706218 [DEBUG] switch_core_state_machine.c:314 (loopback/voicemail-a) Running State Change CS_INIT
2010-10-15 16:49:31.706218 [DEBUG] switch_core_state_machine.c:338 (loopback/voicemail-a) State INIT
2010-10-15 16:49:31.706218 [NOTICE] switch_channel.c:675 New Channel loopback/voicemail-b [1abc53a2-df93-40db-96ab-547f9ddd1b1d]
2010-10-15 16:49:31.706218 [DEBUG] mod_loopback.c:127 loopback/voicemail-b setup codec PCMU/8000/20
2010-10-15 16:49:31.706218 [DEBUG] mod_loopback.c:240 (loopback/voicemail-b) State Change CS_NEW -> CS_INIT
2010-10-15 16:49:31.706218 [DEBUG] switch_core_session.c:1022 Send signal loopback/voicemail-b [BREAK]
2010-10-15 16:49:31.706218 [DEBUG] mod_loopback.c:452 loopback/voicemail-b CHANNEL KILL
2010-10-15 16:49:31.707132 [DEBUG] switch_core_state_machine.c:314 (loopback/voicemail-b) Running State Change CS_INIT
2010-10-15 16:49:31.707132 [DEBUG] switch_core_state_machine.c:338 (loopback/voicemail-b) State INIT
2010-10-15 16:49:31.707132 [DEBUG] mod_loopback.c:281 (loopback/voicemail-b) State Change CS_INIT -> CS_ROUTING
2010-10-15 16:49:31.707132 [DEBUG] switch_core_session.c:1022 Send signal loopback/voicemail-b [BREAK]
2010-10-15 16:49:31.707132 [DEBUG] mod_loopback.c:452 loopback/voicemail-b CHANNEL KILL
2010-10-15 16:49:31.707132 [DEBUG] switch_core_state_machine.c:338 (loopback/voicemail-b) State INIT going to sleep
2010-10-15 16:49:31.707132 [DEBUG] switch_core_state_machine.c:314 (loopback/voicemail-b) Running State Change CS_ROUTING
2010-10-15 16:49:31.707132 [DEBUG] switch_core_state_machine.c:341 (loopback/voicemail-b) State ROUTING
2010-10-15 16:49:31.707132 [DEBUG] mod_loopback.c:315 loopback/voicemail-b CHANNEL ROUTING
2010-10-15 16:49:31.707132 [DEBUG] mod_loopback.c:326 (loopback/voicemail-b) State Change CS_ROUTING -> CS_EXECUTE
2010-10-15 16:49:31.707132 [DEBUG] switch_core_session.c:1022 Send signal loopback/voicemail-b [BREAK]
2010-10-15 16:49:31.707132 [DEBUG] mod_loopback.c:452 loopback/voicemail-b CHANNEL KILL
2010-10-15 16:49:31.707132 [DEBUG] switch_core_state_machine.c:341 (loopback/voicemail-b) State ROUTING going to sleep
2010-10-15 16:49:31.707132 [DEBUG] switch_core_state_machine.c:314 (loopback/voicemail-b) Running State Change CS_EXECUTE
2010-10-15 16:49:31.707132 [DEBUG] switch_core_state_machine.c:348 (loopback/voicemail-b) State EXECUTE
2010-10-15 16:49:31.707132 [DEBUG] mod_loopback.c:346 loopback/voicemail-b CHANNEL EXECUTE
2010-10-15 16:49:31.707132 [DEBUG] switch_core_state_machine.c:157 loopback/voicemail-b Standard EXECUTE
EXECUTE loopback/voicemail-b pre_answer()
2010-10-15 16:49:31.707132 [NOTICE] mod_loopback.c:716 Pre-Answer loopback/voicemail-a!
2010-10-15 16:49:31.707132 [DEBUG] switch_channel.c:2254 Send signal sofia/internal/1013 at 60.248.175.38 [BREAK]
2010-10-15 16:49:31.707132 [DEBUG] switch_core_session.c:642 Send signal loopback/voicemail-b [BREAK]
2010-10-15 16:49:31.707132 [DEBUG] mod_loopback.c:452 loopback/voicemail-b CHANNEL KILL
2010-10-15 16:49:31.707132 [NOTICE] mod_dptools.c:746 Pre-Answer loopback/voicemail-b!
2010-10-15 16:49:31.707132 [DEBUG] switch_channel.c:2254 Send signal sofia/internal/1013 at 60.248.175.38 [BREAK]
EXECUTE loopback/voicemail-b voicemail(default 60.248.175.38 4001)
2010-10-15 16:49:31.708787 [DEBUG] mod_loopback.c:281 (loopback/voicemail-a) State Change CS_INIT -> CS_ROUTING
2010-10-15 16:49:31.708787 [DEBUG] switch_core_session.c:1022 Send signal loopback/voicemail-a [BREAK]
2010-10-15 16:49:31.708787 [DEBUG] mod_loopback.c:452 loopback/voicemail-a CHANNEL KILL
2010-10-15 16:49:31.708787 [DEBUG] switch_core_state_machine.c:338 (loopback/voicemail-a) State INIT going to sleep
2010-10-15 16:49:31.708787 [DEBUG] switch_core_state_machine.c:314 (loopback/voicemail-a) Running State Change CS_ROUTING
2010-10-15 16:49:31.708787 [DEBUG] switch_core_state_machine.c:341 (loopback/voicemail-a) State ROUTING
2010-10-15 16:49:31.708787 [DEBUG] mod_loopback.c:315 loopback/voicemail-a CHANNEL ROUTING
2010-10-15 16:49:31.708787 [DEBUG] switch_ivr_originate.c:66 (loopback/voicemail-a) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2010-10-15 16:49:31.708787 [DEBUG] switch_core_session.c:1022 Send signal loopback/voicemail-a [BREAK]
2010-10-15 16:49:31.708787 [DEBUG] mod_loopback.c:452 loopback/voicemail-a CHANNEL KILL
2010-10-15 16:49:31.708787 [DEBUG] switch_core_state_machine.c:341 (loopback/voicemail-a) State ROUTING going to sleep
2010-10-15 16:49:31.708787 [DEBUG] switch_core_state_machine.c:314 (loopback/voicemail-a) Running State Change CS_CONSUME_MEDIA
2010-10-15 16:49:31.708787 [DEBUG] switch_core_state_machine.c:360 (loopback/voicemail-a) State CONSUME_MEDIA
2010-10-15 16:49:31.708787 [DEBUG] mod_loopback.c:512 CHANNEL CONSUME_MEDIA
2010-10-15 16:49:31.708787 [DEBUG] switch_core_state_machine.c:360 (loopback/voicemail-a) State CONSUME_MEDIA going to sleep
2010-10-15 16:49:31.710698 [DEBUG] switch_ivr_originate.c:3228 Originate Resulted in Success: [loopback/voicemail-a]
2010-10-15 16:49:31.710698 [DEBUG] switch_core_session.c:642 Send signal loopback/voicemail-a [BREAK]
2010-10-15 16:49:31.710698 [DEBUG] mod_loopback.c:452 loopback/voicemail-a CHANNEL KILL
2010-10-15 16:49:31.710698 [DEBUG] switch_core_session.c:642 Send signal sofia/internal/1013 at 60.248.175.38 [BREAK]
2010-10-15 16:49:31.710698 [DEBUG] switch_ivr_bridge.c:1182 (loopback/voicemail-a) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2010-10-15 16:49:31.710698 [DEBUG] switch_core_session.c:1022 Send signal loopback/voicemail-a [BREAK]
2010-10-15 16:49:31.710698 [DEBUG] mod_loopback.c:452 loopback/voicemail-a CHANNEL KILL
2010-10-15 16:49:31.710698 [DEBUG] switch_core_state_machine.c:314 (loopback/voicemail-a) Running State Change CS_EXCHANGE_MEDIA
2010-10-15 16:49:31.710698 [DEBUG] switch_core_state_machine.c:351 (loopback/voicemail-a) State EXCHANGE_MEDIA
2010-10-15 16:49:31.710698 [DEBUG] mod_loopback.c:474 CHANNEL LOOPBACK
2010-10-15 16:49:31.712661 [DEBUG] switch_core_session.c:703 Send signal loopback/voicemail-a [BREAK]
2010-10-15 16:49:31.712661 [DEBUG] mod_loopback.c:452 loopback/voicemail-a CHANNEL KILL
2010-10-15 16:49:31.712661 [DEBUG] switch_core_session.c:703 Send signal sofia/internal/1013 at 60.248.175.38 [BREAK]
2010-10-15 16:49:31.824953 [DEBUG] switch_ivr_play_say.c:63 No language specified - Using [en]
2010-10-15 16:49:31.824953 [DEBUG] switch_ivr_play_say.c:244 Handle play-file:[voicemail/vm-person.wav] (en:en)
2010-10-15 16:49:31.824953 [DEBUG] switch_ivr_play_say.c:1152 Codec Activated L16 at 8000hz 1 channels 20ms
2010-10-15 16:49:33.185370 [DEBUG] switch_ivr_play_say.c:1444 done playing file
2010-10-15 16:49:33.305429 [DEBUG] switch_ivr_play_say.c:244 Handle say:[4001] (en:en)
2010-10-15 16:49:33.305429 [DEBUG] switch_ivr_play_say.c:1152 Codec Activated L16 at 8000hz 1 channels 20ms
2010-10-15 16:49:33.744961 [DEBUG] switch_ivr_play_say.c:1444 done playing file
2010-10-15 16:49:33.744961 [DEBUG] switch_ivr_play_say.c:1152 Codec Activated L16 at 8000hz 1 channels 20ms

 


From: david.ponzone at ipeva.fr
To: freeswitch-users at lists.freeswitch.org
Date: Thu, 14 Oct 2010 12:20:56 +0200
Subject: Re: [Freeswitch-users] some questions of freeswitch & X-Lite

Don't be shy on the logs, send the full ones!


in fs_cli:
fsctl loglevel debug
/log 7


and then make a call





David Ponzone  Direction Technique
email: david.ponzone at ipeva.fr
tel:      01 74 03 18 97
gsm:   06 66 98 76 34


Service Client IPeva

tel:      0811 46 26 26

www.ipeva.fr  -   www.ipeva-studio.com



Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.




Le 14/10/2010 à 11:53, 江 Chiang 至中 Chih-Chung Wybie a écrit :

I tried use 1013 at 38 calls to 1019 at 37
 
show log below
 
2010-10-14 17:50:41.249876 [NOTICE] switch_channel.c:675 New Channel sofia/internal/1013 at 60.248.175.38[875fdeef-b94e-41fb-a621-ea005bbaedbd]
2010-10-14 17:50:41.263809 [INFO] mod_dialplan_xml.c:331 Processing 1013->1019 in context public
2010-10-14 17:50:41.263809 [NOTICE] switch_ivr.c:1450 Transfer sofia/internal/1013 at 60.248.175.38 to XML[1019 at default]
2010-10-14 17:50:41.263809 [INFO] mod_dialplan_xml.c:331 Processing 1013->1019 in context default
2010-10-14 17:50:41.283904 [INFO] switch_core_session.c:1764 Sending early media
2010-10-14 17:50:41.285023 [NOTICE] mod_sofia.c:1994 Pre-Answer sofia/internal/1013 at 60.248.175.38!

seems not work
 
Thank you for you attension
Best Regards
 
Gary
 

 


From: david.ponzone at ipeva.fr
To: freeswitch-users at lists.freeswitch.org
Date: Thu, 14 Oct 2010 10:16:28 +0200
Subject: Re: [Freeswitch-users] some questions of freeswitch & X-Lite

I think we would need a complete log from the target FS, in order to provide you with any efficient help.


Thank





David Ponzone  Direction Technique
email: david.ponzone at ipeva.fr
tel:      01 74 03 18 97
gsm:   06 66 98 76 34


Service Client IPeva

tel:      0811 46 26 26

www.ipeva.fr  -   www.ipeva-studio.com



Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.




Le 14/10/2010 à 09:55, 江 Chiang 至中 Chih-Chung Wybie a écrit :

I tried Connect Two FreeSWITCH Boxes  http://wiki.freeswitch.org/wiki/Connect_Two_FreeSWITCH_Boxes
and my configuration :
 
60.248.175.37
 
(autoload_configs/act.conf.xml)
<list name="domains" default="deny">
      <node type="allow" cidr="60.248.175.38/28"/>
     <!-- <node type="allow" domain="$${domain}"/>-->
</list>

(dialplan/default.xml)
 
<extension name="Dial to 38">
      <condition field="destination_number" expression="^([0-4]0[01][0-9])$">
        <action application="bridge" data="sofia/internal/$1 at 60.248.175.38"/>
      </condition>
 </extension>
 
(dialplan/public.xml)

<extension name="Calls from 38">
      <condition field="destination_number" expression="^([0-4]0[01][0-9])$">
        <action application="transfer" data="$1 XML default"/>
      </condition>
 </extension>
 
 
 
60.248.175.38
 
(autoload_configs/act.conf.xml)
<list name="domains" default="deny">
      <node type="allow" cidr="60.248.175.37/28"/>
     <!-- <node type="allow" domain="$${domain}"/>-->
</list>

(dialplan/default.xml)
 
<extension name="Dial to 37">
      <condition field="destination_number" expression="^([0-4]0[01][0-9])$">
        <action application="bridge" data="sofia/internal/$1 at 60.248.175.37"/>
      </condition>
 </extension>
 
(dialplan/public.xml)

<extension name="Calls from 37">
      <condition field="destination_number" expression="^([0-4]0[01][0-9])$">
        <action application="transfer" data="$1 XML default"/>
      </condition>
 </extension>
 
when I use 1007 at 38 calls to 1007 at 37
it won't show errors but still not work
 
how should I change something ?
 
Thank you for your attension
 
Best Regards
Gary
 
 
 
 
 
> Date: Wed, 13 Oct 2010 22:17:13 -0700
> From: curriegrad2004 at gmail.com
> To: freeswitch-users at lists.freeswitch.org
> Subject: Re: [Freeswitch-users] some questions of freeswitch & X-Lite
> 
> You can create a SIP trunk between the two servers so calls can be
> routed back and forth from the servers you've specified.
> 
> 2010/10/13 江 Chiang 至中 Chih-Chung Wybie <tear152 at hotmail.com>:
> > I tried it
> > but not working
> > and show errors below
> > 2010-10-14 11:03:05.336206 [ERR] switch_ivr_originate.c:2493 Cannot create
> > outgoing channel of type [error] cause: [USER_NOT_REGISTERED]
> > 2010-10-14 11:03:05.338283 [ERR] switch_ivr_originate.c:2493 Cannot create
> > outgoing channel of type [user] cause: [USER_NOT_REGISTERED]
> > 2010-10-14 11:03:05.338283 [INFO] mod_dptools.c:2356 Originate Failed.
> > Cause: USER_NOT_REGISTERED
> >
> > and for example
> >  I use SIP server 60.248.175.38  user id=1007
> > and I call to 1007 at 60.248.175.37    that will show these errors
> >
> > how should set more?
> >
> > thank you for your attension
> >
> > Best Regards
> > Gary
> >
> > ________________________________
> > Date: Thu, 14 Oct 2010 10:55:49 +0800
> > From: xyangni at gmail.com
> > To: freeswitch-users at lists.freeswitch.org
> > Subject: Re: [Freeswitch-users] some questions of freeswitch & X-Lite
> >
> > I think you can reg at server A and than call B as a normal SIP call to
> > external domain.
> >
> > 2010/10/14 江 Chiang 至中 Chih-Chung Wybie <tear152 at hotmail.com>
> >
> >
> >
> > Hello
> >
> > I set two SIP servers  60.248.175.37 & 60.248.175.38 and use X-Lite to call
> >
> > my question is how can I call between these servers?
> >
> > if I can , how shoould I set in *.xml? or X-Lite?
> >
> > thank you for your attension
> >
> >
> > Best Regards
> > Gary
> >
> > _______________________________________________
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> >
> >
> >
> > _______________________________________________ FreeSWITCH-users mailing
> > list FreeSWITCH-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> > _______________________________________________
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> >
> >
> 
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-usersUNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101015/62c8f979/attachment-0001.html 


More information about the FreeSWITCH-users mailing list