<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Jonas Kellens wrote:
<blockquote cite="mid:4C17EAD5.3040808@telenet.be" type="cite">
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
  <font face="Helvetica, Arial, sans-serif">Rob,<br>
  <br>
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.<br>
  <br>
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 statement.<br>
  <br>
  </font></blockquote>
Since you are ringing multiple extensions, have you tried looking at
the Callgroup and pickupgroup options in sip.conf ?<br>
<a class="moz-txt-link-freetext" href="http://www.voip-info.org/wiki/view/Asterisk+callgroups+and+pickupgroups">http://www.voip-info.org/wiki/view/Asterisk+callgroups+and+pickupgroups</a><br>
Its not directed pickup, but might be a better fit to what you are
trying to achieve.<br>
<br>
<blockquote cite="mid:4C17EAD5.3040808@telenet.be" type="cite"><font
 face="Helvetica, Arial, sans-serif"><br>
Do you have another wiki ? Because even with the search-option I can
not find the word "inbound", as you refer to [macro-inbound].<br>
I'm refering to <a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://www.voip-info.org/wiki/view/Asterisk+cmd+Pickup">http://www.voip-info.org/wiki/view/Asterisk+cmd+Pickup</a><br>
  <br>
  </font></blockquote>
<font face="Helvetica, Arial, sans-serif">Scroll approx. one 3rd of the
way down the page to where there is a large bold bit of text saying:<br>
</font>
<h2>Example using PICKUPMARK for Asterisk 1.4
</h2>
<span style="font-family: monospace;">[macro-inbound]
</span><br>
<span style="font-family: monospace;">&nbsp;exten&nbsp;=&gt;&nbsp;s,1,Set(_PICKUPMARK=${MACRO_EXTEN})
</span><br>
<span style="font-family: monospace;">&nbsp;exten&nbsp;=&gt;&nbsp;s,n,Dial(SIP/SomeSipPhone,20,rwt)<br>
<br>
Something similar may work in your case perhaps ?<br>
<br>
Rob<br>
</span>
</body>
</html>