freeswitchforum.com

Форум поддержки FreeSWITCH

FreeSWITCH is a registered trademark of Anthony Minessale. Official FreeSWITCH site.

Текущее время: 28 мар 2024 22:52

Часовой пояс: UTC + 4 часа




Начать новую тему Ответить на тему  [ Сообщений: 13 ]  На страницу 1, 2  След.
Автор Сообщение
СообщениеДобавлено: 29 ноя 2018 11:58 

Зарегистрирован: 17 окт 2018 21:32
Сообщения: 21
Доброго дня!
Вопрос в следующем: не работает перехват только внешних городских звонков. Лог перехвата выложу ниже..


Настройка directory:

<include>
<user id="776">
<params>
<param name="password" value="$${default_password}"/>
<param name="vm-password" value="776"/>
</params>
<variables>
<variable name="toll_allow" value="domestic,international,local"/>
<variable name="accountcode" value="776"/>
<variable name="user_context" value="outbound"/>
<!-- <variable name="effective_caller_id_name" value="776"/> -->
<variable name="effective_caller_id_number" value="776"/>
<variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/>
<variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/>
<variable name="callgroup" value="IT"/>
</variables>
</user>
</include>

Настройка исходящего dialplan/outbound.:

<!-- GROUP PICKUP -->

<extension name="group-intercept">
<condition field="destination_number" expression="^\**$">
<action application="set" data="intercept_unanswered_only=true"/>
<action application="set" data="called_party_callgroup=${user_data(${username}@${domain_name} var callgroup)}"/>
<action application="answer"/>
<action application="intercept" data="${db(select/last_dial/${called_party_callgroup}/${uuid})}"/>
<action application="sleep" data="2000"/>
</condition>
</extension>

<!-- LOCAL CALLS -->

<extension name="local_calls">
<condition field="destination_number" expression="^([1-9]\d\d)$">
<!-- call_Pickup --> <action application="set" data="called_party_callgroup=${user_data($1@${domain_name} var callgroup)}"/>
<!-- call_Pickup --> <action application="db" data="insert/last_dial/${called_party_callgroup}/${uuid}"/>
<action application="bridge" data="sofia/internal/$1%$${domain}"/>
</condition>
</extension>

Настройка входящего inbound:

<!-- LOCAL CALLS -->

<extension name="100-999">
<condition field="destination_number" expression="^([1-9]\d\d)$">
<!-- call_Pickup --> <action application="set" data="called_party_callgroup=${user_data($1@${domain_name} var callgroup)}"/>
<!-- call_Pickup --> <action application="db" data="insert/last_dial/${called_party_callgroup}/${uuid}"/>
<action application="bridge" data="sofia/internal/$1%$${domain}"/>
</condition>
</extension>


<!-- PSTN -IN- CALLS -->

<extension name="PSTN-trunk">
<condition field="destination_number" expression="^4770$">
<!-- call_Pickup --> <action application="set" data="called_party_callgroup=${user_data($1@${domain_name} var callgroup)}"/>
<!-- call_Pickup --> <action application="db" data="insert/last_dial/${called_party_callgroup}/${uuid}"/>
<action application="bridge" data="sofia/internal/776%$${domain}"/>
</condition>
</extension>




ЛОГ перехвата (номер 779 входит в группу) :

