Hello Gordon, <br clear="all"><pre>On Thu, 19 Jun 2008, Jan Prunk wrote:<br><br>><i> You might want to try:<br></i>><i><br></i>><i> exten => _**.,1,Pickup(${EXTEN:2})<br></i>><i> exten => _**.,n,Hangup()<br>
</i><br>><i><br></i>><i> Ok I have tried adding these 2 lines, and the error which I get when calling<br></i>><i> 01 5863165, which then rings extension 65, and I try to accept the call on<br></i>><i> extension 70 by a BLF button. It gives me error code.<br>
</i>><i><br></i>><i> -- Accepting overlap voice call from '015852977' to '5863165' on channel<br></i>><i> 0/1, span 3<br></i>><i> -- Starting simple switch on 'Zap/7-1'<br></i>><i> -- Executing [<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">5863165 at buster</a>:1] Dial("Zap/7-1", "SIP/65|17|rtk") in new<br>
</i>><i> stack<br></i>><i> Extension Changed 65[BLF] new state Ringing for Notify User 70<br></i>><i> -- Called 65<br></i>><i> -- SIP/65-081fb370 is ringing<br></i>><i> -- Executing [**<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">65 at buster</a>:1] PickUp("SIP/70-b5f18268", "65") in new<br>
</i>><i> stack<br></i>><i> [2008-06-19 15:13:33] WARNING[7287]: channel.c:4347 ast_get_group: Ignoring<br></i>><i> invalid group 65 (maximum group is 63)<br></i>><i> -- No channel found 0.<br></i>><i> == Spawn extension (buster, **65, 1) exited non-zero on 'SIP/70-b5f18268'<br>
</i>><i> -- Channel 0/1, span 3 got hangup request, cause 16<br></i>><i> Extension Changed 65[BLF] new state Idle for Notify User 70<br></i>><i> == Spawn extension (buster, 5863165, 1) exited non-zero on 'Zap/7-1'<br>
</i>><i> -- Hungup 'Zap/7-1'<br></i><br>Er, I don't get quite the same output as you - I'm on 1.2 though. A test <br>call I've just done - extension 109 called extension 100, and extension <br>101 (a grandstream phone) picked it up by pushing the BLF key <br>
corresponding to extension 100:<br><br><br><br> -- Executing Dial("SIP/109-0820a178", "IAX2/100&SIP/100||WwTton") in new stack<br> -- Called 100<br> -- SIP/100-081fe780 is ringing<br> Extension Changed 100 new state Ringing for Notify User 101<br>
-- Executing Pickup("SIP/101-081edf38", "100") in new stack<br> -- Executing Hangup("SIP/101-081edf38", "") in new stack<br> == Spawn extension (internal, **100, 2) exited non-zero on 'SIP/101-081edf38'<br>
-- SIP/101-081edf38 answered SIP/109-0820a178<br> Extension Changed 100 new state Idle for Notify User 101<br> == Spawn extension (macro-dialInternal, s, 53) exited non-zero on 'SIP/109-0820a178' in macro 'dialInternal'<br>
<br>So your pickup is picking up a group - seems odd to me, but maybe the <br>behaviour changed after 1.2 ?<br><br>One other thing - do you have<br><br> exten => 65,1,Dial(SIP/65)<br><br>Yes I do have this:<br>exten => 65,1,Dial(SIP/65,30,rtk)<br>
exten => 65,n,Hangup()<br>exten => 70,1,Dial(SIP/70,30,rtk)<br>exten => 70,n,Hangup()<br><br><br>As pickup works on the extension not the channel... (ie. what do you dial <br>on a phone to make the SIP/65 ring? What does the DDI point to?)<br>
<br>It goes like this:<br><br>exten => 5863165,1,Dial(SIP/65,17,rtk)<br>exten => 5863165,n,Dial(SIP/64,120,rtk)<br>exten => 5863165,n,Hangup()<br><br>Regards,<br>Jan<br>-- <br></pre>Jan Prunk <janprunk AT SPAMFREE gmail DOT com><br>
Website: <a href="http://www.prunk.si">http://www.prunk.si</a> PGP key: 00E80E86<br>Fingerprint: 77C5156E29A4EB6C1C4A5EBA414A29F500E80E86<br>