Koopmann, Jan-Peter
2006-Jul-28 04:41 UTC
[asterisk-users] cmd DIAL - Who picked up the call?
Hi, if I do Dial(SIP/peer1/number&Zap/g1/Number) can I somehow figure out who exactly picked up the call? In the cdrs dstchannel I can see the channel but not the extension dialed. E.G. a Dial(Zap/10/43) will result in a CDR Zap/10-1 which does not help me unfortunatly. Any ideas? Kind regards, JP
What about DIAL ( |M(macro-name)) and set the userfield in cdr during execution, ... http://www.voip-info.org/wiki/view/Asterisk+cmd+Dial> Hi, > > if I do Dial(SIP/peer1/number&Zap/g1/Number) can I somehow figure out who exactly picked up the call? In the cdrs dstchannel I can see the channel but not the extension dialed. E.G. a Dial(Zap/10/43) will result in a CDR Zap/10-1 which does not help me unfortunatly. > > Any ideas? > > Kind regards, > JP > _______________________________________________ > --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 > > >
Koopmann, Jan-Peter
2006-Jul-30 23:53 UTC
[asterisk-users] cmd DIAL - Who picked up the call?
On Friday, July 28, 2006 3:12 PM Kai Ober wrote:> What about DIAL ( |M(macro-name)) > and set the userfield in cdr during execution, ...Set the userfield to what? That is the entire problem. ${CHANNEL} will give me something like Zap/10-1. ${BRIDGEPEER} is empty. I would love to see the called MSN in the port-field something like Zap/10-43 if MSN 43 was called... :-) That would help enourmously. Kind regards, JP
Koopmann, Jan-Peter
2006-Aug-01 10:51 UTC
[asterisk-users] cmd DIAL - Who picked up the call?
On Tuesday, August 01, 2006 9:36 AM Kai Ober wrote:> when you park a call (asterisk feature defautl keys: #700 ...) at > your isdn phone and you "forgot" to catch the call on another phone, > the phone from where you parked the call, should ring after 45 > seconds (default) > does this work for you? (which asterisk version dou you have?)1.2.9.1 bristuffed and no it does not seem to work. It seems to mixup src and dst channel: == Parked Zap/4-1 on 701. Will timeout back to extension [from_internalisdn] s, 1 in 300 seconds The call came from another extension and another context. Therefore the callback will fail (and _does_ fail)... Will you file a bug report and give me the bug number?
Eric "ManxPower" Wieling
2006-Aug-01 21:48 UTC
[asterisk-users] cmd DIAL - Who picked up the call?
Koopmann, Jan-Peter wrote:> On Friday, July 28, 2006 3:12 PM Kai Ober wrote: > >> What about DIAL ( |M(macro-name)) >> and set the userfield in cdr during execution, ... > > Set the userfield to what? That is the entire problem. ${CHANNEL} will give me something like Zap/10-1. ${BRIDGEPEER} is empty. I would love to see the called MSN in the port-field something like Zap/10-43 if MSN 43 was called... :-) That would help enourmously.Zap/10-43 would indicate that this is the 43rd call (call waiting) on channel 10. Obviously this would have to be removed to do it the way you want. -- Now accepting new clients in Birmingham, Atlanta, Huntsville, Chattanooga, and Montgomery.
Koopmann, Jan-Peter
2006-Aug-02 10:11 UTC
[asterisk-users] cmd DIAL - Who picked up the call?
On Wednesday, August 02, 2006 6:49 AM Eric "ManxPower" Wieling wrote:> Zap/10-43 would indicate that this is the 43rd call (call waiting) on > channel 10. Obviously this would have to be removed to do it the way > you want.Obviously. :-) Or we find another solution for the problem/challange... Ideas?
Vadim Berezniker
2006-Aug-02 10:38 UTC
[asterisk-users] cmd DIAL - Who picked up the call?
DIALEDPEERNUMBER contains the exact peer spec for the peer that picked up. You can use that. ________________________________ From: asterisk-users-bounces@lists.digium.com on behalf of Koopmann, Jan-Peter Sent: Wed 8/2/2006 1:11 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [asterisk-users] cmd DIAL - Who picked up the call? On Wednesday, August 02, 2006 6:49 AM Eric "ManxPower" Wieling wrote:> Zap/10-43 would indicate that this is the 43rd call (call waiting) on > channel 10. Obviously this would have to be removed to do it the way > you want.Obviously. :-) Or we find another solution for the problem/challange... Ideas? _______________________________________________ --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 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 4228 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20060802/3b69ddb7/attachment.bin
Koopmann, Jan-Peter
2006-Aug-02 11:05 UTC
[asterisk-users] cmd DIAL - Who picked up the call?
On Wednesday, August 02, 2006 7:39 PM Vadim Berezniker wrote:> DIALEDPEERNUMBER contains the exact peer spec for the peer that > picked up. You can use that.Consider yourself my hero of the day! That looks VERY promising. It does not show the technology so Dial(SIP/phone_200&Zap/g2/13,,M(getchannel)) will return either phone_200 or g2/13 but I will find a solution for that as well I suppose!!! Any idea why BRIDGEPEER is empty here all the time? Kind regards, JP
Vadim Berezniker
2006-Aug-02 11:34 UTC
[asterisk-users] cmd DIAL - Who picked up the call?
No idea, but DIALEDPEERNAME should contain the same value as BRIDGEPEER. Try that. The only difference is that BRIDGEPEER is set slightly later (when the call is bridged). ________________________________ From: asterisk-users-bounces@lists.digium.com on behalf of Koopmann, Jan-Peter Sent: Wed 8/2/2006 2:05 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [asterisk-users] cmd DIAL - Who picked up the call? On Wednesday, August 02, 2006 7:39 PM Vadim Berezniker wrote:> DIALEDPEERNUMBER contains the exact peer spec for the peer that > picked up. You can use that.Consider yourself my hero of the day! That looks VERY promising. It does not show the technology so Dial(SIP/phone_200&Zap/g2/13,,M(getchannel)) will return either phone_200 or g2/13 but I will find a solution for that as well I suppose!!! Any idea why BRIDGEPEER is empty here all the time? Kind regards, JP _______________________________________________ --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 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 4484 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20060802/6ea4631b/attachment.bin
Koopmann, Jan-Peter
2006-Aug-02 23:21 UTC
[asterisk-users] cmd DIAL - Who picked up the call?
On Wednesday, August 02, 2006 8:35 PM Vadim Berezniker wrote:> No idea, but DIALEDPEERNAME should contain the same value as > BRIDGEPEER. Try that.Already did. Both are empty.
No, i cannot open a bug on this, cause i dont have a PRI that uses zap. so if there were any questions, you had to answer them. But there is a similar bug, using mISDN. http://bugs.digium.com/view.php?id=7435 and a solution for ME, dont know if it will help you: http://fuhrmannek.de/projects/asterisk/download/res_features-misdn-bugfix.diff good luck KAI Koopmann, Jan-Peter schrieb:> On Tuesday, August 01, 2006 9:36 AM Kai Ober wrote: > > >> when you park a call (asterisk feature defautl keys: #700 ...) at >> your isdn phone and you "forgot" to catch the call on another phone, >> the phone from where you parked the call, should ring after 45 >> seconds (default) >> does this work for you? (which asterisk version dou you have?) >> > > > 1.2.9.1 bristuffed and no it does not seem to work. It seems to mixup src and dst channel: > > == Parked Zap/4-1 on 701. Will timeout back to extension [from_internalisdn] s, 1 in 300 seconds > > The call came from another extension and another context. Therefore the callback will fail (and _does_ fail)... Will you file a bug report and give me the bug number? > > > > _______________________________________________ > --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 > > >