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:[email protected],[email protected]
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

Reply via email to