[asterisk-users] Unable to pickup an extension
Jonas Kellens
jonas.kellens at telenet.be
Wed Jun 16 13:46:59 CDT 2010
Hello.
This is what I have :
suppose ${SIPaccounts}=SIP/testcorp5&SIP/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 [s at sub-routing:13]
Set("SIP/testcorp4-00000005",
"*_PICKUPMARK=SIP/testcorp5&SIP/testcorp6*") in new stack
[Jun 16 20:39:38] -- Executing [s at sub-routing:14]
Dial("SIP/testcorp4-00000005", "SIP/testcorp5&SIP/testcorp6|30") in new
stack
[Jun 16 20:39:38] -- Called testcorp5
[Jun 16 20:39:38] -- Called testcorp6
[Jun 16 20:39:38] -- SIP/testcorp6-00000008 is ringing
[Jun 16 20:39:38] -- SIP/testcorp5-00000007 is ringing
...
[Jun 16 20:39:40] -- Executing [**60 at from-TESTCORP:8]
Pickup("SIP/testcorp1-00000009", "*testcorp6 at PICKUPMARK*") in new stack
[Jun 16 20:39:40] NOTICE[2936]: app_directed_pickup.c:159 pickup_exec:
*No target channel* found for testcorp6.
[Jun 16 20:39:40] -- Executing [**60 at from-TESTCORP:9]
NoOp("SIP/testcorp1-00000009", "") in new stack
[Jun 16 20:39:40] -- Executing [**60 at from-TESTCORP:10]
Pickup("SIP/testcorp1-00000009", "*SIP/testcorp6 at PICKUPMARK*") in new stack
[Jun 16 20:39:40] NOTICE[2936]: app_directed_pickup.c:159 pickup_exec:
*No target channel* found for SIP/testcorp6.
So again my question: how to use Pickup() when I have multiple
SIPaccounts in the Dial()-statement ??
The question remains.
Jonas
On 06/16/2010 12:25 PM, Rob Coward wrote:
> Scroll approx. one 3rd of the way down the page to where there is a
> large bold bit of text saying:
>
>
> Example using PICKUPMARK for Asterisk 1.4
>
>
> [macro-inbound]
> exten => s,1,Set(_PICKUPMARK=${MACRO_EXTEN})
> exten => s,n,Dial(SIP/SomeSipPhone,20,rwt)
>
> Something similar may work in your case perhaps ?
>
> Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100616/4adcb5cd/attachment.htm
More information about the asterisk-users
mailing list