Код: Выделить всё
//Outcall defaults
//define ("CHAN_TYPE", "Local"); //Use Local to let dialplan decide which chan
define ("CHAN_TYPE", "Local"); //Use Local to let dialplan decide which chan !!!!! see logick in file call_operator.php and call_operator_add.php
define ("OUT_PEER", "8010"); // Use this if not using CHAN_TYPE Local TRUNK
define ("LOCAL_CONTEXT", "meetme_out"); //Select a context to place the call from
define ("OUT_CONTEXT", "meetme"); //Select a context to place the call from
define ("OUT_CALL_CID", "Meet Admin <8010>"); // Caller ID for Invites ;; Ignore
Код: Выделить всё
-- Executing [6126@meetme_out:1] NoOp("Local/6126@meetme_out-e7cd;2", " Kula 6126 ") in new stack
-- Executing [6126@meetme_out:2] Set("Local/6126@meetme_out-e7cd;2", "CALLERID(name)=TEST") in new stack
-- Executing [6126@meetme_out:3] Goto("Local/6126@meetme_out-e7cd;2", "inbound,6126,1") in new stack
-- Goto (inbound,6126,1)
-- Executing [6126@inbound:1] Set("Local/6126@meetme_out-e7cd;2", "CALLERID(name)=TEST") in new stack
-- Executing [6126@inbound:2] Set("Local/6126@meetme_out-e7cd;2", "CALLERID(name)=TEST") in new stack
-- Executing [6126@inbound:3] Dial("Local/6126@meetme_out-e7cd;2", "Dahdi/g1/6126") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called Dahdi/g1/6126
-- DAHDI/i1/6126-9 is proceeding passing it to Local/6126@meetme_out-e7cd;2
== Manager 'admin' logged on from 127.0.0.1
== Manager 'admin' logged off from 127.0.0.1
-- DAHDI/i1/6126-9 is ringing
-- DAHDI/i1/6126-9 is making progress passing it to Local/6126@meetme_out-e7cd;2
-- DAHDI/i1/6126-9 answered Local/6126@meetme_out-e7cd;2
== Manager 'admin' logged off from 127.0.0.1
== Parsing '/etc/asterisk/meetme.conf': == Found
-- Created MeetMe conference 1023 for conference '5'
-- <Local/6126@meetme_out-e7cd;1> Playing 'conf-onlyperson.slin' (language 'en')
Но все равно, после -- Created MeetMe conference 1023 for conference '5'
у меня нет такого счастья
Код: Выделить всё
-- Executing [2345@meetme_out:2] NoOp("Local/2345@meetme_out-576f;2", " твою мать вс работает 2345 ") in new stack
extensions.conf
Код: Выделить всё
[DLPN_out]
exten => _X!,1,Set(CALLERID(name)=${meeting_abook(${CALLERID(num)})})
exten => _X!,1,NoOP( ${CALLERID(name)} ${CALLERID(num)} )
;exten => _6XXX,1,Dial(Dahdi/g1/${EXTEN})
exten => _5XXX,1,Dial(Dahdi/g1/${EXTEN})
exten => _7XXX,1,Dial(Dahdi/g1/${EXTEN})
exten => _0050XXXXXXX,1,Dial(Dahdi/g1/${EXTEN})
exten => _0095XXXXXXX,1,Dial(Dahdi/g1/${EXTEN})
exten => _0XXXXXXX,1,Dial(Dahdi/g1/${EXTEN})
exten => _5XX,1,Dial(Dahdi/g1/${EXTEN})
exten => 8000,1,NoOP( ${CALLERID(name)} ${CALLERID(num)} )
exten => 8000,2,Set(CALLERID(name)=${meeting_abook(${CALLERID(num)})})
exten => 8000,3,MeetMe()
[meetme_out]
exten => _X!,1,Set(CALLERID(name)=${meeting_abook(${CALLERID(num)})})
exten => _X!,1,NoOP( ${CALLERID(name)} ${CALLERID(num)} )
exten => _6XXX,1,NoOP( ${CALLERID(name)} ${CALLERID(num)} )
exten => _6XXX!,n,Set(CALLERID(name)=${meeting_abook(${CALLERID(num)})})
exten => _6XXX,n,Goto(inbound,${EXTEN},1)
exten => _0XXXXXXX,1,NoOP( ${CALLERID(name)} ${CALLERID(num)} )
exten => _0XXXXXXX!,n,Set(CALLERID(name)=${meeting_abook(${CALLERID(num)})})
exten => _0XXXXXXX,n,Dial(Dahdi/g1/${EXTEN})
[meetme]
exten => _X!,1,Set(CALLERID(name)=${meeting_abook(${CALLERID(num)})})
exten => _X!,1,NoOP( ${CALLERID(name)} ${CALLERID(num)} )
exten => s,1,MeetMe()
exten => h,1,ExecIf(0${MEETMEBOOKID}?NoOp(${CALLERID(name)}))
exten => h,1,Set(CDR(userfield)=${CALLERID(name)})
[inbound]
exten => _X!,1,Set(CALLERID(name)=${meeting_abook(${CALLERID(num)})})
exten => _6XXX!,n,Set(CALLERID(name)=${meeting_abook(${CALLERID(num)})})
exten => _6XXX,n,Dial(Dahdi/g1/${EXTEN})
exten => _X!,n,Goto(meetme,s,1)