Код: Выделить всё
<?xml version="1.0" encoding="utf-8"?>
<include>
<context name="default">
<extension name="group_dial_sales">
<condition field="destination_number" expression="^2000$">
<action application="export" data="nolocal:execute_on_answer=info"/>
<action application="export" data="nolocal:execute_on_answer=curl http://mysite.ru/start.php post client=${caller_id_number}&disp=${presence_id}"/>
<action application="bridge" data="${group_call(sales@${domain_name})}"/>
</condition>
</extension>
</context>
</include>
Код: Выделить всё
2012-07-24 14:06:00.171817 [NOTICE] switch_channel.c:926 New Channel sofia/internal/1002@10.0.0.101 [06f22972-3f4b-44cf-bff6-843208d7ce37]
2012-07-24 14:06:00.171817 [INFO] mod_dialplan_xml.c:485 Processing 1002 <1002>->2000 in context default
2012-07-24 14:06:00.171817 [NOTICE] switch_channel.c:926 New Channel sofia/internal/sip:1000@10.0.0.101:5061 [550d056b-9ff7-4ecd-be66-68dcef334d48]
2012-07-24 14:06:00.171817 [NOTICE] switch_ivr_originate.c:2535 Cannot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED]
2012-07-24 14:06:00.171817 [NOTICE] switch_ivr_originate.c:2535 Cannot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED]
2012-07-24 14:06:00.171817 [NOTICE] switch_ivr_originate.c:2535 Cannot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED]
2012-07-24 14:06:00.171817 [NOTICE] switch_ivr_originate.c:2535 Cannot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED]
2012-07-24 14:06:00.191818 [NOTICE] sofia.c:5930 Ring-Ready sofia/internal/sip:1000@10.0.0.101:5061!
2012-07-24 14:06:00.191818 [NOTICE] mod_sofia.c:2583 Ring-Ready sofia/internal/1002@10.0.0.101!
2012-07-24 14:06:00.191818 [NOTICE] switch_ivr_originate.c:519 Ring Ready sofia/internal/1002@10.0.0.101!
2012-07-24 14:06:30.511552 [NOTICE] sofia.c:6573 Channel [sofia/internal/sip:1000@10.0.0.101:5061] has been answered
2012-07-24 14:06:30.511552 [NOTICE] sofia_glue.c:4169 Pre-Answer sofia/internal/1002@10.0.0.101!
2012-07-24 14:06:30.511552 [NOTICE] switch_ivr_originate.c:3284 Channel [sofia/internal/1002@10.0.0.101] has been answered
2012-07-24 14:07:00.651276 [NOTICE] sofia.c:711 Hangup sofia/internal/sip:1000@10.0.0.101:5061 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2012-07-24 14:07:00.671277 [NOTICE] switch_core_session.c:1447 Session 6 (sofia/internal/sip:1000@10.0.0.101:5061) Ended
2012-07-24 14:07:00.671277 [NOTICE] switch_core_session.c:1449 Close Channel sofia/internal/sip:1000@10.0.0.101:5061 [CS_DESTROY]
2012-07-24 14:07:00.671277 [NOTICE] switch_core_state_machine.c:249 sofia/internal/1002@10.0.0.101 has executed the last dialplan instruction, hanging up.
2012-07-24 14:07:00.671277 [NOTICE] switch_core_state_machine.c:251 Hangup sofia/internal/1002@10.0.0.101 [CS_EXECUTE] [NORMAL_CLEARING]
2012-07-24 14:07:00.671277 [NOTICE] switch_core_session.c:1447 Session 5 (sofia/internal/1002@10.0.0.101) Ended
2012-07-24 14:07:00.671277 [NOTICE] switch_core_session.c:1449 Close Channel sofia/internal/1002@10.0.0.101 [CS_DESTROY]
Код: Выделить всё
<action application="export" data="nolocal:execute_on_answer=info"/>
<action application="export" data="nolocal:execute_on_answer=curl http://mysite.ru/start.php post client=${caller_id_number}&disp=${presence_id}"/>
<action application="bridge" data="${group_call(sales@${domain_name})}"/>