Hi List.

We have a small issue with making parked calls work with the new
Asterisk 1.4. I have an impression that this used to work with 1.2, so
its either I'm doing something wrong, or a regression. I hope its not
the latter and you can tell me what I'm doing wrong.

The setup is an Asterisk with sip users in mysql realtime and dialplan
in mysql static (mostly - some stuff is built-in). We have Linksys
hardware voip phones connected to it, and a small dundi setup (I don't
think its important in this case).

Here's the SIP users' default context:

[local-priv-incoming]
exten => 910,1,Goto(parkedcalls,700,1)

parked calls looks like this, of course:
CLI> dialplan show parkedcalls
[ Context 'parkedcalls' created by 'res_features' ]
  '700' =>          1. Park()
[res_features]


So , supposedly someone calls me (in this case through the dundi setup,
but I don't think its a problem - we can reproduce this with local calls
as well) and I do attendant transfer to '900'. I then hear the parked
call number (701 in my case) and so I complete the transfer (in the
Linksys phones, that means hittint XFer again). The caller now, instead
of being parked, disconnects.

In the asterisk CLI it looks like this:
## the remote DUNDi user goes through some stuff and eventually dials to
my local SIP extension:
    -- Executing [EMAIL PROTECTED]:11]
Dial("IAX2/192.118.54.135:4569-2", "SIP/2006||L()") in new stack
    -- Called 2006
    -- SIP/2006-009e9e10 is ringing
    -- SIP/2006-009e9e10 answered IAX2/192.118.54.135:4569-2
## I'm putting the caller on hold while I start the transfer
    -- Started music on hold, class 'default', on
IAX2/192.118.54.135:4569-2
## dialling 910
    -- Executing [EMAIL PROTECTED]:3] Goto("SIP/2006-009eccc0",
"local-priv-incoming|910|1") in new stack
    -- Goto (local-priv-incoming,910,1)
    -- Executing [EMAIL PROTECTED]:1] Goto("SIP/2006-009eccc0",
"parkedcalls|700|1") in new stack
    -- Goto (parkedcalls,700,1)
    -- Executing [EMAIL PROTECTED]:1] Park("SIP/2006-009eccc0", "") in
new stack
  == Parked SIP/2006-009eccc0 on [EMAIL PROTECTED] Will timeout back to
extension [parkedcalls] s, 1 in 45 seconds
    -- Added extension '701' priority 1 to parkedcalls
# this I'm hearing
    -- Playing 'digits/7' (language 'en')
    -- Playing 'digits/0' (language 'en')
    -- Playing 'digits/1' (language 'en')
    -- Started music on hold, class 'default', on SIP/2006-009eccc0
# now I complete the transfer
  == Spawn extension (parkedcalls, s, 1) exited KEEPALIVE on
'SIP/2006-009eccc0'
    -- Stopped music on hold on IAX2/192.118.54.135:4569-2
[Jan 15 15:22:17] WARNING[10582]: chan_sip.c:12310 handle_response:
Notify answer on an owned channel?
  == Spawn extension (dundi-priv-lookup, 2006, 11) exited non-zero on
'IAX2/192.118.54.135:4569-2'
    -- Executing [EMAIL PROTECTED]:1]
NoOp("IAX2/192.118.54.135:4569-2", "-- Done with call --") in new stack
    -- Hungup 'IAX2/192.118.54.135:4569-2'
    -- Stopped music on hold on SIP/2006-009eccc0
  == SIP/2006-009eccc0 got tired of being parked
# and this is where the remote caller disconnects

Can you please tell me what I'm missing ?

--
Oded Arbel
Atelis
[EMAIL PROTECTED]
Tel: +972-54-7340014
::..
The gates in my computer are AND, OR and NOT; they are not Bill.

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to