Hi and happy new year!

My question:

- two extensions: 1111 and 2222
- an active call on 1111
- incoming calls to 1111 should be forwarded to 1111 (call advice!) and 2222

I know how can I forward an incoming call to more than an extension, but I have no idea how can I get the information, that 1111 has already an active call...

I think, I need something like:

exten => _2222,1,Verbose(2,Incoming call for 2222 - [${CALLERID(num)}])
exten => _2222,n,GotoIf( <what here?> ?busy)
exten => _2222,n,Dial(SIP/2222,19,RcxX)
exten => _2222,n,VoiceMail(2222,us)
exten => _2222,n,Hangup
exten => _2222(busy),n,Dial(SIP/2222&SIP/1111,19,RcxX)
exten => _2222,n,VoiceMail(2222,us)
exten => _2222,n,Hangup

Well, the problem is the second line, of course...

Of course the extension 2222 is NOT "really busy", since the phone can support more active channels, but I hope I explained my problem...

Any suggestion?

Thanks
Luca Bertoncello
([email protected])


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to