Re: [asterisk-users] Only secretary can call the boss, all others only reach the secretary when dial the boss extension

2007-03-16 Thread Ricardo Carvalho
With Ioan suggestion it still doesn't work, because Asterisk still thinks that the INVITE sent as consequence of the REFER message isn't correlated with a transferred call coming from the secretary. I've also tried to do it using different contexts, but it still doesn't work. I've done like

Re: [asterisk-users] Only secretary can call the boss, all others only reach the secretary when dial the boss extension

2007-03-16 Thread Matt
How about this? We will assume the boss is named Andrew and is 101 and his secretary is 116. ;Boss Extension (Custom) exten = 101/116,1,Dial(SIP/101,30,tr) exten = 101/116,2,Goto(andrewvm,1) exten = 101,1,SetCallerID(Andrew ${CALLERIDNAME} ${CALLERIDNUM}) exten = 101,2,Dial(SIP/116,30,tr) exten

RE: [asterisk-users] Only secretary can call the boss, all others only reach the secretary when dial the boss extension

2007-01-26 Thread Jonathan k. Creasy
Why don't you just give the secretary the boss' REAL extension and give a different extension to the world that just rings the secretary? -jonathan -Original Message- From: [EMAIL PROTECTED] [mailto:asterisk-users- [EMAIL PROTECTED] On Behalf Of Ricardo Carvalho Sent: Friday,

Re: [asterisk-users] Only secretary can call the boss, all others only reach the secretary when dial the boss extension

2007-01-26 Thread Ioan Indreias
Maybe you could use something like: exten = boss_ext,1,GotoIf($[${CALLERID(number)}=secretary_ext]?boss:secretary) exten = boss_ext,n(boss),Dial(SIP/boss_ext) exten = boss_ext,n(secretary),Dial(SIP/secretary_ext) ## nini @ www.modulo.ro ## Jonathan k. Creasy wrote: Why don't you just give

Re: [asterisk-users] Only secretary can call the boss, all others only reach the secretary when dial the boss extension

2007-01-26 Thread Time Bandit
How may I configure my extensions.conf so that only the boss's secretary can call the boss through his extension, all others when dial his extension only makes the boss's secretary phone ring, not his. If she wants, she can transfer the incoming call to the boss dialling his extension. the