2018-11-29 08:47:29.092353 [INFO] mod_dialplan_xml.c:637 Processing IT Dept.03 <779>->** in context outbound
Dialplan: sofia/internal/779@192.168.100.252 parsing [outbound->test_bridging_conference] continue=false
Dialplan: sofia/internal/779@192.168.100.252 Regex (FAIL) [test_bridging_conference] destination_number(**) =~ /^(999)$/ break=on-false
Dialplan: sofia/internal/779@192.168.100.252 parsing [outbound->global] continue=true
Dialplan: sofia/internal/779@192.168.100.252 Regex (FAIL) [global] ${call_debug}(false) =~ /^true$/ break=never
Dialplan: sofia/internal/779@192.168.100.252 Absolute Condition [global]
Dialplan: sofia/internal/779@192.168.100.252 Action hash(insert/${domain_name}-spymap/${caller_id_number}/${uuid})
Dialplan: sofia/internal/779@192.168.100.252 Action hash(insert/${domain_name}-spymap/${destination_number}/${uuid})
Dialplan: sofia/internal/779@192.168.100.252 Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})
Dialplan: sofia/internal/779@192.168.100.252 Action hash(insert/${domain_name}-last_dial/global/${uuid})
Dialplan: sofia/internal/779@192.168.100.252 Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
Dialplan: sofia/internal/779@192.168.100.252 parsing [outbound->eavesdrop] continue=false
Dialplan: sofia/internal/779@192.168.100.252 Regex (FAIL) [eavesdrop] destination_number(**) =~ /^88(\d{3})$|^\*0(.*)$/ break=on-false
Dialplan: sofia/internal/779@192.168.100.252 parsing [outbound->group-intercept] continue=false
Dialplan: sofia/internal/779@192.168.100.252 Regex (PASS) [group-intercept] destination_number(**) =~ /^\**$/ break=on-false
Dialplan: sofia/internal/779@192.168.100.252 Action set(intercept_unanswered_only=true)
Dialplan: sofia/internal/779@192.168.100.252 Action set(called_party_callgroup=${user_data(${username}@${domain_name} var callgroup)})
Dialplan: sofia/internal/779@192.168.100.252 Action answer()
Dialplan: sofia/internal/779@192.168.100.252 Action intercept(${db(select/last_dial/${called_party_callgroup}/${uuid})})
Dialplan: sofia/internal/779@192.168.100.252 Action sleep(2000)
2018-11-29 08:47:29.092353 [DEBUG] switch_core_state_machine.c:286 (sofia/internal/779@192.168.100.252) State Change CS_ROUTING -> CS_EXECUTE
2018-11-29 08:47:29.092353 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/779@192.168.100.252) State ROUTING going to sleep
2018-11-29 08:47:29.092353 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/779@192.168.100.252) Running State Change CS_EXECUTE (Cur 3 Tot 140)
2018-11-29 08:47:29.092353 [DEBUG] switch_core_state_machine.c:650 (sofia/internal/779@192.168.100.252) State EXECUTE
2018-11-29 08:47:29.092353 [DEBUG] mod_sofia.c:198 sofia/internal/779@192.168.100.252 SOFIA EXECUTE
2018-11-29 08:47:29.092353 [DEBUG] switch_core_state_machine.c:328 sofia/internal/779@192.168.100.252 Standard EXECUTE
EXECUTE sofia/internal/779@192.168.100.252 hash(insert/192.168.100.252-spymap/779/46ea3a7d-cecd-420c-bad5-995b03b97927)
EXECUTE sofia/internal/779@192.168.100.252 hash(insert/192.168.100.252-spymap/**/46ea3a7d-cecd-420c-bad5-995b03b97927)
EXECUTE sofia/internal/779@192.168.100.252 hash(insert/192.168.100.252-last_dial/779/**)
EXECUTE sofia/internal/779@192.168.100.252 hash(insert/192.168.100.252-last_dial/global/46ea3a7d-cecd-420c-bad5-995b03b97927)
EXECUTE sofia/internal/779@192.168.100.252 export(RFC2822_DATE=Thu, 29 Nov 2018 08:47:29 +0300)
2018-11-29 08:47:29.092353 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [RFC2822_DATE]=[Thu, 29 Nov 2018 08:47:29 +0300]
EXECUTE sofia/internal/779@192.168.100.252 set(intercept_unanswered_only=true)
2018-11-29 08:47:29.092353 [DEBUG] mod_dptools.c:1548 SET sofia/internal/779@192.168.100.252 [intercept_unanswered_only]=[true]
EXECUTE sofia/internal/779@192.168.100.252 set(called_party_callgroup=IT)
2018-11-29 08:47:29.092353 [DEBUG] mod_dptools.c:1548 SET sofia/internal/779@192.168.100.252 [called_party_callgroup]=[IT]
EXECUTE sofia/internal/779@192.168.100.252 answer()
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[opus:116:48000:20:0:1]
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[opus:116:48000:20:0:1]
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[opus:116:48000:20:0:1]
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G722:9:8000:20:64000:1]
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1]
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1]
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[opus:116:48000:20:0:1]
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1]
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[opus:116:48000:20:0:1]
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G722:9:8000:20:64000:1] ++++ is saved as a match
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [iLBC:97:8000:20:0:1]/[opus:116:48000:20:0:1]
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [iLBC:97:8000:20:0:1]/[G722:9:8000:20:64000:1]
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [iLBC:97:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [iLBC:97:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:2:8000:20:0:1]/[opus:116:48000:20:0:1]
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:2:8000:20:0:1]/[G722:9:8000:20:64000:1]
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:2:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:2:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:3061 Set Codec sofia/internal/779@192.168.100.252 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2018-11-29 08:47:29.092353 [DEBUG] switch_core_codec.c:111 sofia/internal/779@192.168.100.252 Original read codec set to PCMU:0
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:4767 sofia/internal/779@192.168.100.252 Set 2833 dtmf send payload to 101 recv payload to 101
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/internal/779@192.168.100.252] 192.168.100.252 port 20648 -> 192.168.40.41 port 5016 codec: 0 ms: 20
2018-11-29 08:47:29.092353 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:7180 sofia/internal/779@192.168.100.252 Set 2833 dtmf send payload to 101
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:7187 sofia/internal/779@192.168.100.252 Set 2833 dtmf receive payload to 101
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:7210 sofia/internal/779@192.168.100.252 Set rtp dtmf delay to 40
2018-11-29 08:47:29.092353 [NOTICE] sofia_media.c:92 Pre-Answer sofia/internal/779@192.168.100.252!
2018-11-29 08:47:29.092353 [DEBUG] switch_channel.c:3474 (sofia/internal/779@192.168.100.252) Callstate Change RINGING -> EARLY
2018-11-29 08:47:29.092353 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/internal/779@192.168.100.252.
2018-11-29 08:47:29.092353 [DEBUG] mod_sofia.c:850 Local SDP sofia/internal/779@192.168.100.252:
v=0
o=FreeSWITCH 1543449801 1543449802 IN IP4 192.168.100.252
s=FreeSWITCH
c=IN IP4 192.168.100.252
t=0 0
m=audio 20648 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv

2018-11-29 08:47:29.092353 [DEBUG] sofia.c:7084 Channel sofia/internal/779@192.168.100.252 entering state [completed][200]
2018-11-29 08:47:29.092353 [NOTICE] mod_dptools.c:1312 Channel [sofia/internal/779@192.168.100.252] has been answered
2018-11-29 08:47:29.131937 [DEBUG] switch_channel.c:3773 (sofia/internal/779@192.168.100.252) Callstate Change EARLY -> ACTIVE
EXECUTE sofia/internal/779@192.168.100.252 intercept(9d919b0e-d21e-4e3f-97f3-ae522a5fdfd0)
2018-11-29 08:47:29.131937 [DEBUG] switch_ivr_bridge.c:2093 no uuid 9d919b0e-d21e-4e3f-97f3-ae522a5fdfd0
EXECUTE sofia/internal/779@192.168.100.252 sleep(2000)
2018-11-29 08:47:29.251413 [DEBUG] sofia.c:7084 Channel sofia/internal/779@192.168.100.252 entering state [ready][200]
2018-11-29 08:47:29.511466 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
2018-11-29 08:47:31.151443 [NOTICE] switch_core_state_machine.c:385 sofia/internal/779@192.168.100.252 has executed the last dialplan instruction, hanging up.
2018-11-29 08:47:31.151443 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/internal/779@192.168.100.252 [CS_EXECUTE] [NORMAL_CLEARING]
2018-11-29 08:47:31.151443 [DEBUG] switch_core_state_machine.c:6
50 (sofia/internal/779@192.168.100.252) State EXECUTE going to sleep
2018-11-29 08:47:31.151443 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/779@192.168.100.252) Running State Change CS_HANGUP (Cur 3 Tot 140)
2018-11-29 08:47:31.151443 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/779@192.168.100.252) Callstate Change ACTIVE -> HANGUP
2018-11-29 08:47:31.151443 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/779@192.168.100.252) State HANGUP
2018-11-29 08:47:31.151443 [DEBUG] mod_sofia.c:438 Channel sofia/internal/779@192.168.100.252 hanging up, cause: NORMAL_CLEARING
2018-11-29 08:47:31.151443 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/internal/779@192.168.100.252
2018-11-29 08:47:31.151443 [DEBUG] switch_core_state_machine.c:60 sofia/internal/779@192.168.100.252 Standard HANGUP, cause: NORMAL_CLEARING
2018-11-29 08:47:31.151443 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/779@192.168.100.252) State HANGUP going to sleep
2018-11-29 08:47:31.151443 [DEBUG] switch_core_state_machine.c:619 (sofia/internal/779@192.168.100.252) State Change CS_HANGUP -> CS_REPORTING
2018-11-29 08:47:31.151443 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/779@192.168.100.252) Running State Change CS_REPORTING (Cur 3 Tot 140)
2018-11-29 08:47:31.151443 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/779@192.168.100.252) State REPORTING
2018-11-29 08:47:31.151443 [DEBUG] switch_core_state_machine.c:174 sofia/internal/779@192.168.100.252 Standard REPORTING, cause: NORMAL_CLEARING
2018-11-29 08:47:31.151443 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/779@192.168.100.252) State REPORTING going to sleep
2018-11-29 08:47:31.151443 [DEBUG] switch_core_state_machine.c:610 (sofia/internal/779@192.168.100.252) State Change CS_REPORTING -> CS_DESTROY
2018-11-29 08:47:31.151443 [DEBUG] switch_core_session.c:1665 Session 140 (sofia/internal/779@192.168.100.252) Locked, Waiting on external entities
2018-11-29 08:47:31.151443 [NOTICE] switch_core_session.c:1683 Session 140 (sofia/internal/779@192.168.100.252) Ended
2018-11-29 08:47:31.151443 [NOTICE] switch_core_session.c:1687 Close Channel sofia/internal/779@192.168.100.252 [CS_DESTROY]
2018-11-29 08:47:31.151443 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/779@192.168.100.252) Running State Change CS_DESTROY (Cur 2 Tot 140)
2018-11-29 08:47:31.151443 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/779@192.168.100.252) State DESTROY
2018-11-29 08:47:31.151443 [DEBUG] mod_sofia.c:343 sofia/internal/779@192.168.100.252 SOFIA DESTROY
2018-11-29 08:47:31.151443 [DEBUG] switch_core_state_machine.c:181 sofia/internal/779@192.168.100.252 Standard DESTROY
2018-11-29 08:47:31.151443 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/779@192.168.100.252) State DESTROY going to sleep


Вернуться к началу
 Профиль  
 
СообщениеДобавлено: 29 ноя 2018 12:35 

Зарегистрирован: 17 окт 2018 21:32
Сообщения: 21
я так понимаю что все проблемы начинаются после строчки:
2018-11-29 08:47:29.131937 [DEBUG] switch_ivr_bridge.c:2093 no uuid 9d919b0e-d21e-4e3f-97f3-ae522a5fdfd0


Вернуться к началу
 Профиль  
 
СообщениеДобавлено: 30 ноя 2018 12:35 
FreeSWITCH_GuRu

Зарегистрирован: 22 авг 2012 09:52
Сообщения: 1710
видимо из-за того что
Код:
<action application="intercept" data="${db(select/last_dial/${called_party_callgroup}/${uuid})}"/>
в ${uuid} будет содержаться совсем другой id канала

_________________
ЛС: @rostel
Сообщество: @ru_freeswitch


Вернуться к началу
 Профиль  
 
СообщениеДобавлено: 19 дек 2018 11:09 

Зарегистрирован: 17 окт 2018 21:32
Сообщения: 21
Vlad1983 писал(а):
видимо из-за того что
Код:
<action application="intercept" data="${db(select/last_dial/${called_party_callgroup}/${uuid})}"/>
в ${uuid} будет содержаться совсем другой id канала



Тогда каким образом организовать "intercept" ?


Вернуться к началу
 Профиль  
 
СообщениеДобавлено: 19 дек 2018 11:20 
FreeSWITCH_GuRu

Зарегистрирован: 22 авг 2012 09:52
Сообщения: 1710
попробовать заменить на
Код:
<action application="intercept" data="${db(select/last_dial/${called_party_callgroup})}"/>

что в логе входящего из вне, который попадает на 4770?

_________________
ЛС: @rostel
Сообщество: @ru_freeswitch


Вернуться к началу
 Профиль  
 
СообщениеДобавлено: 19 дек 2018 14:02 

Зарегистрирован: 17 окт 2018 21:32
Сообщения: 21
Vlad1983 писал(а):
попробовать заменить на
Код:
<action application="intercept" data="${db(select/last_dial/${called_party_callgroup})}"/>

что в логе входящего из вне, который попадает на 4770?



************************************************************************

2018-12-19 12:59:37.751401 [NOTICE] switch_channel.c:1104 New Channel sofia/external/0333336442@80.94.224.11 [f32905c2-64a1-4898-9d39-c2e385669969]
2018-12-19 12:59:37.751401 [DEBUG] switch_core_state_machine.c:584 (sofia/external/0333336442@80.94.224.11) Running State Change CS_NEW (Cur 1 Tot 8824)
2018-12-19 12:59:37.751401 [DEBUG] sofia.c:9873 sofia/external/0333336442@80.94.224.11 receiving invite from 80.94.224.11:5060 version: 1.6.20 git 987c9b9 2018-01-23 21:49:09Z 64bit
2018-12-19 12:59:37.751401 [DEBUG] sofia.c:7084 Channel sofia/external/0333336442@80.94.224.11 entering state [received][100]
2018-12-19 12:59:37.751401 [DEBUG] sofia.c:7094 Remote SDP:
v=0
o=root 1744449164 1744449164 IN IP4 80.94.224.11
s=Asterisk PBX 11.14.1
c=IN IP4 80.94.224.11
t=0 0
m=audio 14996 RTP/AVP 8 0 3 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20

2018-12-19 12:59:37.751401 [DEBUG] sofia.c:7486 (sofia/external/0333336442@80.94.224.11) State Change CS_NEW -> CS_INIT
2018-12-19 12:59:37.751401 [DEBUG] switch_core_state_machine.c:603 (sofia/external/0333336442@80.94.224.11) State NEW
2018-12-19 12:59:37.751401 [DEBUG] switch_core_state_machine.c:584 (sofia/external/0333336442@80.94.224.11) Running State Change CS_INIT (Cur 1 Tot 8824)
2018-12-19 12:59:37.771392 [DEBUG] switch_core_state_machine.c:627 (sofia/external/0333336442@80.94.224.11) State INIT
2018-12-19 12:59:37.771392 [DEBUG] mod_sofia.c:90 sofia/external/0333336442@80.94.224.11 SOFIA INIT
2018-12-19 12:59:37.771392 [DEBUG] switch_core_state_machine.c:40 sofia/external/0333336442@80.94.224.11 Standard INIT
2018-12-19 12:59:37.771392 [DEBUG] switch_core_state_machine.c:48 (sofia/external/0333336442@80.94.224.11) State Change CS_INIT -> CS_ROUTING
2018-12-19 12:59:37.771392 [DEBUG] switch_core_state_machine.c:627 (sofia/external/0333336442@80.94.224.11) State INIT going to sleep
2018-12-19 12:59:37.771392 [DEBUG] switch_core_state_machine.c:584 (sofia/external/0333336442@80.94.224.11) Running State Change CS_ROUTING (Cur 1 Tot 8824)
2018-12-19 12:59:37.771392 [DEBUG] switch_channel.c:2249 (sofia/external/0333336442@80.94.224.11) Callstate Change DOWN -> RINGING
2018-12-19 12:59:37.771392 [DEBUG] switch_core_state_machine.c:643 (sofia/external/0333336442@80.94.224.11) State ROUTING
2018-12-19 12:59:37.771392 [DEBUG] mod_sofia.c:143 sofia/external/0333336442@80.94.224.11 SOFIA ROUTING
2018-12-19 12:59:37.771392 [DEBUG] switch_core_state_machine.c:236 sofia/external/0333336442@80.94.224.11 Standard ROUTING
2018-12-19 12:59:37.771392 [INFO] mod_dialplan_xml.c:637 Processing 0333336442 <0333336442>->4770 in context inbound
Dialplan: sofia/external/0333336442@80.94.224.11 parsing [inbound->test_bridging_conference] continue=false
Dialplan: sofia/external/0333336442@80.94.224.11 Regex (FAIL) [test_bridging_conference] destination_number(4770) =~ /^999$/ break=on-false
Dialplan: sofia/external/0333336442@80.94.224.11 parsing [inbound->100-999] continue=false
Dialplan: sofia/external/0333336442@80.94.224.11 Regex (FAIL) [100-999] destination_number(4770) =~ /^([1-9]\d\d)$/ break=on-false
Dialplan: sofia/external/0333336442@80.94.224.11 parsing [inbound->gsm-gw-trunk_293995200(BrandMade)] continue=false
Dialplan: sofia/external/0333336442@80.94.224.11 Regex (FAIL) [gsm-gw-trunk_293995200(BrandMade)] destination_number(4770) =~ /^293995200$/ break=on-false
Dialplan: sofia/external/0333336442@80.94.224.11 parsing [inbound->gsm-gw-trunk_447402086(Wunder)] continue=false
Dialplan: sofia/external/0333336442@80.94.224.11 Regex (FAIL) [gsm-gw-trunk_447402086(Wunder)] destination_number(4770) =~ /^447402086$/ break=on-false
Dialplan: sofia/external/0333336442@80.94.224.11 parsing [inbound->gsm-gw-trunk_29675707(RadMedia)] continue=false
Dialplan: sofia/external/0333336442@80.94.224.11 Regex (FAIL) [gsm-gw-trunk_29675707(RadMedia)] destination_number(4770) =~ /^296705707$/ break=on-false
Dialplan: sofia/external/0333336442@80.94.224.11 parsing [inbound->gsm-gw-trunk_447455433(LCD)] continue=false
Dialplan: sofia/external/0333336442@80.94.224.11 Regex (FAIL) [gsm-gw-trunk_447455433(LCD)] destination_number(4770) =~ /^447455433$/ break=on-false
Dialplan: sofia/external/0333336442@80.94.224.11 parsing [inbound->IMS-0172575700(LCD)] continue=false
Dialplan: sofia/external/0333336442@80.94.224.11 Regex (FAIL) [IMS-0172575700(LCD)] destination_number(4770) =~ /^9991$/ break=on-false
Dialplan: sofia/external/0333336442@80.94.224.11 parsing [inbound->IMS-0172575701(LCD)] continue=false
Dialplan: sofia/external/0333336442@80.94.224.11 Regex (FAIL) [IMS-0172575701(LCD)] destination_number(4770) =~ /^9992$/ break=on-false
Dialplan: sofia/external/0333336442@80.94.224.11 parsing [inbound->IPtel-trunk-0173884408] continue=false
Dialplan: sofia/external/0333336442@80.94.224.11 Regex (FAIL) [IPtel-trunk-0173884408] destination_number(4770) =~ /^4408$/ break=on-false
Dialplan: sofia/external/0333336442@80.94.224.11 parsing [inbound->IPtel-trunk-0173884407] continue=false
Dialplan: sofia/external/0333336442@80.94.224.11 Regex (FAIL) [IPtel-trunk-0173884407] destination_number(4770) =~ /^4407$/ break=on-false
Dialplan: sofia/external/0333336442@80.94.224.11 parsing [inbound->IPtel-trunk-0173884406] continue=false
Dialplan: sofia/external/0333336442@80.94.224.11 Regex (FAIL) [IPtel-trunk-0173884406] destination_number(4770) =~ /^4406$/ break=on-false
Dialplan: sofia/external/0333336442@80.94.224.11 parsing [inbound->IPtel-trunk-0173884405] continue=false
Dialplan: sofia/external/0333336442@80.94.224.11 Regex (FAIL) [IPtel-trunk-0173884405] destination_number(4770) =~ /^4405$/ break=on-false
Dialplan: sofia/external/0333336442@80.94.224.11 parsing [inbound->IPtel-trunk-0173884403] continue=false
Dialplan: sofia/external/0333336442@80.94.224.11 Regex (FAIL) [IPtel-trunk-0173884403] destination_number(4770) =~ /^4403$/ break=on-false
Dialplan: sofia/external/0333336442@80.94.224.11 parsing [inbound->IPtel-trunk-0173884404] continue=false
Dialplan: sofia/external/0333336442@80.94.224.11 Regex (FAIL) [IPtel-trunk-0173884404] destination_number(4770) =~ /^4404$/ break=on-false
Dialplan: sofia/external/0333336442@80.94.224.11 parsing [inbound->IPtel-trunk-0173884770] continue=false
Dialplan: sofia/external/0333336442@80.94.224.11 Regex (PASS) [IPtel-trunk-0173884770] destination_number(4770) =~ /^4770$/ break=on-false
Dialplan: sofia/external/0333336442@80.94.224.11 Action set(called_party_callgroup=${user_data($1@${domain_name} var callgroup)})
Dialplan: sofia/external/0333336442@80.94.224.11 Action db(insert/last_dial/${called_party_callgroup}/${uuid})
Dialplan: sofia/external/0333336442@80.94.224.11 Action bridge(sofia/internal/779%192.168.100.252)
2018-12-19 12:59:37.771392 [DEBUG] switch_core_state_machine.c:286 (sofia/external/0333336442@80.94.224.11) State Change CS_ROUTING -> CS_EXECUTE
2018-12-19 12:59:37.771392 [DEBUG] switch_core_state_machine.c:643 (sofia/external/0333336442@80.94.224.11) State ROUTING going to sleep
2018-12-19 12:59:37.771392 [DEBUG] switch_core_state_machine.c:584 (sofia/external/0333336442@80.94.224.11) Running State Change CS_EXECUTE (Cur 1 Tot 8824)
2018-12-19 12:59:37.771392 [DEBUG] switch_core_state_machine.c:650 (sofia/external/0333336442@80.94.224.11) State EXECUTE
2018-12-19 12:59:37.771392 [DEBUG] mod_sofia.c:198 sofia/external/0333336442@80.94.224.11 SOFIA EXECUTE
2018-12-19 12:59:37.771392 [DEBUG] switch_core_state_machine.c:328 sofia/external/0333336442@80.94.224.11 Standard EXECUTE
EXECUTE sofia/external/0333336442@80.94.224.11 set(called_party_callgroup=)
2018-12-19 12:59:37.771392 [DEBUG] mod_dptools.c:1548 SET sofia/external/0333336442@80.94.224.11 [called_party_callgroup]=[UNDEF]
EXECUTE sofia/external/0333336442@80.94.224.11 db(insert/last_dial//f32905c2-64a1-4898-9d39-c2e385669969)
EXECUTE sofia/external/0333336442@80.94.224.11 bridge(sofia/internal/779%192.168.100.252)
2018-12-19 12:59:37.771392 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
2018-12-19 12:59:37.771392 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/779 [c6d97006-1787-4a8e-aeb4-8fa84a848450]
2018-12-19 12:59:37.771392 [DEBUG] mod_sofia.c:4819 (sofia/internal/779) State Change CS_NEW -> CS_INIT
2018-12-19 12:59:37.771392 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/779) Running State Change CS_INIT (Cur 2 Tot 8825)
2018-12-19 12:59:37.771392 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/779) State INIT
2018-12-19 12:59:37.771392 [DEBUG] mod_sofia.c:90 sofia/internal/779 SOFIA INIT
2018-12-19 12:59:37.771392 [DEBUG] sofia_glue.c:1264 sip:779@192.168.40.41:5066 Setting proxy route to sofia/internal/779
2018-12-19 12:59:37.771392 [DEBUG] sofia_glue.c:1295 sofia/internal/779 sending invite version: 1.6.20 git 987c9b9 2018-01-23 21:49:09Z 64bit
Local SDP:
v=0
o=FreeSWITCH 1545187819 1545187820 IN IP4 192.168.100.252
s=FreeSWITCH
c=IN IP4 192.168.100.252
t=0 0
m=audio 25758 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv

2018-12-19 12:59:37.771392 [DEBUG] switch_core_state_machine.c:40 sofia/internal/779 Standard INIT
2018-12-19 12:59:37.771392 [DEBUG] switch_core_state_machine.c:48 (sofia/internal/779) State Change CS_INIT -> CS_ROUTING
2018-12-19 12:59:37.771392 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/779) State INIT going to sleep
2018-12-19 12:59:37.771392 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/779) Running State Change CS_ROUTING (Cur 2 Tot 8825)
2018-12-19 12:59:37.771392 [DEBUG] sofia.c:7084 Channel sofia/internal/779 entering state [calling][0]
2018-12-19 12:59:37.771392 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/779) State ROUTING
2018-12-19 12:59:37.771392 [DEBUG] mod_sofia.c:143 sofia/internal/779 SOFIA ROUTING
2018-12-19 12:59:37.771392 [DEBUG] switch_ivr_originate.c:67 (sofia/internal/779) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2018-12-19 12:59:37.771392 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/779) State ROUTING going to sleep
2018-12-19 12:59:37.771392 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/779) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 8825)
2018-12-19 12:59:37.771392 [DEBUG] switch_core_state_machine.c:662 (sofia/internal/779) State CONSUME_MEDIA
2018-12-19 12:59:37.771392 [DEBUG] switch_core_state_machine.c:662 (sofia/internal/779) State CONSUME_MEDIA going to sleep
2018-12-19 12:59:37.874767 [DEBUG] sofia.c:7084 Channel sofia/internal/779 entering state [proceeding][180]
2018-12-19 12:59:37.874767 [NOTICE] sofia.c:7192 Ring-Ready sofia/internal/779!
2018-12-19 12:59:37.874767 [DEBUG] switch_channel.c:3346 (sofia/internal/779) Callstate Change DOWN -> RINGING
2018-12-19 12:59:37.874767 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/external/0333336442@80.94.224.11!
2018-12-19 12:59:37.874767 [DEBUG] sofia.c:7084 Channel sofia/external/0333336442@80.94.224.11 entering state [early][180]
2018-12-19 12:59:37.874767 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/external/0333336442@80.94.224.11!


Вернуться к началу
 Профиль  
 
СообщениеДобавлено: 19 дек 2018 14:23 
FreeSWITCH_GuRu

Зарегистрирован: 22 авг 2012 09:52
Сообщения: 1710
Код:
EXECUTE sofia/external/0333336442@80.94.224.11 set(called_party_callgroup=)
...
EXECUTE sofia/external/0333336442@80.94.224.11 db(insert/last_dial//f32905c2-64a1-4898-9d39-c2e385669969)
теперь понятно в чем проблема?

_________________
ЛС: @rostel
Сообщество: @ru_freeswitch


Вернуться к началу
 Профиль  
 
СообщениеДобавлено: 19 дек 2018 16:08 

Зарегистрирован: 17 окт 2018 21:32
Сообщения: 21
Vlad1983 писал(а):
Код:
EXECUTE sofia/external/0333336442@80.94.224.11 set(called_party_callgroup=)
...
EXECUTE sofia/external/0333336442@80.94.224.11 db(insert/last_dial//f32905c2-64a1-4898-9d39-c2e385669969)
теперь понятно в чем проблема?



****************************************************
Да, понятно, но после того как я убрал {uuid} из GROUP PICKUP в dialplan/outbound и PSTN -IN- CALLS в inbound, после внешнего входящего появляется (лог ниже), а при перехвате: no uuid



2018-12-19 14:59:46.322797 [INFO] mod_dialplan_xml.c:637 Processing 0333336442 <0333336442>->4770 in context inbound
Dialplan: sofia/external/0333336442@80.94.224.11 parsing [inbound->test_bridging_conference] continue=false
Dialplan: sofia/external/0333336442@80.94.224.11 Regex (FAIL) [test_bridging_conference] destination_number(4770) =~ /^999$/ break=on-false
Dialplan: sofia/external/0333336442@80.94.224.11 parsing [inbound->100-999] continue=false
Dialplan: sofia/external/0333336442@80.94.224.11 Regex (FAIL) [100-999] destination_number(4770) =~ /^([1-9]\d\d)$/ break=on-false
Dialplan: sofia/external/0333336442@80.94.224.11 parsing [inbound->gsm-gw-trunk_293995200(BrandMade)] continue=false
Dialplan: sofia/external/0333336442@80.94.224.11 Regex (FAIL) [gsm-gw-trunk_293995200(BrandMade)] destination_number(4770) =~ /^293995200$/ break=on-false
Dialplan: sofia/external/0333336442@80.94.224.11 parsing [inbound->gsm-gw-trunk_447402086(Wunder)] continue=false
Dialplan: sofia/external/0333336442@80.94.224.11 Regex (FAIL) [gsm-gw-trunk_447402086(Wunder)] destination_number(4770) =~ /^447402086$/ break=on-false
Dialplan: sofia/external/0333336442@80.94.224.11 parsing [inbound->gsm-gw-trunk_29675707(RadMedia)] continue=false
Dialplan: sofia/external/0333336442@80.94.224.11 Regex (FAIL) [gsm-gw-trunk_29675707(RadMedia)] destination_number(4770) =~ /^296705707$/ break=on-false
Dialplan: sofia/external/0333336442@80.94.224.11 parsing [inbound->gsm-gw-trunk_447455433(LCD)] continue=false
Dialplan: sofia/external/0333336442@80.94.224.11 Regex (FAIL) [gsm-gw-trunk_447455433(LCD)] destination_number(4770) =~ /^447455433$/ break=on-false
Dialplan: sofia/external/0333336442@80.94.224.11 parsing [inbound->IMS-0172575700(LCD)] continue=false
Dialplan: sofia/external/0333336442@80.94.224.11 Regex (FAIL) [IMS-0172575700(LCD)] destination_number(4770) =~ /^9991$/ break=on-false
Dialplan: sofia/external/0333336442@80.94.224.11 parsing [inbound->IMS-0172575701(LCD)] continue=false
Dialplan: sofia/external/0333336442@80.94.224.11 Regex (FAIL) [IMS-0172575701(LCD)] destination_number(4770) =~ /^9992$/ break=on-false
Dialplan: sofia/external/0333336442@80.94.224.11 parsing [inbound->IPtel-trunk-0173884408] continue=false
Dialplan: sofia/external/0333336442@80.94.224.11 Regex (FAIL) [IPtel-trunk-0173884408] destination_number(4770) =~ /^4408$/ break=on-false
Dialplan: sofia/external/0333336442@80.94.224.11 parsing [inbound->IPtel-trunk-0173884407] continue=false
Dialplan: sofia/external/0333336442@80.94.224.11 Regex (FAIL) [IPtel-trunk-0173884407] destination_number(4770) =~ /^4407$/ break=on-false
Dialplan: sofia/external/0333336442@80.94.224.11 parsing [inbound->IPtel-trunk-0173884406] continue=false
Dialplan: sofia/external/0333336442@80.94.224.11 Regex (FAIL) [IPtel-trunk-0173884406] destination_number(4770) =~ /^4406$/ break=on-false
Dialplan: sofia/external/0333336442@80.94.224.11 parsing [inbound->IPtel-trunk-0173884405] continue=false
Dialplan: sofia/external/0333336442@80.94.224.11 Regex (FAIL) [IPtel-trunk-0173884405] destination_number(4770) =~ /^4405$/ break=on-false
Dialplan: sofia/external/0333336442@80.94.224.11 parsing [inbound->IPtel-trunk-0173884403] continue=false
Dialplan: sofia/external/0333336442@80.94.224.11 Regex (FAIL) [IPtel-trunk-0173884403] destination_number(4770) =~ /^4403$/ break=on-false
Dialplan: sofia/external/0333336442@80.94.224.11 parsing [inbound->IPtel-trunk-0173884404] continue=false
Dialplan: sofia/external/0333336442@80.94.224.11 Regex (FAIL) [IPtel-trunk-0173884404] destination_number(4770) =~ /^4404$/ break=on-false
Dialplan: sofia/external/0333336442@80.94.224.11 parsing [inbound->IPtel-trunk-0173884770] continue=false
Dialplan: sofia/external/0333336442@80.94.224.11 Regex (PASS) [IPtel-trunk-0173884770] destination_number(4770) =~ /^4770$/ break=on-false
Dialplan: sofia/external/0333336442@80.94.224.11 Action set(called_party_callgroup=${user_data($1@${domain_name} var callgroup)})
Dialplan: sofia/external/0333336442@80.94.224.11 Action db(insert/last_dial/${called_party_callgroup})
Dialplan: sofia/external/0333336442@80.94.224.11 Action bridge(sofia/internal/779%192.168.100.252)
2018-12-19 14:59:46.322797 [DEBUG] switch_core_state_machine.c:286 (sofia/external/0333336442@80.94.224.11) State Change CS_ROUTING -> CS_EXECUTE
2018-12-19 14:59:46.322797 [DEBUG] switch_core_state_machine.c:643 (sofia/external/0333336442@80.94.224.11) State ROUTING going to sleep
2018-12-19 14:59:46.322797 [DEBUG] switch_core_state_machine.c:584 (sofia/external/0333336442@80.94.224.11) Running State Change CS_EXECUTE (Cur 1 Tot 127)
2018-12-19 14:59:46.322797 [DEBUG] switch_core_state_machine.c:650 (sofia/external/0333336442@80.94.224.11) State EXECUTE
2018-12-19 14:59:46.322797 [DEBUG] mod_sofia.c:198 sofia/external/0333336442@80.94.224.11 SOFIA EXECUTE
2018-12-19 14:59:46.322797 [DEBUG] switch_core_state_machine.c:328 sofia/external/0333336442@80.94.224.11 Standard EXECUTE
EXECUTE sofia/external/0333336442@80.94.224.11 set(called_party_callgroup=)
2018-12-19 14:59:46.322797 [DEBUG] mod_dptools.c:1548 SET sofia/external/0333336442@80.94.224.11 [called_party_callgroup]=[UNDEF]
EXECUTE sofia/external/0333336442@80.94.224.11 db(insert/last_dial/)
2018-12-19 14:59:46.322797 [WARNING] mod_db.c:481 USAGE: db [insert|delete]/<realm>/<key>/<val>
EXECUTE sofia/external/0333336442@80.94.224.11 bridge(sofia/internal/779%192.168.100.252)
2018-12-19 14:59:46.322797 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
2018-12-19 14:59:46.322797 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/779 [b8de7e6f-80aa-432f-9af1-c775fd53ad22]
2018-12-19 14:59:46.322797 [DEBUG] mod_sofia.c:4819 (sofia/internal/779) State Change CS_NEW -> CS_INIT
2018-12-19 14:59:46.322797 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/779) Running State Change CS_INIT (Cur 2 Tot 128)
2018-12-19 14:59:46.322797 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/779) State INIT
2018-12-19 14:59:46.322797 [DEBUG] mod_sofia.c:90 sofia/internal/779 SOFIA INIT
2018-12-19 14:59:46.322797 [DEBUG] sofia_glue.c:1264 sip:779@192.168.40.41:5066 Setting proxy route to sofia/internal/779
2018-12-19 14:59:46.322797 [DEBUG] sofia_glue.c:1295 sofia/internal/779 sending invite version: 1.6.20 git 987c9b9 2018-01-23 21:49:09Z 64bit
Local SDP:
v=0
o=FreeSWITCH 1545201796 1545201797 IN IP4 192.168.100.252
s=FreeSWITCH
c=IN IP4 192.168.100.252
t=0 0
m=audio 18990 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv

2018-12-19 14:59:46.322797 [DEBUG] switch_core_state_machine.c:40 sofia/internal/779 Standard INIT
2018-12-19 14:59:46.322797 [DEBUG] switch_core_state_machine.c:48 (sofia/internal/779) State Change CS_INIT -> CS_ROUTING
2018-12-19 14:59:46.322797 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/779) State INIT going to sleep
2018-12-19 14:59:46.322797 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/779) Running State Change CS_ROUTING (Cur 2 Tot 128)
2018-12-19 14:59:46.322797 [DEBUG] sofia.c:7084 Channel sofia/internal/779 entering state [calling][0]
2018-12-19 14:59:46.322797 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/779) State ROUTING
2018-12-19 14:59:46.322797 [DEBUG] mod_sofia.c:143 sofia/internal/779 SOFIA ROUTING
2018-12-19 14:59:46.322797 [DEBUG] switch_ivr_originate.c:67 (sofia/internal/779) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2018-12-19 14:59:46.322797 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/779) State ROUTING going to sleep
2018-12-19 14:59:46.322797 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/779) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 128)
2018-12-19 14:59:46.322797 [DEBUG] switch_core_state_machine.c:662 (sofia/internal/779) State CONSUME_MEDIA
2018-12-19 14:59:46.322797 [DEBUG] switch_core_state_machine.c:662 (sofia/internal/779) State CONSUME_MEDIA going to sleep
2018-12-19 14:59:46.382904 [DEBUG] sofia.c:7084 Channel sofia/internal/779 entering state [proceeding][180]
2018-12-19 14:59:46.382904 [NOTICE] sofia.c:7192 Ring-Ready sofia/internal/779!
2018-12-19 14:59:46.382904 [DEBUG] switch_channel.c:3346 (sofia/internal/779) Callstate Change DOWN -> RINGING
2018-12-19 14:59:46.382904 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/external/0333336442@80.94.224.11!
2018-12-19 14:59:46.382904 [DEBUG] sofia.c:7084 Channel sofia/external/0333336442@80.94.224.11 entering state [early][180]
2018-12-19 14:59:46.382904 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/external/0333336442@80.94.224.11!


********************************************

А при перехвате


Вернуться к началу
 Профиль  
 
СообщениеДобавлено: 19 дек 2018 16:32 
FreeSWITCH_GuRu

Зарегистрирован: 22 авг 2012 09:52
Сообщения: 1710
проблема в этом extension
Код:
<extension name="PSTN-trunk">
  <condition field="destination_number" expression="^4770$">
    <!-- call_Pickup --> <action application="set" data="called_party_callgroup=${user_data($1@${domain_name} var callgroup)}"/>
    <!-- call_Pickup --> <action application="db" data="insert/last_dial/${called_party_callgroup}/${uuid}"/>
    <action application="bridge" data="sofia/internal/776%$${domain}"/>
  </condition>
</extension>
called_party_callgroup остается пустым

_________________
ЛС: @rostel
Сообщество: @ru_freeswitch


Вернуться к началу
 Профиль  
 
СообщениеДобавлено: 19 дек 2018 17:21 

Зарегистрирован: 17 окт 2018 21:32
Сообщения: 21
Vlad1983 писал(а):
проблема в этом extension
Код:
<extension name="PSTN-trunk">
  <condition field="destination_number" expression="^4770$">
    <!-- call_Pickup --> <action application="set" data="called_party_callgroup=${user_data($1@${domain_name} var callgroup)}"/>
    <!-- call_Pickup --> <action application="db" data="insert/last_dial/${called_party_callgroup}/${uuid}"/>
    <action application="bridge" data="sofia/internal/776%$${domain}"/>
  </condition>
</extension>
called_party_callgroup остается пустым


********************************************
Я и убирал и оставлял UUID , результат перехвата тот же: [DEBUG] switch_ivr_bridge.c:2093 no uuid 83398ed3-0c38-481b-9c56-158f336ea9a8
EXECUTE sofia/internal/776@192.168.100.252:5060 sleep(2000)

<condition field="destination_number" expression="^4770$">
<!-- call_Pickup --> <action application="set" data="called_party_callgroup=${user_data($1@${domain_name} var callgroup)}"/>
<!-- call_Pickup --> <action application="db" data="insert/last_dial/${called_party_callgroup}/${uuid}"/>
<action application="bridge" data="sofia/internal/776%$${domain}"/>
</condition>

Не понимаю, почему FS не может просто перехватить внешний звонок.....
Может быть покопать в сторону extension? Ведь звонок приходит на шлюз в sip_profiles

<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="hash" data="insert/${domain_name}-last_dial_ext/${called_party_callgroup}/${uuid}"/>
<action application="hash" data="insert/${domain_name}-last_dial_ext/global/${uuid}"/>


Вернуться к началу
 Профиль  
 
Показать сообщения за:  Поле сортировки  
Начать новую тему Ответить на тему  [ Сообщений: 13 ]  На страницу 1, 2  След.

Часовой пояс: UTC + 4 часа


Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 33


Вы не можете начинать темы
Вы не можете отвечать на сообщения
Вы не можете редактировать свои сообщения
Вы не можете удалять свои сообщения
Вы не можете добавлять вложения

Найти:
Перейти:  
cron
Powered by phpBB® Forum Software © phpBB Group
Русская поддержка phpBB