[asterisk-users] feature keys no longer work after a call has been parked

martin f krafft madduck at madduck.net
Tue Jun 16 06:58:13 CDT 2009


also sprach Doug Lytle <support at drdos.info> [2009.06.16.1314 +0200]:
> Please remember, the patch is for 1.4

Right, and I found the corresponding lines in 1.6. But there are
more questions now:

> -	snprintf(returnexten, sizeof(returnexten), "%s||t", peername);
> +	snprintf(returnexten, sizeof(returnexten), "%s||tk", peername);

This suggests to me that transfers should work without your patch,
but they don't. They work before parking, but after parking,
transfers do not work.

On the other hand, the use of lower-case tk suggests to me that this
is for the callee and thus might be the flags in effect when the
parking lot calls you back to remind you about a potentially
forgotten call after 45 seconds.

I went to try it and noticed two things:

  == Timeout for SIP/piper-01308f98 parked on 701 (default). Returning to park-dial,SIP0e71,1
    -- Executing [SIP0e71 at park-dial:1] Dial("SIP/piper-01308f98", "SIP/e71|30|TKtk") in new stack
[Jun 16 13:46:16] WARNING[13555]: pbx.c:953 pbx_exec: The application delimiter is now the comma, not the pipe.  Did you forget to convert your dialplan?  (Dial(SIP/e71|30|TKtk))
[Jun 16 13:46:37] WARNING[13555]: chan_sip.c:4526 create_addr: No such host: e71|30|TKtk
[Jun 16 13:46:37] WARNING[13555]: app_dial.c:1518 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Unknown)


First, 1.6 seems to include the patch or similar, since it includes the k flag.

Second, the parking callback feature seems broken in 1.6.


In the end, it seems that when I dial 701 to pick up the call, the
dial flags of the original channel aren't restored. I don't know how
to verify or further debug this though.

Cheers,

-- 
martin | http://madduck.net/ | http://two.sentenc.es/
 
"literature always anticipates life.
 it does not copy it, but moulds it to its purpose.
 the nineteenth century, as we know it,
 is largely an invention of balzac."
                                                        -- oscar wilde
 
spamtraps: madduck.bogus at madduck.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20090616/0b6a0954/attachment.pgp 


More information about the asterisk-users mailing list