[asterisk-users] Unable to pickup an extension
Jonas Kellens
jonas.kellens at telenet.be
Thu Jun 17 11:00:50 CDT 2010
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 ??
Dialplan :
[incoming]
exten => 1234567,1,NoOp()
exten => 1234567,n,GoSub(sub-settings,start,1)
exten => 1234567,n,Dial(SIP/IPphone-1)
exten => 3456789,1,NoOp()
exten => 3456789,n,GoSub(sub-settings,start,1)
exten => 3456789,n,Dial(SIP/IPphone-2)
[sub-settings]
exten => start,1,NoOp()
exten => start,n,Set(_PICKUPMARK=whatever)
exten => start,n,Return()
[example-pickup]
exten => **XX,1,NoOp()
exten => **XX,n,Pickup(whatever at PICKUPMARK)
So I first call 1234567 (I see IPphone-1 ringing with BLF-settings) and
then 5 seconds later I call 3456789 (I see IPphone-2 ringing with
BLF-settings).
I want to pickup IPphone-1, but I always have the conversation to IPphone-2.
Does anyone see a workaround ??
Jonas.
>
> On 06/16/2010 09:26 PM, Philipp von Klitzing wrote:
>> Set("SIP/testcorp4-> 00000005","_PICKUPMARK=SIP/testcorp5&SIP/testcorp6")
>> Pickup("SIP/testcorp1-00000009", "testcorp6 at PICKUPMARK")
>>
>> Can you see the difference? That's what you need to change so that it
>> matches. "SIP/testcorp5&SIP/testcorp6" is not the same as "testcorp6".
>>
>> Philipp
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100617/13333db8/attachment.htm
More information about the asterisk-users
mailing list