[asterisk-users] Conference & Page question
Enrico Pasqualotto
pasqu at linux.it
Fri Feb 9 10:21:58 MST 2007
Hi. I'm currently setting up a particular conference: 3 members (a,b,c),
a can speak with b and c, b and c can speak only with a and not between
them.
I found my possible solution with paging/intercom using option "d"
(full-duplex), but I need to make ringing the phone in intercom.
Now I set auto-answer=6 but after first ring the phone hangup the call.
There is a way to using page/intercom with normal ring and not with
auto-answer?
My dialplan:
[ext-paging]
include => ext-paging-custom
exten => PAGE4441,1,GotoIf($[ ${CALLERID(number)} = 4441 ]?skipself)
exten => PAGE4441,n,GotoIf($[ ${FORCE_PAGE} != 1 ]?AVAIL)
exten => PAGE4441,n,Set(AVAILSTATUS=not checked)
exten => PAGE4441,n,Goto(SKIPCHECK)
exten => PAGE4441,n(AVAIL),ChanIsAvail(${DB(DEVICE/4441/dial)}|js)
exten => PAGE4441,n(SKIPCHECK),Noop(Seems to be available (state =
${AVAILSTATUS})
exten => PAGE4441,n,Set(__SIPADDHEADER=Call-Info: \;answer-after=6)
exten => PAGE4441,n,Set(__ALERT_INFO=Ring Answer)
exten => PAGE4441,n,Set(__SIP_URI_OPTIONS=intercom=true)
exten => PAGE4441,n,Set(TIMEOUT(absolute)=60)
exten => PAGE4441,n,Dial(${DB(DEVICE/4441/dial)},5, A(beep))
exten => PAGE4441,n(skipself),Noop(Not paging originator)
exten => PAGE4441,n,Hangup
exten => PAGE4441,AVAIL+101,Noop(Channel ${AVAILCHAN} is not available
(state = ${AVAILSTATUS}))
exten => PAGE4442,1,GotoIf($[ ${CALLERID(number)} = 4442 ]?skipself)
exten => PAGE4442,n,GotoIf($[ ${FORCE_PAGE} != 1 ]?AVAIL)
exten => PAGE4442,n,Set(AVAILSTATUS=not checked)
exten => PAGE4442,n,Goto(SKIPCHECK)
exten => PAGE4442,n(AVAIL),ChanIsAvail(${DB(DEVICE/4442/dial)}|js)
exten => PAGE4442,n(SKIPCHECK),Noop(Seems to be available (state =
${AVAILSTATUS})
exten => PAGE4442,n,Set(__SIPADDHEADER=Call-Info: \;answer-after=6)
exten => PAGE4442,n,Set(__ALERT_INFO=Ring Answer)
exten => PAGE4442,n,Set(__SIP_URI_OPTIONS=intercom=true)
exten => PAGE4442,n,Set(TIMEOUT(absolute)=60)
exten => PAGE4442,n,Dial(${DB(DEVICE/4442/dial)},5, A(beep))
exten => PAGE4442,n(skipself),Noop(Not paging originator)
exten => PAGE4442,n,Hangup
exten => PAGE4442,AVAIL+101,Noop(Channel ${AVAILCHAN} is not available
(state = ${AVAILSTATUS}))
exten => Debug,1,Noop(dialstr is
LOCAL/PAGE4441 at ext-paging&LOCAL/PAGE4442 at ext-paging)
exten => 4446,1,Set(_FORCE_PAGE=1)
exten => 4446,n,Macro(user-callerid,)
exten => 4446,n,Set(TIMEOUT(absolute)=60)
exten => 4446,n,Page(LOCAL/PAGE4441 at ext-paging&LOCAL/PAGE4442 at ext-paging)
--
Pasqualotto 'Pasqu' Enrico
enrico AT pasqualotto DOT org
web: http://www.pasqualotto.org
skype: epasqualotto
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3423 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20070209/34aca9ae/smime.bin
More information about the asterisk-users
mailing list