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

David Ponzone david.ponzone at ipeva.fr
Mon Oct 18 01:52:31 PDT 2010


I would reverse back the modifications you made to acl.conf.xml.
At the moment, the call is hitting the box as if it was not from a  
registered user, so it's hitting public dialplan instead of default.

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 18/10/2010 à 10:05, 江 Chiang 至中 Chih-Chung Wybie a écrit :

> sorry
>
> but I tried it on a single server it can work
>
> and I refer to http://wiki.freeswitch.org/wiki/Connect_Two_FreeSWITCH_Boxes 
>  to set connect two FSs
>
> and my all configs modified below
> 1, acl.conf.xml
> 60.248.175.37
> <list name="domains" default="deny">
>      <node type="allow" cidr="60.248.175.38/28"/>
>      <!--<node type="allow" domain="$${domain}"/>-->
>     </list>
>
> 60.248.175.38
> <list name="domains" default="deny">
>      <node type="allow" cidr="60.248.175.37/28"/>
>      <!--<node type="allow" domain="$${domain}"/>-->
>     </list>
>
> 2, dialplan/default.xml
> 60.248.175.37
> <extension name="Local_Extension">
>       <condition field="destination_number" expression="^(40[01] 
> [0-9])$">
>         <action application="set" data="RECORD_COPYRIGHT=(c) 2010"/>
>         <action application="set" data="RECORD_SOFTWARE=FreeSwitch"/>
>         <action application="set" data="RECORD_ARTIST=FreeSwitch"/>
>         <action application="set" data="RECORD_COMMENT=FreeSwitch"/>
>         <action application="set" data="RECORD_DATE=${strftime(%Y-%m- 
> %d %H:%M)}"/>
>         <action application="set" data="RECORD_STEREO=true"/>
>         <action application="record_session" data="$${base_dir}/ 
> recordings/archive/${strftime(%Y-%m-%d-%H-%M-%S)}_$ 
> {destination_number}_${caller_id_number}.wav"/>
>         <action application="set" data="dialed_extension=$1"/>
>         <action application="export" data="dialed_extension=$1"/>
>         <!-- add for busy transfer -->
>         <action application="set_user" data="${dialed_extension}@$ 
> {domain_name}"/>
>         <action application="limit" data="$${domain_name} $ 
> {dialed_extension} ${max_calls} ${fail_over}"/>
>         <!-- bind_meta_app can have these args <key> [a|b|ab] [a|b|o| 
> s] <app> -->
>         <action application="bind_meta_app" data="1 b s  
> execute_extension::dx XML features"/>
>         <action application="bind_meta_app" data="2 b s  
> record_session::$${recordings_dir}/${caller_id_number}.${strftime(%Y- 
> %m-%d-%H-%M-%S)}.wav"/>
>         <action application="bind_meta_app" data="3 b s  
> execute_extension::cf XML features"/>
>         <action application="set" data="ringback=${us-ring}"/>
>         <action application="set" data="transfer_ringback=$$ 
> {hold_music}"/>
>         <action application="set" data="call_timeout=30"/>
>         <!-- <action application="set" data="sip_exclude_contact=$ 
> {network_addr}"/> -->
>         <action application="set" data="hangup_after_bridge=true"/>
>         <!--<action application="set"  
> data 
> = 
> "continue_on_fail 
> = 
> NORMAL_TEMPORARY_FAILURE 
> ,USER_BUSY,NO_ANSWER,TIMEOUT,NO_ROUTE_DESTINATION"/> -->
>         <action application="set" data="continue_on_fail=true"/>
>         <action application="hash" data="insert/${domain_name}- 
> call_return/${dialed_extension}/${caller_id_number}"/>
>         <action application="hash" data="insert/${domain_name}- 
> last_dial_ext/${dialed_extension}/${uuid}"/>
>         <action application="set" data="called_party_callgroup=$ 
> {user_data(${dialed_extension}@${domain_name} var callgroup)}"/>
>         <!--<action application="export"  
> data="nolocal:sip_secure_media=${user_data(${dialed_extension}@$ 
> {domain_name} var sip_secure_media)}"/>-->
>         <action application="hash" data="insert/${domain_name}- 
> last_dial/${called_party_callgroup}/${uuid}"/>
>         <action application="bridge" data="user/${dialed_extension}@$ 
> {domain_name}"/>
>         <!-- <action application="record_fsv" data="$${base_dir}/ 
> recordings/archive/${strftime(%Y-%m-%d-%H-%M-%S)}_$ 
> {destination_number}_${caller_id_number}.fsv"/>-->
>         <action application="answer"/>
>         <action application="sleep" data="1000"/>
>         <action application="bridge" data="loopback/ 
> app=voicemail:default ${domain_name} ${dialed_extension}"/>
>       </condition>
>     </extension>
>     <extension name="Dial to 38">
>       <condition field="destination_number" expression="^(10[01] 
> [0-9])$">
>         <action application="bridge" data="sofia/internal/$1 at 60.248.175.38 
> "/>
>       </condition>
>     </extension>
>
>  60.248.175.38
> <extension name="Local_Extension">
>       <condition field="destination_number" expression="^(10[01] 
> [0-9])$">
>         <action application="set" data="RECORD_COPYRIGHT=(c) 2010"/>
>         <action application="set" data="RECORD_SOFTWARE=FreeSwitch"/>
>         <action application="set" data="RECORD_ARTIST=FreeSwitch"/>
>         <action application="set" data="RECORD_COMMENT=FreeSwitch"/>
>         <action application="set" data="RECORD_DATE=${strftime(%Y-%m- 
> %d %H:%M)}"/>
>         <action application="set" data="RECORD_STEREO=true"/>
>        <!-- <action application="record_session" data="$${base_dir}/ 
> recordings/archive/${strftime(%Y-%m-%d-%H-%M-%S)}_$ 
> {destination_number}_${caller_id_number}.wav"/>-->
>         <action application="set" data="dialed_extension=$1"/>
>         <action application="export" data="dialed_extension=$1"/>
>         <!-- add for busy transfer -->
>         <action application="set_user" data="${dialed_extension}@$ 
> {domain_name}"/>
>         <action application="limit" data="$${domain_name} $ 
> {dialed_extension} ${max_calls} ${fail_over}"/>
>         <!-- bind_meta_app can have these args <key> [a|b|ab] [a|b|o| 
> s] <app> -->
>         <action application="bind_meta_app" data="1 b s  
> execute_extension::dx XML features"/>
>         <action application="bind_meta_app" data="2 b s  
> record_session::$${recordings_dir}/${caller_id_number}.${strftime(%Y- 
> %m-%d-%H-%M-%S)}.wav"/>
>         <action application="bind_meta_app" data="3 b s  
> execute_extension::cf XML features"/>
>         <action application="set" data="ringback=${us-ring}"/>
>         <action application="set" data="transfer_ringback=$$ 
> {hold_music}"/>
>         <action application="set" data="call_timeout=30"/>
>         <!-- <action application="set" data="sip_exclude_contact=$ 
> {network_addr}"/> -->
>         <action application="set" data="hangup_after_bridge=true"/>
>         <!--<action application="set"  
> data 
> = 
> "continue_on_fail 
> = 
> NORMAL_TEMPORARY_FAILURE 
> ,USER_BUSY,NO_ANSWER,TIMEOUT,NO_ROUTE_DESTINATION"/> -->
>         <action application="set" data="continue_on_fail=true"/>
>         <action application="hash" data="insert/${domain_name}- 
> call_return/${dialed_extension}/${caller_id_number}"/>
>         <action application="hash" data="insert/${domain_name}- 
> last_dial_ext/${dialed_extension}/${uuid}"/>
>         <action application="set" data="called_party_callgroup=$ 
> {user_data(${dialed_extension}@${domain_name} var callgroup)}"/>
>         <!--<action application="export"  
> data="nolocal:sip_secure_media=${user_data(${dialed_extension}@$ 
> {domain_name} var sip_secure_media)}"/>-->
>         <action application="hash" data="insert/${domain_name}- 
> last_dial/${called_party_callgroup}/${uuid}"/>
>         <action application="bridge" data="user/${dialed_extension}@$ 
> {domain_name}"/>
>         <!-- <action application="record_fsv" data="$${base_dir}/ 
> recordings/archive/${strftime(%Y-%m-%d-%H-%M-%S)}_$ 
> {destination_number}_${caller_id_number}.fsv"/>-->
>         <action application="answer"/>
>         <action application="sleep" data="1000"/>
>         <action application="bridge" data="loopback/ 
> app=voicemail:default ${domain_name} ${dialed_extension}"/>
>       </condition>
>     </extension>
>     <extension name="Dial to 37">
>       <condition field="destination_number" expression="^(40[01] 
> [0-9])$">
>         <action application="bridge" data="sofia/internal/$1 at 60.248.175.37 
> "/>
>       </condition>
>     </extension>
>
> 3, dialplan/public.xml
> 60.248.175.37
> <extension name="Calls from 38">
>       <condition field="destination_number" expression="^(40[01] 
> [0-9])$">
>         <action application="transfer" data="$1 XML default"/>
>       </condition>
>     </extension>
>
> 60.248.175.38
> <extension name="Calls from 37">
>       <condition field="destination_number" expression="^(10[01] 
> [0-9])$">
>         <action application="transfer" data="$1 XML default"/>
>       </condition>
>     </extension>
>
> 4,DEBUG log
> I use 1013 at 64.248.175.38 calls to 4001 at 64.248.175.37
> log from 38 (that's all)
>
> freeswitch at ubuntu> 2010-10-18 15:56:15.221328 [DEBUG] sofia.c:5849  
> IP 60.248.175.43 Approved by acl "domains[]". Access Granted.
> 2010-10-18 15:56:15.221328 [NOTICE] switch_channel.c:675 New Channel sofia/internal/1013 at 60.248.175.38 
> [bfc190d6-9371-4bfb-9822-2cbfaf1d6ebc]
> 2010-10-18 15:56:15.224062 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/1013 at 60.248.175.38 
> ) Running State Change CS_NEW
> 2010-10-18 15:56:15.224062 [DEBUG] switch_core_state_machine.c:320 (sofia/internal/1013 at 60.248.175.38 
> ) State NEW
> 2010-10-18 15:56:15.236344 [DEBUG] sofia.c:4200 Channel sofia/internal/1013 at 60.248.175.38 
>  entering state [received][100]
> 2010-10-18 15:56:15.236344 [DEBUG] sofia.c:4211 Remote SDP:
> v=0
> o=- 6 2 IN IP4 60.248.175.43
> s=CounterPath X-Lite 3.0
> c=IN IP4 60.248.175.43
> t=0 0
> m=audio 41530 RTP/AVP 107 0 8 101
> a=rtpmap:107 BV32/16000
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-15
> a=alt:1 3 : KOojNg3s EbMN6/84 60.248.175.43 41530
> a=alt:2 2 : FZp3J381 HADuy4Pa 192.168.182.1 41530
> a=alt:3 1 : Zq7Ue+wV Zj2BjStZ 192.168.60.1 41530
> 2010-10-18 15:56:15.236344 [DEBUG] sofia_glue.c:3671 Audio Codec  
> Compare [BV32:107:16000:20]/[G7221:115:32000:20]
> 2010-10-18 15:56:15.236344 [DEBUG] sofia_glue.c:3671 Audio Codec  
> Compare [BV32:107:16000:20]/[G7221:107:16000:20]
> 2010-10-18 15:56:15.236344 [DEBUG] sofia_glue.c:3671 Audio Codec  
> Compare [BV32:107:16000:20]/[G722:9:8000:20]
> 2010-10-18 15:56:15.236344 [DEBUG] sofia_glue.c:3671 Audio Codec  
> Compare [BV32:107:16000:20]/[PCMU:0:8000:20]
> 2010-10-18 15:56:15.236344 [DEBUG] sofia_glue.c:3671 Audio Codec  
> Compare [BV32:107:16000:20]/[PCMA:8:8000:20]
> 2010-10-18 15:56:15.236344 [DEBUG] sofia_glue.c:3671 Audio Codec  
> Compare [BV32:107:16000:20]/[GSM:3:8000:20]
> 2010-10-18 15:56:15.236344 [DEBUG] sofia_glue.c:3671 Audio Codec  
> Compare [PCMU:0:8000:20]/[G7221:115:32000:20]
> 2010-10-18 15:56:15.236344 [DEBUG] sofia_glue.c:3671 Audio Codec  
> Compare [PCMU:0:8000:20]/[G7221:107:16000:20]
> 2010-10-18 15:56:15.236344 [DEBUG] sofia_glue.c:3671 Audio Codec  
> Compare [PCMU:0:8000:20]/[G722:9:8000:20]
> 2010-10-18 15:56:15.236344 [DEBUG] sofia_glue.c:3671 Audio Codec  
> Compare [PCMU:0:8000:20]/[PCMU:0:8000:20]
> 2010-10-18 15:56:15.237437 [DEBUG] sofia_glue.c:2376 Set Codec sofia/internal/1013 at 60.248.175.38PCMU 
> /8000 20 ms 160 samples
> 2010-10-18 15:56:15.237437 [DEBUG] sofia_glue.c:3610 Set 2833 dtmf  
> send/recv payload to 101
> 2010-10-18 15:56:15.237437 [DEBUG] sofia.c:4357 (sofia/internal/1013 at 60.248.175.38 
> ) State Change CS_NEW -> CS_INIT
> 2010-10-18 15:56:15.237437 [DEBUG] switch_core_session.c:1022 Send signalsofia/internal/1013 at 60.248.175.38 
>  [BREAK]
> 2010-10-18 15:56:15.237437 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/1013 at 60.248.175.38 
> ) Running State Change CS_INIT
> 2010-10-18 15:56:15.237437 [DEBUG] switch_core_state_machine.c:338 (sofia/internal/1013 at 60.248.175.38 
> ) State INIT
> 2010-10-18 15:56:15.237437 [DEBUG] mod_sofia.c:83 sofia/internal/1013 at 60.248.175.38 
>  SOFIA INIT
> 2010-10-18 15:56:15.237437 [DEBUG] mod_sofia.c:117 (sofia/internal/1013 at 60.248.175.38 
> ) State Change CS_INIT -> CS_ROUTING
> 2010-10-18 15:56:15.237437 [DEBUG] switch_core_session.c:1022 Send signalsofia/internal/1013 at 60.248.175.38 
>  [BREAK]
> 2010-10-18 15:56:15.237437 [DEBUG] switch_core_state_machine.c:338 (sofia/internal/1013 at 60.248.175.38 
> ) State INIT going to sleep
> 2010-10-18 15:56:15.237437 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/1013 at 60.248.175.38 
> ) Running State Change CS_ROUTING
> 2010-10-18 15:56:15.237437 [DEBUG] switch_core_state_machine.c:341 (sofia/internal/1013 at 60.248.175.38 
> ) State ROUTING
> 2010-10-18 15:56:15.237437 [DEBUG] mod_sofia.c:140 sofia/internal/1013 at 60.248.175.38 
>  SOFIA ROUTING
> 2010-10-18 15:56:15.237437 [DEBUG] switch_core_state_machine.c:77 sofia/internal/1013 at 60.248.175.38Standard 
>  ROUTING
> 2010-10-18 15:56:15.237437 [INFO] mod_dialplan_xml.c:331 Processing  
> 1013->4001 in context public
> Dialplan: sofia/internal/1013 at 60.248.175.38 parsing [public->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 [public- 
> >outside_call] continue=true
> Dialplan: sofia/internal/1013 at 60.248.175.38 Absolute Condition  
> [outside_call]
> Dialplan: sofia/internal/1013 at 60.248.175.38 Action  
> set(outside_call=true)
> Dialplan: sofia/internal/1013 at 60.248.175.38 parsing [public- 
> >call_debug] continue=true
> Dialplan: sofia/internal/1013 at 60.248.175.38 Regex (FAIL)  
> [call_debug] ${call_debug}(false) =~ /^true$/ break=never
> Dialplan: sofia/internal/1013 at 60.248.175.38 parsing [public- 
> >public_extensions] continue=false
> Dialplan: sofia/internal/1013 at 60.248.175.38 Regex (FAIL)  
> [public_extensions] destination_number(4001) =~ /^(10[01][0-9])$/  
> break=on-false
> Dialplan: sofia/internal/1013 at 60.248.175.38 parsing [public->Calls  
> from 37] continue=false
> Dialplan: sofia/internal/1013 at 60.248.175.38 Regex (FAIL) [Calls from  
> 37] destination_number(4001) =~ /^(10[01][0-9])$/ break=on-false
> Dialplan: sofia/internal/1013 at 60.248.175.38 parsing [public- 
> >public_did] continue=false
> Dialplan: sofia/internal/1013 at 60.248.175.38 Regex (FAIL)  
> [public_did] destination_number(4001) =~ /^(5551212)$/ break=on-false
> 2010-10-18 15:56:15.237437 [DEBUG] switch_core_state_machine.c:119 (sofia/internal/1013 at 60.248.175.38 
> ) State Change CS_ROUTING -> CS_EXECUTE
> 2010-10-18 15:56:15.237437 [DEBUG] switch_core_session.c:1022 Send signalsofia/internal/1013 at 60.248.175.38 
>  [BREAK]
> 2010-10-18 15:56:15.237437 [DEBUG] switch_core_state_machine.c:341 (sofia/internal/1013 at 60.248.175.38 
> ) State ROUTING going to sleep
> 2010-10-18 15:56:15.237437 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/1013 at 60.248.175.38 
> ) Running State Change CS_EXECUTE
> 2010-10-18 15:56:15.237437 [DEBUG] switch_core_state_machine.c:348 (sofia/internal/1013 at 60.248.175.38 
> ) State EXECUTE
> 2010-10-18 15:56:15.237437 [DEBUG] mod_sofia.c:233 sofia/internal/1013 at 60.248.175.38 
>  SOFIA EXECUTE
> 2010-10-18 15:56:15.237437 [DEBUG] switch_core_state_machine.c:157 sofia/internal/1013 at 60.248.175.38Standard 
>  EXECUTE
> EXECUTE sofia/internal/1013 at 60.248.175.38 set(outside_call=true)
> 2010-10-18 15:56:15.237437 [DEBUG] mod_dptools.c:817 sofia/internal/1013 at 60.248.175.38 
>  SET [outside_call]=[true]
> 2010-10-18 15:56:15.237437 [NOTICE] switch_core_state_machine.c:185 sofia/internal/1013 at 60.248.175.38has 
>  executed the last dialplan instruction, hanging up.
> 2010-10-18 15:56:15.237437 [NOTICE] switch_core_state_machine.c:187 Hangupsofia/internal/1013 at 60.248.175.38 
>  [CS_EXECUTE] [NORMAL_CLEARING]
> 2010-10-18 15:56:15.237437 [DEBUG] switch_channel.c:2145 Send signal sofia/internal/1013 at 60.248.175.38 
> [KILL]
> 2010-10-18 15:56:15.237437 [DEBUG] switch_core_session.c:1022 Send signalsofia/internal/1013 at 60.248.175.38 
>  [BREAK]
> 2010-10-18 15:56:15.237437 [DEBUG] switch_core_state_machine.c:348 (sofia/internal/1013 at 60.248.175.38 
> ) State EXECUTE going to sleep
> 2010-10-18 15:56:15.237437 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/1013 at 60.248.175.38 
> ) Running State Change CS_HANGUP
> 2010-10-18 15:56:15.237437 [DEBUG] switch_core_state_machine.c:498 (sofia/internal/1013 at 60.248.175.38 
> ) State HANGUP
> 2010-10-18 15:56:15.237437 [DEBUG] mod_sofia.c:441 Channel sofia/internal/1013 at 60.248.175.38 
>  hanging up, cause: NORMAL_CLEARING
> 2010-10-18 15:56:15.263831 [DEBUG] mod_sofia.c:503 Responding to  
> INVITE with: 480
> 2010-10-18 15:56:15.263831 [DEBUG] switch_core_state_machine.c:46 sofia/internal/1013 at 60.248.175.38Standard 
>  HANGUP, cause: NORMAL_CLEARING
> 2010-10-18 15:56:15.263831 [DEBUG] switch_core_state_machine.c:498 (sofia/internal/1013 at 60.248.175.38 
> ) State HANGUP going to sleep
> 2010-10-18 15:56:15.263831 [DEBUG] switch_core_state_machine.c:333 (sofia/internal/1013 at 60.248.175.38 
> ) State Change CS_HANGUP -> CS_REPORTING
> 2010-10-18 15:56:15.263831 [DEBUG] switch_core_session.c:1022 Send signalsofia/internal/1013 at 60.248.175.38 
>  [BREAK]
> 2010-10-18 15:56:15.263831 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/1013 at 60.248.175.38 
> ) Running State Change CS_REPORTING
> 2010-10-18 15:56:15.263831 [DEBUG] switch_core_state_machine.c:589 (sofia/internal/1013 at 60.248.175.38 
> ) State REPORTING
> 2010-10-18 15:56:15.263831 [DEBUG] switch_core_state_machine.c:53 sofia/internal/1013 at 60.248.175.38Standard 
>  REPORTING, cause: NORMAL_CLEARING
> 2010-10-18 15:56:15.263831 [DEBUG] switch_core_state_machine.c:589 (sofia/internal/1013 at 60.248.175.38 
> ) State REPORTING going to sleep
> 2010-10-18 15:56:15.263831 [DEBUG] switch_core_state_machine.c:327 (sofia/internal/1013 at 60.248.175.38 
> ) State Change CS_REPORTING -> CS_DESTROY
> 2010-10-18 15:56:15.263831 [DEBUG] switch_core_session.c:1022 Send signalsofia/internal/1013 at 60.248.175.38 
>  [BREAK]
> 2010-10-18 15:56:15.263831 [DEBUG] switch_core_session.c:1170  
> Session 4 (sofia/internal/1013 at 60.248.175.38) Locked, Waiting on  
> external entities
> 2010-10-18 15:56:15.263831 [NOTICE] switch_core_session.c:1188  
> Session 4 (sofia/internal/1013 at 60.248.175.38) Ended
> 2010-10-18 15:56:15.263831 [NOTICE] switch_core_session.c:1190 Close Channelsofia/internal/1013 at 60.248.175.38 
>  [CS_DESTROY]
> 2010-10-18 15:56:15.263831 [DEBUG] switch_core_state_machine.c:428 (sofia/internal/1013 at 60.248.175.38 
> ) Running State Change CS_DESTROY
> 2010-10-18 15:56:15.263831 [DEBUG] switch_core_state_machine.c:438 (sofia/internal/1013 at 60.248.175.38 
> ) State DESTROY
> 2010-10-18 15:56:15.263831 [DEBUG] mod_sofia.c:350 sofia/internal/1013 at 60.248.175.38 
>  SOFIA DESTROY
> 2010-10-18 15:56:15.263831 [DEBUG] switch_core_state_machine.c:60 sofia/internal/1013 at 60.248.175.38Standard 
>  DESTROY
> 2010-10-18 15:56:15.263831 [DEBUG] switch_core_state_machine.c:438 (sofia/internal/1013 at 60.248.175.38 
> ) State DESTROY going to sleep
>
> and I use 4001 at 64.248.175.37 calls to 1013 at 64.248.175.38
> log from 37 (that's all)
>
> 2010-10-18 15:59:04.730021 [DEBUG] sofia.c:5849 IP 60.248.175.42  
> Approved by acl "domains[]". Access Granted.
> 2010-10-18 15:59:04.730021 [NOTICE] switch_channel.c:675 New Channel sofia/internal/4001 at 60.248.175.37 
> [0a71af92-1564-49e1-9a8e-9f5432b1653b]
> 2010-10-18 15:59:04.735619 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/4001 at 60.248.175.37 
> ) Running State Change CS_NEW
> 2010-10-18 15:59:04.735619 [DEBUG] switch_core_state_machine.c:320 (sofia/internal/4001 at 60.248.175.37 
> ) State NEW
> 2010-10-18 15:59:04.877644 [DEBUG] sofia.c:4200 Channel sofia/internal/4001 at 60.248.175.37 
>  entering state [received][100]
> 2010-10-18 15:59:04.877644 [DEBUG] sofia.c:4211 Remote SDP:
> v=0
> o=- 6 2 IN IP4 60.248.175.42
> s=CounterPath X-Lite 3.0
> c=IN IP4 60.248.175.42
> t=0 0
> m=audio 51406 RTP/AVP 107 0 8 101
> a=rtpmap:107 BV32/16000
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-15
> a=alt:1 3 : s7WKw7mB W35tlaoK 60.248.175.42 51406
> a=alt:2 2 : SfvGIlEF m2IrZtjW 192.168.24.1 51406
> a=alt:3 1 : fQ/a57gE kxcr2NP4 192.168.137.1 51406
> 2010-10-18 15:59:04.880340 [DEBUG] sofia_glue.c:3671 Audio Codec  
> Compare [BV32:107:16000:20]/[G7221:115:32000:20]
> 2010-10-18 15:59:04.881429 [DEBUG] sofia_glue.c:3671 Audio Codec  
> Compare [BV32:107:16000:20]/[G7221:107:16000:20]
> 2010-10-18 15:59:04.881429 [DEBUG] sofia_glue.c:3671 Audio Codec  
> Compare [BV32:107:16000:20]/[G722:9:8000:20]
> 2010-10-18 15:59:04.881429 [DEBUG] sofia_glue.c:3671 Audio Codec  
> Compare [BV32:107:16000:20]/[PCMU:0:8000:20]
> 2010-10-18 15:59:04.883611 [DEBUG] sofia_glue.c:3671 Audio Codec  
> Compare [BV32:107:16000:20]/[PCMA:8:8000:20]
> 2010-10-18 15:59:04.883611 [DEBUG] sofia_glue.c:3671 Audio Codec  
> Compare [BV32:107:16000:20]/[GSM:3:8000:20]
> 2010-10-18 15:59:04.884891 [DEBUG] sofia_glue.c:3671 Audio Codec  
> Compare [PCMU:0:8000:20]/[G7221:115:32000:20]
> 2010-10-18 15:59:04.886125 [DEBUG] sofia_glue.c:3671 Audio Codec  
> Compare [PCMU:0:8000:20]/[G7221:107:16000:20]
> 2010-10-18 15:59:04.886125 [DEBUG] sofia_glue.c:3671 Audio Codec  
> Compare [PCMU:0:8000:20]/[G722:9:8000:20]
> 2010-10-18 15:59:04.886125 [DEBUG] sofia_glue.c:3671 Audio Codec  
> Compare [PCMU:0:8000:20]/[PCMU:0:8000:20]
> 2010-10-18 15:59:04.887562 [DEBUG] sofia_glue.c:2376 Set Codec sofia/internal/4001 at 60.248.175.37PCMU 
> /8000 20 ms 160 samples
> 2010-10-18 15:59:04.888900 [DEBUG] sofia_glue.c:3610 Set 2833 dtmf  
> send/recv payload to 101
> 2010-10-18 15:59:04.888900 [DEBUG] sofia.c:4357 (sofia/internal/4001 at 60.248.175.37 
> ) State Change CS_NEW -> CS_INIT
> 2010-10-18 15:59:04.890190 [DEBUG] switch_core_session.c:1022 Send signalsofia/internal/4001 at 60.248.175.37 
>  [BREAK]
> 2010-10-18 15:59:04.891645 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/4001 at 60.248.175.37 
> ) Running State Change CS_INIT
> 2010-10-18 15:59:04.891645 [DEBUG] switch_core_state_machine.c:338 (sofia/internal/4001 at 60.248.175.37 
> ) State INIT
> 2010-10-18 15:59:04.891645 [DEBUG] mod_sofia.c:83 sofia/internal/4001 at 60.248.175.37 
>  SOFIA INIT
> 2010-10-18 15:59:04.891645 [DEBUG] mod_sofia.c:117 (sofia/internal/4001 at 60.248.175.37 
> ) State Change CS_INIT -> CS_ROUTING
> 2010-10-18 15:59:04.891645 [DEBUG] switch_core_session.c:1022 Send signalsofia/internal/4001 at 60.248.175.37 
>  [BREAK]
> 2010-10-18 15:59:04.891645 [DEBUG] switch_core_state_machine.c:338 (sofia/internal/4001 at 60.248.175.37 
> ) State INIT going to sleep
> 2010-10-18 15:59:04.891645 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/4001 at 60.248.175.37 
> ) Running State Change CS_ROUTING
> 2010-10-18 15:59:04.891645 [DEBUG] switch_core_state_machine.c:341 (sofia/internal/4001 at 60.248.175.37 
> ) State ROUTING
> 2010-10-18 15:59:04.891645 [DEBUG] mod_sofia.c:140 sofia/internal/4001 at 60.248.175.37 
>  SOFIA ROUTING
> 2010-10-18 15:59:04.891645 [DEBUG] switch_core_state_machine.c:77 sofia/internal/4001 at 60.248.175.37Standard 
>  ROUTING
> 2010-10-18 15:59:04.891645 [INFO] mod_dialplan_xml.c:331 Processing  
> 4001->1013 in context public
> Dialplan: sofia/internal/4001 at 60.248.175.37 parsing [public->unloop]  
> continue=false
> Dialplan: sofia/internal/4001 at 60.248.175.37 Regex (PASS) [unloop] $ 
> {unroll_loops}(true) =~ /^true$/ break=on-false
> Dialplan: sofia/internal/4001 at 60.248.175.37 Regex (FAIL) [unloop] $ 
> {sip_looped_call}() =~ /^true$/ break=on-false
> Dialplan: sofia/internal/4001 at 60.248.175.37 parsing [public- 
> >outside_call] continue=true
> Dialplan: sofia/internal/4001 at 60.248.175.37 Absolute Condition  
> [outside_call]
> Dialplan: sofia/internal/4001 at 60.248.175.37 Action  
> set(outside_call=true)
> Dialplan: sofia/internal/4001 at 60.248.175.37 parsing [public- 
> >call_debug] continue=true
> Dialplan: sofia/internal/4001 at 60.248.175.37 Regex (FAIL)  
> [call_debug] ${call_debug}(false) =~ /^true$/ break=never
> Dialplan: sofia/internal/4001 at 60.248.175.37 parsing [public- 
> >public_extensions] continue=false
> Dialplan: sofia/internal/4001 at 60.248.175.37 Regex (FAIL)  
> [public_extensions] destination_number(1013) =~ /^(40[01][0-9])$/  
> break=on-false
> Dialplan: sofia/internal/4001 at 60.248.175.37 parsing [public->Calls  
> from 38] continue=false
> Dialplan: sofia/internal/4001 at 60.248.175.37 Regex (FAIL) [Calls from  
> 38] destination_number(1013) =~ /^(40[01][0-9])$/ break=on-false
> Dialplan: sofia/internal/4001 at 60.248.175.37 parsing [public- 
> >public_did] continue=false
> Dialplan: sofia/internal/4001 at 60.248.175.37 Regex (FAIL)  
> [public_did] destination_number(1013) =~ /^(5551212)$/ break=on-false
> 2010-10-18 15:59:04.891645 [DEBUG] switch_core_state_machine.c:119 (sofia/internal/4001 at 60.248.175.37 
> ) State Change CS_ROUTING -> CS_EXECUTE
> 2010-10-18 15:59:04.891645 [DEBUG] switch_core_session.c:1022 Send signalsofia/internal/4001 at 60.248.175.37 
>  [BREAK]
> 2010-10-18 15:59:04.891645 [DEBUG] switch_core_state_machine.c:341 (sofia/internal/4001 at 60.248.175.37 
> ) State ROUTING going to sleep
> 2010-10-18 15:59:04.891645 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/4001 at 60.248.175.37 
> ) Running State Change CS_EXECUTE
> 2010-10-18 15:59:04.891645 [DEBUG] switch_core_state_machine.c:348 (sofia/internal/4001 at 60.248.175.37 
> ) State EXECUTE
> 2010-10-18 15:59:04.891645 [DEBUG] mod_sofia.c:233 sofia/internal/4001 at 60.248.175.37 
>  SOFIA EXECUTE
> 2010-10-18 15:59:04.891645 [DEBUG] switch_core_state_machine.c:157 sofia/internal/4001 at 60.248.175.37Standard 
>  EXECUTE
> EXECUTE sofia/internal/4001 at 60.248.175.37 set(outside_call=true)
> 2010-10-18 15:59:04.891645 [DEBUG] mod_dptools.c:817 sofia/internal/4001 at 60.248.175.37 
>  SET [outside_call]=[true]
> 2010-10-18 15:59:04.891645 [NOTICE] switch_core_state_machine.c:185 sofia/internal/4001 at 60.248.175.37has 
>  executed the last dialplan instruction, hanging up.
> 2010-10-18 15:59:04.891645 [NOTICE] switch_core_state_machine.c:187 Hangupsofia/internal/4001 at 60.248.175.37 
>  [CS_EXECUTE] [NORMAL_CLEARING]
> 2010-10-18 15:59:04.891645 [DEBUG] switch_channel.c:2145 Send signal sofia/internal/4001 at 60.248.175.37 
> [KILL]
> 2010-10-18 15:59:04.891645 [DEBUG] switch_core_session.c:1022 Send signalsofia/internal/4001 at 60.248.175.37 
>  [BREAK]
> 2010-10-18 15:59:04.891645 [DEBUG] switch_core_state_machine.c:348 (sofia/internal/4001 at 60.248.175.37 
> ) State EXECUTE going to sleep
> 2010-10-18 15:59:04.891645 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/4001 at 60.248.175.37 
> ) Running State Change CS_HANGUP
> 2010-10-18 15:59:04.891645 [DEBUG] switch_core_state_machine.c:498 (sofia/internal/4001 at 60.248.175.37 
> ) State HANGUP
> 2010-10-18 15:59:04.891645 [DEBUG] mod_sofia.c:441 Channel sofia/internal/4001 at 60.248.175.37 
>  hanging up, cause: NORMAL_CLEARING
> 2010-10-18 15:59:04.928639 [DEBUG] mod_sofia.c:503 Responding to  
> INVITE with: 480
> 2010-10-18 15:59:04.928639 [DEBUG] switch_core_state_machine.c:46 sofia/internal/4001 at 60.248.175.37Standard 
>  HANGUP, cause: NORMAL_CLEARING
> 2010-10-18 15:59:04.928639 [DEBUG] switch_core_state_machine.c:498 (sofia/internal/4001 at 60.248.175.37 
> ) State HANGUP going to sleep
> 2010-10-18 15:59:04.928639 [DEBUG] switch_core_state_machine.c:333 (sofia/internal/4001 at 60.248.175.37 
> ) State Change CS_HANGUP -> CS_REPORTING
> 2010-10-18 15:59:04.928639 [DEBUG] switch_core_session.c:1022 Send signalsofia/internal/4001 at 60.248.175.37 
>  [BREAK]
> 2010-10-18 15:59:04.928639 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/4001 at 60.248.175.37 
> ) Running State Change CS_REPORTING
> 2010-10-18 15:59:04.928639 [DEBUG] switch_core_state_machine.c:589 (sofia/internal/4001 at 60.248.175.37 
> ) State REPORTING
> 2010-10-18 15:59:04.928639 [DEBUG] switch_core_state_machine.c:53 sofia/internal/4001 at 60.248.175.37Standard 
>  REPORTING, cause: NORMAL_CLEARING
> 2010-10-18 15:59:04.928639 [DEBUG] switch_core_state_machine.c:589 (sofia/internal/4001 at 60.248.175.37 
> ) State REPORTING going to sleep
> 2010-10-18 15:59:04.928639 [DEBUG] switch_core_state_machine.c:327 (sofia/internal/4001 at 60.248.175.37 
> ) State Change CS_REPORTING -> CS_DESTROY
> 2010-10-18 15:59:04.928639 [DEBUG] switch_core_session.c:1022 Send signalsofia/internal/4001 at 60.248.175.37 
>  [BREAK]
> 2010-10-18 15:59:04.928639 [DEBUG] switch_core_session.c:1170  
> Session 3 (sofia/internal/4001 at 60.248.175.37) Locked, Waiting on  
> external entities
> 2010-10-18 15:59:04.928639 [NOTICE] switch_core_session.c:1188  
> Session 3 (sofia/internal/4001 at 60.248.175.37) Ended
> 2010-10-18 15:59:04.928639 [NOTICE] switch_core_session.c:1190 Close Channelsofia/internal/4001 at 60.248.175.37 
>  [CS_DESTROY]
> 2010-10-18 15:59:04.928639 [DEBUG] switch_core_state_machine.c:428 (sofia/internal/4001 at 60.248.175.37 
> ) Running State Change CS_DESTROY
> 2010-10-18 15:59:04.928639 [DEBUG] switch_core_state_machine.c:438 (sofia/internal/4001 at 60.248.175.37 
> ) State DESTROY
> 2010-10-18 15:59:04.928639 [DEBUG] mod_sofia.c:350 sofia/internal/4001 at 60.248.175.37 
>  SOFIA DESTROY
> 2010-10-18 15:59:04.928639 [DEBUG] switch_core_state_machine.c:60 sofia/internal/4001 at 60.248.175.37Standard 
>  DESTROY
> 2010-10-18 15:59:04.928639 [DEBUG] switch_core_state_machine.c:438 (sofia/internal/4001 at 60.248.175.37 
> ) State DESTROY going to sleep
>
> that's all my information I really hope that I can solve this  
> problem but I have no idea about this function
>
> Thank you for your attsnsion
>
> Best Regards
>
> Gary
> From: david.ponzone at ipeva.fr
> To: freeswitch-users at lists.freeswitch.org
> Date: Mon, 18 Oct 2010 09:25:25 +0200
> Subject: Re: [Freeswitch-users] some questions of freeswitch & X-Lite
>
> You failed to tell us which server this log comes from.
>
> In order to get a result, I think you need to try to understand what  
> the logs mean and you need to understand that to help you, we need  
> detailed logs and relevant config files.
> From the beginning of this thread, you failed to provide both at the  
> same time.
>
> Also, that's not a basic config.
> Have you tried before to do a single server config ?
> I would start there, so that you can understand how FreeSWITCH  
> works, why the logs are meaning ful and how to read them, which  
> dialplans are parsed and when.
> If you don't do that, you're going to waste people's time because  
> you want to avoid some required (and important) learning steps.
>
> Thank you
>
> 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 18/10/2010 à 02:37, 江 Chiang 至中 Chih-Chung Wybie a écrit :
>
> I tried to set different expression but it still can't work
>
> debug log below
>
> 2010-10-18 08:34:19.462617 [DEBUG] sofia.c:5849 IP 60.248.175.43  
> Approved by acl "domains[]". Access Granted.
> 2010-10-18 08:34:19.462617 [NOTICE] switch_channel.c:675 New Channel sofia/internal/1013 at 60.248.175.38 
> [1f4277c1-9ded-49c5-b63f-a312bead9d5f]
> 2010-10-18 08:34:19.464814 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/1013 at 60.248.175.38 
> ) Running State Change CS_NEW
> 2010-10-18 08:34:19.464814 [DEBUG] switch_core_state_machine.c:320 (sofia/internal/1013 at 60.248.175.38 
> ) State NEW
> 2010-10-18 08:34:19.475647 [DEBUG] sofia.c:4200 Channel sofia/internal/1013 at 60.248.175.38 
>  entering state [received][100]
> 2010-10-18 08:34:19.475647 [DEBUG] sofia.c:4211 Remote SDP:
> v=0
> o=- 0 2 IN IP4 60.248.175.43
> s=CounterPath X-Lite 3.0
> c=IN IP4 60.248.175.43
> t=0 0
> m=audio 32692 RTP/AVP 107 0 8 101
> a=rtpmap:107 BV32/16000
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-15
> a=alt:1 3 : d7A5MyJF tN44o7uR 60.248.175.43 32692
> a=alt:2 2 : cCI83KQt qU62M7Ia 192.168.182.1 32692
> a=alt:3 1 : qtl4Jt3z ug+kYltk 192.168.60.1 32692
> 2010-10-18 08:34:19.475647 [DEBUG] sofia_glue.c:3671 Audio Codec  
> Compare [BV32:107:16000:20]/[G7221:115:32000:20]
> 2010-10-18 08:34:19.475647 [DEBUG] sofia_glue.c:3671 Audio Codec  
> Compare [BV32:107:16000:20]/[G7221:107:16000:20]
> 2010-10-18 08:34:19.475647 [DEBUG] sofia_glue.c:3671 Audio Codec  
> Compare [BV32:107:16000:20]/[G722:9:8000:20]
> 2010-10-18 08:34:19.475647 [DEBUG] sofia_glue.c:3671 Audio Codec  
> Compare [BV32:107:16000:20]/[PCMU:0:8000:20]
> 2010-10-18 08:34:19.475647 [DEBUG] sofia_glue.c:3671 Audio Codec  
> Compare [BV32:107:16000:20]/[PCMA:8:8000:20]
> 2010-10-18 08:34:19.475647 [DEBUG] sofia_glue.c:3671 Audio Codec  
> Compare [BV32:107:16000:20]/[GSM:3:8000:20]
> 2010-10-18 08:34:19.476688 [DEBUG] sofia_glue.c:3671 Audio Codec  
> Compare [PCMU:0:8000:20]/[G7221:115:32000:20]
> 2010-10-18 08:34:19.476688 [DEBUG] sofia_glue.c:3671 Audio Codec  
> Compare [PCMU:0:8000:20]/[G7221:107:16000:20]
> 2010-10-18 08:34:19.476688 [DEBUG] sofia_glue.c:3671 Audio Codec  
> Compare [PCMU:0:8000:20]/[G722:9:8000:20]
> 2010-10-18 08:34:19.476688 [DEBUG] sofia_glue.c:3671 Audio Codec  
> Compare [PCMU:0:8000:20]/[PCMU:0:8000:20]
> 2010-10-18 08:34:19.476688 [DEBUG] sofia_glue.c:2376 Set Codec sofia/internal/1013 at 60.248.175.38PCMU 
> /8000 20 ms 160 samples
> 2010-10-18 08:34:19.476688 [DEBUG] sofia_glue.c:3610 Set 2833 dtmf  
> send/recv payload to 101
> 2010-10-18 08:34:19.476688 [DEBUG] sofia.c:4357 (sofia/internal/1013 at 60.248.175.38 
> ) State Change CS_NEW -> CS_INIT
> 2010-10-18 08:34:19.476688 [DEBUG] switch_core_session.c:1022 Send signalsofia/internal/1013 at 60.248.175.38 
>  [BREAK]
> 2010-10-18 08:34:19.476688 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/1013 at 60.248.175.38 
> ) Running State Change CS_INIT
> 2010-10-18 08:34:19.476688 [DEBUG] switch_core_state_machine.c:338 (sofia/internal/1013 at 60.248.175.38 
> ) State INIT
> 2010-10-18 08:34:19.476688 [DEBUG] mod_sofia.c:83 sofia/internal/1013 at 60.248.175.38 
>  SOFIA INIT
> 2010-10-18 08:34:19.476688 [DEBUG] mod_sofia.c:117 (sofia/internal/1013 at 60.248.175.38 
> ) State Change CS_INIT -> CS_ROUTING
> 2010-10-18 08:34:19.476688 [DEBUG] switch_core_session.c:1022 Send signalsofia/internal/1013 at 60.248.175.38 
>  [BREAK]
> 2010-10-18 08:34:19.476688 [DEBUG] switch_core_state_machine.c:338 (sofia/internal/1013 at 60.248.175.38 
> ) State INIT going to sleep
> 2010-10-18 08:34:19.476688 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/1013 at 60.248.175.38 
> ) Running State Change CS_ROUTING
> 2010-10-18 08:34:19.476688 [DEBUG] switch_core_state_machine.c:341 (sofia/internal/1013 at 60.248.175.38 
> ) State ROUTING
> 2010-10-18 08:34:19.476688 [DEBUG] mod_sofia.c:140 sofia/internal/1013 at 60.248.175.38 
>  SOFIA ROUTING
> 2010-10-18 08:34:19.476688 [DEBUG] switch_core_state_machine.c:77 sofia/internal/1013 at 60.248.175.38Standard 
>  ROUTING
> 2010-10-18 08:34:19.476688 [INFO] mod_dialplan_xml.c:331 Processing  
> 1013->4001 in context public
> Dialplan: sofia/internal/1013 at 60.248.175.38 parsing [public->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 [public- 
> >outside_call] continue=true
> Dialplan: sofia/internal/1013 at 60.248.175.38 Absolute Condition  
> [outside_call]
> Dialplan: sofia/internal/1013 at 60.248.175.38 Action  
> set(outside_call=true)
> Dialplan: sofia/internal/1013 at 60.248.175.38 parsing [public- 
> >call_debug] continue=true
> Dialplan: sofia/internal/1013 at 60.248.175.38 Regex (FAIL)  
> [call_debug] ${call_debug}(false) =~ /^true$/ break=never
> Dialplan: sofia/internal/1013 at 60.248.175.38 parsing [public- 
> >public_extensions] continue=false
> Dialplan: sofia/internal/1013 at 60.248.175.38 Regex (FAIL)  
> [public_extensions] destination_number(4001) =~ /^(10[01][0-9])$/  
> break=on-false
> Dialplan: sofia/internal/1013 at 60.248.175.38 parsing [public->Calls  
> from 37] continue=false
> Dialplan: sofia/internal/1013 at 60.248.175.38 Regex (FAIL) [Calls from  
> 37] destination_number(4001) =~ /^(10[01][0-9])$/ break=on-false
> Dialplan: sofia/internal/1013 at 60.248.175.38 parsing [public- 
> >public_did] continue=false
> Dialplan: sofia/internal/1013 at 60.248.175.38 Regex (FAIL)  
> [public_did] destination_number(4001) =~ /^(5551212)$/ break=on-false
> 2010-10-18 08:34:19.476688 [DEBUG] switch_core_state_machine.c:119 (sofia/internal/1013 at 60.248.175.38 
> ) State Change CS_ROUTING -> CS_EXECUTE
> 2010-10-18 08:34:19.476688 [DEBUG] switch_core_session.c:1022 Send signalsofia/internal/1013 at 60.248.175.38 
>  [BREAK]
> 2010-10-18 08:34:19.476688 [DEBUG] switch_core_state_machine.c:341 (sofia/internal/1013 at 60.248.175.38 
> ) State ROUTING going to sleep
> 2010-10-18 08:34:19.476688 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/1013 at 60.248.175.38 
> ) Running State Change CS_EXECUTE
> 2010-10-18 08:34:19.476688 [DEBUG] switch_core_state_machine.c:348 (sofia/internal/1013 at 60.248.175.38 
> ) State EXECUTE
> 2010-10-18 08:34:19.476688 [DEBUG] mod_sofia.c:233 sofia/internal/1013 at 60.248.175.38 
>  SOFIA EXECUTE
> 2010-10-18 08:34:19.476688 [DEBUG] switch_core_state_machine.c:157 sofia/internal/1013 at 60.248.175.38Standard 
>  EXECUTE
> EXECUTE sofia/internal/1013 at 60.248.175.38 set(outside_call=true)
> 2010-10-18 08:34:19.476688 [DEBUG] mod_dptools.c:817 sofia/internal/1013 at 60.248.175.38 
>  SET [outside_call]=[true]
> 2010-10-18 08:34:19.476688 [NOTICE] switch_core_state_machine.c:185 sofia/internal/1013 at 60.248.175.38has 
>  executed the last dialplan instruction, hanging up.
> 2010-10-18 08:34:19.476688 [NOTICE] switch_core_state_machine.c:187 Hangupsofia/internal/1013 at 60.248.175.38 
>  [CS_EXECUTE] [NORMAL_CLEARING]
> 2010-10-18 08:34:19.476688 [DEBUG] switch_channel.c:2145 Send signal sofia/internal/1013 at 60.248.175.38 
> [KILL]
> 2010-10-18 08:34:19.476688 [DEBUG] switch_core_session.c:1022 Send signalsofia/internal/1013 at 60.248.175.38 
>  [BREAK]
> 2010-10-18 08:34:19.476688 [DEBUG] switch_core_state_machine.c:348 (sofia/internal/1013 at 60.248.175.38 
> ) State EXECUTE going to sleep
> 2010-10-18 08:34:19.476688 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/1013 at 60.248.175.38 
> ) Running State Change CS_HANGUP
> 2010-10-18 08:34:19.476688 [DEBUG] switch_core_state_machine.c:498 (sofia/internal/1013 at 60.248.175.38 
> ) State HANGUP
> 2010-10-18 08:34:19.476688 [DEBUG] mod_sofia.c:441 Channel sofia/internal/1013 at 60.248.175.38 
>  hanging up, cause: NORMAL_CLEARING
> 2010-10-18 08:34:19.494277 [DEBUG] mod_sofia.c:503 Responding to  
> INVITE with: 480
> 2010-10-18 08:34:19.494277 [DEBUG] switch_core_state_machine.c:46 sofia/internal/1013 at 60.248.175.38Standard 
>  HANGUP, cause: NORMAL_CLEARING
> 2010-10-18 08:34:19.494277 [DEBUG] switch_core_state_machine.c:498 (sofia/internal/1013 at 60.248.175.38 
> ) State HANGUP going to sleep
> 2010-10-18 08:34:19.494277 [DEBUG] switch_core_state_machine.c:333 (sofia/internal/1013 at 60.248.175.38 
> ) State Change CS_HANGUP -> CS_REPORTING
> 2010-10-18 08:34:19.494277 [DEBUG] switch_core_session.c:1022 Send signalsofia/internal/1013 at 60.248.175.38 
>  [BREAK]
> 2010-10-18 08:34:19.494277 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/1013 at 60.248.175.38 
> ) Running State Change CS_REPORTING
> 2010-10-18 08:34:19.494277 [DEBUG] switch_core_state_machine.c:589 (sofia/internal/1013 at 60.248.175.38 
> ) State REPORTING
> 2010-10-18 08:34:19.494277 [DEBUG] switch_core_state_machine.c:53 sofia/internal/1013 at 60.248.175.38Standard 
>  REPORTING, cause: NORMAL_CLEARING
> 2010-10-18 08:34:19.494277 [DEBUG] switch_core_state_machine.c:589 (sofia/internal/1013 at 60.248.175.38 
> ) State REPORTING going to sleep
> 2010-10-18 08:34:19.494277 [DEBUG] switch_core_state_machine.c:327 (sofia/internal/1013 at 60.248.175.38 
> ) State Change CS_REPORTING -> CS_DESTROY
> 2010-10-18 08:34:19.494277 [DEBUG] switch_core_session.c:1022 Send signalsofia/internal/1013 at 60.248.175.38 
>  [BREAK]
> 2010-10-18 08:34:19.494277 [DEBUG] switch_core_session.c:1170  
> Session 61 (sofia/internal/1013 at 60.248.175.38) Locked, Waiting on  
> external entities
> 2010-10-18 08:34:19.494277 [NOTICE] switch_core_session.c:1188  
> Session 61 (sofia/internal/1013 at 60.248.175.38) Ended
> 2010-10-18 08:34:19.494277 [NOTICE] switch_core_session.c:1190 Close Channelsofia/internal/1013 at 60.248.175.38 
>  [CS_DESTROY]
> 2010-10-18 08:34:19.494277 [DEBUG] switch_core_state_machine.c:428 (sofia/internal/1013 at 60.248.175.38 
> ) Running State Change CS_DESTROY
> 2010-10-18 08:34:19.494277 [DEBUG] switch_core_state_machine.c:438 (sofia/internal/1013 at 60.248.175.38 
> ) State DESTROY
> 2010-10-18 08:34:19.494277 [DEBUG] mod_sofia.c:350 sofia/internal/1013 at 60.248.175.38 
>  SOFIA DESTROY
> 2010-10-18 08:34:19.494277 [DEBUG] switch_core_state_machine.c:60 sofia/internal/1013 at 60.248.175.38Standard 
>  DESTROY
> 2010-10-18 08:34:19.494277 [DEBUG] switch_core_state_machine.c:438 (sofia/internal/1013 at 60.248.175.38 
> ) State DESTROY going to sleep
>
> Thank you for your attension
>
> Best Regards
>
> Gary
>
> From: david.ponzone at ipeva.fr
> To: freeswitch-users at lists.freeswitch.org
> Date: Fri, 15 Oct 2010 11:16:41 +0200
> Subject: Re: [Freeswitch-users] some questions of freeswitch & X-Lite
>
> You need to understand that if you dial a number that you want to be  
> routed to your 60.248.175.37, you need NOT TO HAVE this number  
> intercepted by the default context on 60.248.175.38.
> In the log you sent, the call is staying local to 60.248.175.38.
> It never reaches 60.248.175.37.
>
> You need to have different numbering plan (you can't have a 4001 on  
> both machines and hope to reach both with the same number).
> Or you keep the same numbering plan, but you use a prefix in the  
> dialplan to reach the other host.
> For instance you would dial 994001, but your dialplan will match it  
> with a regexp like ^99(4\d{3})$ and bridge $1 (so only 4001) to the  
> other FS.
>
> 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 15/10/2010 à 10:52, 江 Chiang 至中 Chih-Chung Wybie a écrit :
>
> 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 signalsofia/internal/1013 at 60.248.175.38 
>  [BREAK]
> 2010-10-15 16:49:30.666644 [DEBUG] switch_core_session.c:642 Send signalsofia/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.38Standard 
>  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 signalsofia/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.38Standard 
>  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 signalsofia/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 signalsofia/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 signalsofia/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 listFreeSWITCH-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 listFreeSWITCH-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 listFreeSWITCH-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-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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101018/e1c8cda0/attachment-0001.html 


More information about the FreeSWITCH-users mailing list