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(whate...@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", "testco...@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
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to