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,Hangupexten => 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,Hangupexten => PAGE4442,AVAIL+101,Noop(Channel ${AVAILCHAN} is not available (state = ${AVAILSTATUS})) exten => Debug,1,Noop(dialstr is LOCAL/[EMAIL PROTECTED]&LOCAL/[EMAIL PROTECTED])
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/[EMAIL PROTECTED]&LOCAL/[EMAIL PROTECTED]) -- Pasqualotto 'Pasqu' Enrico enrico AT pasqualotto DOT org web: http://www.pasqualotto.org skype: epasqualotto
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users