[asterisk-users] Unable to pickup an extension

Philipp von Klitzing klitzing at pool.informatik.rwth-aachen.de
Wed Jun 16 14:26:21 CDT 2010


Hi!

> suppose ${SIPaccounts}=SIP/testcorp5&SIP/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-> 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




More information about the asterisk-users mailing list