The only solution I see to have a PICKUPMARK-variable created on an
incoming channel, and have the same PICKUPMARK on another created
channel (the one that does the pickup) is to work with a database like
MySQL.
I see no other way to separate multiple incoming channels (with their
own
If I have one incoming call that rings IPphone-1 and another incoming
call that rings IPphone-2, then the Set(_PICKUPMARK=whatever) is
overwritten.
When I do a pickup I'm always picking up the conversation that rang
IPphone-2.
Is there a way to pick up the first conversation to IPphone-1 ??
11:01 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Unable to pickup an extension
If I have one incoming call that rings IPphone-1 and another incoming call
that rings IPphone-2, then the Set(_PICKUPMARK=whatever) is overwritten.
When I do a pickup
Do this, for example:
exten = 1234567,1,NoOp()
exten = 1234567,n,Set(_PICKUPMARK=${EXTEN:5})
exten = 1234567,n,Dial(SIP/IPphone-1)
exten = 3456789,1,NoOp()
exten = 3456789,n,Set(_PICKUPMARK=${EXTEN:5})
exten = 3456789,n,Dial(SIP/IPphone-2)
[example-pickup]
exten = **XX,1,NoOp()
exten
exten = start,n,Set(_PICKUPMARK=${CALLERID(num)})
In your example this means that the calling number (for example
3291234567 in Belgium or 49215790657 in Germany) will be set as PICKUPMARK.
If I want to pick up Phone-1 which rings on an incoming call, how can I
know on which incoming number
exten = **XX
-- This is a local extension, a certain phone which is monitored with
BLF-lights. So if I press the button I want the phone call that made
this phone ring, not another phone.
exten = 1234567,n,Set(_PICKUPMARK=${EXTEN:5})
-- If I set the PICKUPMARK-variable the same as the DID
this
to pickup X calls.
_
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jonas Kellens
Sent: Thursday, June 17, 2010 12:39 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Unable to pickup
Hi!
exten = **XX
-- This is a local extension, a certain phone which is monitored with
BLF-lights. So if I press the button I want the phone call that made this
phone ring, not another phone.
This is NOT a local extension: It is a special local PICKUP extension
(you even named it
Jonas Kellens wrote:
Rob,
it's not a macro but a sub. In my previous post I posted more info, I
am not going to post the whole output every time.
I read on the wiki that you set the PICKUPMARK equal to the extension
for that channel, but in my case I'm not using extensions but multiple
Hello.
This is what I have :
suppose ${SIPaccounts}=SIP/testcorp5SIP/testcorp6
exten = group,1,Set(_PICKUPMARK=${SIPaccounts})
exten = group,n,Dial(${SIPaccounts})
This is what happens when I try to pickup an extension :
[Jun 16 20:39:33] -- Executing [...@sub-routing:13]
Hi!
suppose ${SIPaccounts}=SIP/testcorp5SIP/testcorp6
exten = group,1,Set(_PICKUPMARK=${SIPaccounts})
If I was doing this I'd rather do
Set(_PICKUPMARK=group)
or
Set(_PICKUPMARK=${EXTEN})
but that is probably just me. But let's look at two of your lines:
Set(SIP/testcorp4-
Yes, so I've noticed that I can name _PICKUPMARK anything I want... OK
so the name does not mather and has nothing to do with the different
SIPaccount that it holds...
Another problem is that when another call come in, the _PICKUPMARK
variable is overwritten and I can no longer pick up the
I have read some info on PICKUPMARK and that I need to set this when a
call comes in.
But what happens when there are multiple calls coming in ??
How will Pickup(1...@pickupmark) know which channel to pick up ??
In stead of PICKUPMARK (which is a global variable) I would rather like
to use a
What happens in my extensions.conf is that an incoming call makes a
group of SIPaccounts ring :
[sub-routing]
snip
exten = s,n(group),NoOp()
exten = s,n,Macro(GetGroupDetails,${ganaarID})
exten = s,n,GoToIf($[${sequencenr}==1]?callit)
exten = s,n,Answer()
exten =
Hi!
But what happens when there are multiple calls coming in ??
How will Pickup(1...@pickupmark) know which channel to pick up ??
In stead of PICKUPMARK (which is a global variable) I would rather like to
use a more context-sensitive approach if possible.
Do not make PICKUPMARK a global
Philipp,
thank you for your willingness to help me.
In a previous mail I gave a part of my dialplan: an incoming call rings
a group of extensions/SIPaccounts :
[sub-routing]
snip
exten = s,n(group),NoOp()
exten = s,n,Macro(GetGroupDetails,${ganaarID})
exten =
Hi!
How to do this ??
To proceed with your answer on PICKUPMARK, where do I put this ???
Look at the example for Asterisk 1.4 on this page:
http://www.voip-info.org/wiki/view/Asterisk+cmd+Pickup
Philipp
--
_
-- Bandwidth
Philipp,
I have read this wiki, but I still don't know how to implement it in my
example...
The wiki says :
exten = 1234,1,Set(__PICKUPMARK=1234)
So how do I do this with my dialplan :
exten = s,n,Dial(${SIPaccounts},${timeout})
or translated :
exten = s,n,Dial(SIP/testcorp1SIP/testcorp2)
Jonas,
Did you really read the whole wiki page ? I've not used PICKUPMARK
before myself, but if you want to pay someone consultant rates to do the
work for you, I'm sure there's plenty willing to take your money off
you. In the meantime, why dont you help yourself and really read the
whole
Rob,
it's not a macro but a sub. In my previous post I posted more info, I am
not going to post the whole output every time.
I read on the wiki that you set the PICKUPMARK equal to the extension
for that channel, but in my case I'm not using extensions but multiple
SIPaccounts in my dial
Hello list,
I try to pick up a ringing extension but nothing works.
To be clear, I'm trying to pick up extension 10.
[Jun 14 17:37:34] -- Executing [*...@from-testcorp:4]
Pickup(SIP/testcorp3-0041, 1...@123456) in new stack
[Jun 14 17:37:34] NOTICE[16555]: app_directed_pickup.c:159
...@lists.digium.com] On Behalf Of Jonas Kellens
Sent: Monday, June 14, 2010 10:46 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Unable to pickup an extension, trying everything
Hello list,
I try to pick up a ringing extension but nothing works.
To be clear, I'm
Using asterisk 1.4.30
sip.conf is realtime sip_buddies in mysql database. What settings here
affect the Pickup() ?? If you think about pickup/call-groups, I have
none defined.
extensions.conf :
exten = _**XX,1,NoOp()
exten = _**XX,n,Macro(GetKlantIDfromCALLnum,${CALLERID(num)})
exten =
Quickly:
Do some reading on PICKUPMARK: You need to set this on the channel that
you want to pick up, not the channel that is doing the pickup.
Philipp
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com
24 matches
Mail list logo