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

2009-06-17 Thread martin f krafft
also sprach Jeff Peeler jpee...@digium.com [2009.06.16.1757 +0200]:
 Have you set the parkedcallreparking, parkedcalltransfers, and other
 associated options?

Only parkext and parkpos and context. All others are left at their
defaults. But of course this seems to be what I am looking for.

However, if I set e.g. parkedcallrecording=caller, doesn't that mean
that the caller will achieve recording rights by parking and
unparking, even if s/he originally didn't have recording abilities?

-- 
martin | http://madduck.net/ | http://two.sentenc.es/
 
i must get out of these wet clothes and into a dry martini.
 -- alexander woolcott
 
spamtraps: madduck.bo...@madduck.net


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)
___
-- 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] feature keys no longer work after a call has been parked

2009-06-16 Thread martin f krafft
Hey folks,

I can park a call with #70 after enabling that feature in
features.conf. However, once I retrieve the call from the parking
lot, #70 cannot be used to park it again. Worse yet, none of the
keys defined in the featuremap work anymore, include blindxfer or
automon.

Any ideas what may be the problem?

-- 
martin | http://madduck.net/ | http://two.sentenc.es/
 
man sagt nicht 'nichts!', man sagt dafür 'jenseits' oder 'gott'.
 - friedrich nietzsche
 
spamtraps: madduck.bo...@madduck.net


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)
___
-- 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] feature keys no longer work after a call has been parked

2009-06-16 Thread Doug Lytle
martin f krafft wrote:
 Hey folks,

 I can park a call with #70 after enabling that feature in
 features.conf. However, once I retrieve the call from the parking
 lot, #70 cannot be used to park it again. Worse yet, none of the
   

You fail to mention the version of Asterisk that you're working with. 

Under 1.4.20.1, I have a multi-parking patch that fixes this bug.  I 
haven't had the need to upgrade to the newest version of the 1.4 series, 
so haven't looked to see if this patches is necessary.

I can make the patch available on request.

Doug


-- 
Ben Franklin quote:

Those who would give up Essential Liberty to purchase a little Temporary 
Safety, deserve neither Liberty nor Safety.


___
-- 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] feature keys no longer work after a call has been parked

2009-06-16 Thread martin f krafft
also sprach Doug Lytle supp...@drdos.info [2009.06.16.1142 +0200]:
  I can park a call with #70 after enabling that feature in
  features.conf. However, once I retrieve the call from the parking
  lot, #70 cannot be used to park it again. Worse yet, none of the

 You fail to mention the version of Asterisk that you're working with.

Sorry. This is with the (experimental) Debian packages from Xorcom,
version 1:1.6.1.0~dfsg-1.7248

 I can make the patch available on request.

Yes, please. It's good to know that this is a known bug.

-- 
martin | http://madduck.net/ | http://two.sentenc.es/
 
(on the statement print 42 monkeys+1 snake) btw,
both perl and python get this wrong.
perl gives 43 and python gives 42 monkeys1 snake,
when the answer is clearly 41 monkeys and 1 fat snake.
 -- jim fulton
 
spamtraps: madduck.bo...@madduck.net


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)
___
-- 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] feature keys no longer work after a call has been parked

2009-06-16 Thread Doug Lytle

martin f krafft wrote:

Yes, please. It's good to know that this is a known bug.

  


Please remember, the patch is for 1.4

Doug



--

Ben Franklin quote:

Those who would give up Essential Liberty to purchase a little Temporary Safety, 
deserve neither Liberty nor Safety.

Index: res/res_features.c
===
--- res/res_features.c  (revision 84404)
+++ res/res_features.c  (working copy)
@@ -1670,7 +1670,7 @@
}
if (con) {
char 
returnexten[AST_MAX_EXTENSION];
-   snprintf(returnexten, 
sizeof(returnexten), %s||t, peername);
+   snprintf(returnexten, 
sizeof(returnexten), %s||tk, peername);
ast_add_extension2(con, 1, 
peername, 1, NULL, NULL, Dial, strdup(returnexten), ast_free, registrar);
}
set_c_e_p(chan, parking_con_dial, 
peername, 1);
@@ -1927,6 +1927,7 @@
memset(config, 0, sizeof(struct ast_bridge_config));
ast_set_flag((config.features_callee), AST_FEATURE_REDIRECT);
ast_set_flag((config.features_caller), AST_FEATURE_REDIRECT);
+   ast_set_flag((config.features_caller), AST_FEATURE_PARKCALL);
res = ast_bridge_call(chan, peer, config);
 
pbx_builtin_setvar_helper(chan, PARKEDCHANNEL, peer-name);

___
-- 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] feature keys no longer work after a call has been parked

2009-06-16 Thread martin f krafft
also sprach Doug Lytle supp...@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 [sip0...@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.bo...@madduck.net


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)
___
-- 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] feature keys no longer work after a call has been parked

2009-06-16 Thread Jeff Peeler
On Tue, Jun 16, 2009 at 2:23 AM, martin f krafftmadd...@madduck.net wrote:
 Hey folks,

 I can park a call with #70 after enabling that feature in
 features.conf. However, once I retrieve the call from the parking
 lot, #70 cannot be used to park it again. Worse yet, none of the
 keys defined in the featuremap work anymore, include blindxfer or
 automon.

 Any ideas what may be the problem?


Have you set the parkedcallreparking, parkedcalltransfers, and other
associated options?

--
Jeff Peeler
Digium, Inc. | Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com  www.asterisk.org

___
-- 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