I am using asterisk 1.4.10 and seem to be having a problem with blind
transfer. This could very well be a pebkac problem but I'm not sure.
A call comes in on a Zap channel and answered just find by a context
that does a Goto which calls a macro (seems convoluted now that I look
at it) to do some CID bookkeeping but that ultimately dials all of the
phones interested in calls from the Zap channel:
[inbound-pots]
exten => s,1,Set(CDR(accountcode)=XXXXXXXXXX)
exten => s,n,Goto(inbound-house,s,1)
[inbound-house]
exten => s,1,Macro(dialhouse)
exten => s,2,Hangup
[macro-dialhouse]
exten => s,1,NoOp(${CALLERID(name)} ${CALLERID(num)} ${DATETIME}
${CALLERIDNUM} ${CALLERIDNAME})
exten =>
s,n,Set(CALLERID(num)=${IF($[${CALLERID(num)}=anonymous]?:${CALLERID(num)})})
exten => s,n,Set(CALLERID(num)=${IF($[${CALLERID(num)}= 1234567
]?:${CALLERID(num)})})
exten => s,n,PrivacyManager(2,10,j)
exten => s,n,System(/usr/local/bin/callerid "${CALLERID(num)}"
"${CALLERID(name)}")
exten => s,n,Dial(${HOUSE}&${OFFICE},30,t)
exten => s,n,Goto(general-voicemail,s,1)
exten => s,n,Hangup
exten => h,1,Hangup
exten => i,1,Hangup
where HOUSE and OFFICE are defined variables:
HOUSE=SIP/house
OFFICE=SIP/1011002206
This all works fine. Those phones ring and I can answer the call. But
when I try to blind transfer on the phone that I answered the call on,
all seems to go well but after the transfer is done, the Zap channel is
dumped:
Called phone keys in '#':
-- Started music on hold, class 'default', on channel
'Zap/1-1'
-- <SIP/1011002206-08245a80> Playing 'pbx-transfer' (language
'en')
Called phone keys in '2005'
-- Stopped music on hold on Zap/1-1
-- Transferring Zap/1-1 to '2005' (context internal-sip) priority 1
== Channel 'Zap/1-1' jumping out of macro 'dialhouse'
Calling party hears click:
-- Hungup 'Zap/1-1'
And the call is dumped by that point.
As a side note, the timeout between the '#' and the extension is quite
short. 3secs or so it seems. Any way to increase that?
Cheers,
b.
On 11/19/07, Brian J. Murrell <brian at interlinx.bc.ca> wrote:> I am using asterisk 1.4.10 and seem to be having a problem with blind > transfer. This could very well be a pebkac problem but I'm not sure.This is probably issue with 1.4.10. I have reported it, and it has been fixed in 1.4.10.1. Please see http://bugs.digium.com/view.php?id=10415 Regards, Atis> > A call comes in on a Zap channel and answered just find by a context > that does a Goto which calls a macro (seems convoluted now that I look > at it) to do some CID bookkeeping but that ultimately dials all of the > phones interested in calls from the Zap channel: > > [inbound-pots] > exten => s,1,Set(CDR(accountcode)=XXXXXXXXXX) > exten => s,n,Goto(inbound-house,s,1) > > [inbound-house] > exten => s,1,Macro(dialhouse) > exten => s,2,Hangup > > [macro-dialhouse] > exten => s,1,NoOp(${CALLERID(name)} ${CALLERID(num)} ${DATETIME} ${CALLERIDNUM} ${CALLERIDNAME}) > exten => s,n,Set(CALLERID(num)=${IF($[${CALLERID(num)}=anonymous]?:${CALLERID(num)})}) > exten => s,n,Set(CALLERID(num)=${IF($[${CALLERID(num)}= 1234567 ]?:${CALLERID(num)})}) > exten => s,n,PrivacyManager(2,10,j) > exten => s,n,System(/usr/local/bin/callerid "${CALLERID(num)}" "${CALLERID(name)}") > exten => s,n,Dial(${HOUSE}&${OFFICE},30,t) > exten => s,n,Goto(general-voicemail,s,1) > exten => s,n,Hangup > exten => h,1,Hangup > exten => i,1,Hangup > > where HOUSE and OFFICE are defined variables: > > HOUSE=SIP/house > OFFICE=SIP/1011002206 > > This all works fine. Those phones ring and I can answer the call. But > when I try to blind transfer on the phone that I answered the call on, > all seems to go well but after the transfer is done, the Zap channel is > dumped: > > Called phone keys in '#': > -- Started music on hold, class 'default', on channel 'Zap/1-1' > -- <SIP/1011002206-08245a80> Playing 'pbx-transfer' (language 'en') > Called phone keys in '2005' > -- Stopped music on hold on Zap/1-1 > -- Transferring Zap/1-1 to '2005' (context internal-sip) priority 1 > == Channel 'Zap/1-1' jumping out of macro 'dialhouse' > Calling party hears click: > -- Hungup 'Zap/1-1' > > And the call is dumped by that point. > > As a side note, the timeout between the '#' and the extension is quite > short. 3secs or so it seems. Any way to increase that? > > Cheers, > b. > > > > _______________________________________________ > --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 >-- Atis Lezdins VoIP Developer, IQ Labs Inc. atis at iq-labs.net Skype: atis.lezdins Cell Phone: +371 28806004 Work phone: +1 800 7502835
On Mon, 2007-11-19 at 09:14 -0500, Brian J. Murrell wrote:> I am using asterisk 1.4.10 and seem to be having a problem with blind > transfer. This could very well be a pebkac problem but I'm not sure....> Called phone keys in '#': > -- Started music on hold, class 'default', on channel 'Zap/1-1' > -- <SIP/1011002206-08245a80> Playing 'pbx-transfer' (language 'en') > Called phone keys in '2005' > -- Stopped music on hold on Zap/1-1 > -- Transferring Zap/1-1 to '2005' (context internal-sip) priority 1 > == Channel 'Zap/1-1' jumping out of macro 'dialhouse' > Calling party hears click: > -- Hungup 'Zap/1-1' > > And the call is dumped by that point.FWIW, an upgrade to 1.4.11 solved this problem. Cheers! b.