Re: [asterisk-users] Configuring asterisk to revert call back to forwarder if exten is busy

2009-03-08 Thread James Mutuku
I manged to get something working but It's only working when a 
grandstream ip phones is the one tranfering calls. With linksys IP 
phones I get a busy yone


I edited the extensions.conf

last lines of [macro-exten-vm]:

; Extensions with no Voicemail box reporting BUSY come here
exten = s-BUSY,1,NoOp(Extension is reporting BUSY and not passing to Voicemail)
; This should recover failed transfers.
exten = s-BUSY,n,GotoIf($[${LEN(${BLINDTRANSFER})}  
0]?custom-MANAGE_LOST_TRANSFERS,s,1)
exten = s-BUSY,n,Playtones(busy)
exten = s-BUSY,n,Busy(20)

; Anything but BUSY comes here
; This should recover failed transfers.
exten = _s-.,1,GotoIf($[${LEN(${BLINDTRANSFER})}  
0]?custom-MANAGE_LOST_TRANSFERS,s,1)
exten = _s-.,n,Playtones(congestion)
exten = _s-.,n,Congestion(10)

and added a new context on  extensions_custom.conf

[custom-MANAGE_LOST_TRANSFERS]
exten = s,1,Answer()
exten = s,n,Playback(please-wait-bouncing-back)
; Supposing there are 4-digit extensions here - no error checking
exten = s,n,Set(RETURN_EXT=${BLINDTRANSFER:4:3})
exten = s,n,Goto(from-internal,${RETURN_EXT},1)
exten = s,n,HangUp()

What could be the problem with linksys phones?
_





Paul Hales wrote:

Can I assume that you want this only for blind transfers?

I have done this previously, but I lost my copy of the work (and it was
a proof of concept only)

It involved the ${BLINDTRANSFER} variable, which catches the number that
made the blind transfer and making macro-stdexten (or your equivalent)
dial that variable in the case of the dial status being treated as BUSY.

To get a 'busy' will involve single line phones, or disabling call
waiting on the phone receiving the call.

regards,

PaulH


James Mutuku wrote:
  

Hellos,

I want to configure asterisk so that if exten A transfers a call to
exten B, and B is either busy or the call is not answered, the call
returns back to A. Is this possible?

Please help
James


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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



___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

  
begin:vcard
fn:James Mutuku
n:Mutuku;James
org:Agile Systems Limited;Technical Department
adr:;;P.O Box 55686-00200;Nairobi;;00200;Kenya
email;internet:jnmut...@gmail.com,jmut...@agile.co.ke
title:Lead Consultant
tel;work:+254-722-490994
tel;home:+254-722-490994
tel;cell:+254-722-490994
url:www.agile.co.ke
version:2.1
end:vcard

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Re: [asterisk-users] Configuring asterisk to revert call back to forwarder if exten is busy

2009-03-04 Thread Danny Nicholas
I know it is possible, as this is how park works.  Steve Edwards can answer
this better since he's always dissing my replies :)

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of James Mutuku
Sent: Tuesday, March 03, 2009 9:07 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Configuring asterisk to revert call back to
forwarder if exten is busy

Hellos,

I want to configure asterisk so that if exten A transfers a call to 
exten B, and B is either busy or the call is not answered, the call 
returns back to A. Is this possible?

Please help
James




___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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


Re: [asterisk-users] Configuring asterisk to revert call back to forwarder if exten is busy

2009-03-04 Thread Paul Hales

Can I assume that you want this only for blind transfers?

I have done this previously, but I lost my copy of the work (and it was
a proof of concept only)

It involved the ${BLINDTRANSFER} variable, which catches the number that
made the blind transfer and making macro-stdexten (or your equivalent)
dial that variable in the case of the dial status being treated as BUSY.

To get a 'busy' will involve single line phones, or disabling call
waiting on the phone receiving the call.

regards,

PaulH


James Mutuku wrote:
 Hellos,

 I want to configure asterisk so that if exten A transfers a call to
 exten B, and B is either busy or the call is not answered, the call
 returns back to A. Is this possible?

 Please help
 James


 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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


[asterisk-users] Configuring asterisk to revert call back to forwarder if exten is busy

2009-03-03 Thread James Mutuku

Hellos,

I want to configure asterisk so that if exten A transfers a call to 
exten B, and B is either busy or the call is not answered, the call 
returns back to A. Is this possible?


Please help
James
begin:vcard
fn:James Mutuku
n:Mutuku;James
org:Agile Systems Limited;Technical Department
adr:;;P.O Box 55686-00200;Nairobi;;00200;Kenya
email;internet:jnmut...@gmail.com,jmut...@agile.co.ke
title:Lead Consultant
tel;work:+254-722-490994
tel;home:+254-722-490994
tel;cell:+254-722-490994
url:www.agile.co.ke
version:2.1
end:vcard

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

[asterisk-users] Configuring asterisk to revert call back to forwarder if exten is busy

2009-03-03 Thread James Mutuku

Hellos,

I want to configure asterisk so that if exten A transfers a call to 
exten B, and B is either busy or the call is not answered, the call 
returns back to A. Is this possible?


Please help
James


begin:vcard
fn:James Mutuku
n:Mutuku;James
org:Agile Systems Limited;Technical Department
adr:;;P.O Box 55686-00200;Nairobi;;00200;Kenya
email;internet:jnmut...@gmail.com,jmut...@agile.co.ke
title:Lead Consultant
tel;work:+254-722-490994
tel;home:+254-722-490994
tel;cell:+254-722-490994
url:www.agile.co.ke
version:2.1
end:vcard

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Re: [asterisk-users] Configuring asterisk to revert call back to forwarder if exten is busy

2009-03-03 Thread Brandon B.
Use something like this:

exten = 100,1,Dial(SIP/100)
exten = 1001,1,Set(CALLER=${CALLERID(NUM)})
exten = 1001,2,Dial(SIP/100)
exten = 1001,3,Goto(default,${CALLER})

Brandon B.

On Tue, Mar 3, 2009 at 8:06 PM, James Mutuku jnmut...@gmail.com wrote:

 Hellos,

 I want to configure asterisk so that if exten A transfers a call to exten
 B, and B is either busy or the call is not answered, the call returns back
 to A. Is this possible?

 Please help
 James



 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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