[Asterisk-Users] # no longer working

Michiel van Baak michiel at vanbaak.info
Tue Jun 14 05:26:32 MST 2005


Hi list,

For months everything worked super here in our setup.
This week I implemented some new idea in our webbased
calendar system. I thought it would be nice to have an
option that tells asterisk you are not available for calls
during an appointment.
For this to work I could no longer use the ringgroup setup:
Dial(SIP/10&SIP/11&SIP/12,40,tr)

So I thought, why not use the Local channel and a smaal
macro for each device so we can check a dbfield and decide
if we can call the device or not.
But now I cannot transfer calls with the # key anymore. We
use this a lot to put ppl in a parkedcall slot.

Here is my setup (incoming number obfuscated):
(phones 11 and 12 match 10, only different
defaultip,username,secret

Any idea what I miss ?


sip.conf:
[general]
context=default
port=5060
bindaddr=0.0.0.0
srvlookup=yes
musicclass=default
[10]
host=dynamic
defaultip=192.168.1.91
type=friend
username=10
secret=secret
nat=yes
qualify=yes
context=terrazur
callgroup=2
pickupgroup=2

extensions.conf
[general]
static=yes
writeprotect=no

[macro-stdexten]
include => parkedcalls
exten => s,1,DBget(temp=CFIM/${ARG1})
exten => s,102,Dial(${ARG1},,Ttr)

[remote]
include => parkedcalls
;Incoming lines.
exten => 31XXXXXXXXX,1,SetCallerID(${CALLERID})
exten => 31XXXXXXXXX,2,Agi(covide.agi)
exten => 31XXXXXXXXX,3,Goto,ringgroup-terrazur|s|1

[ringgroup-terrazur]
include => parkedcalls

exten => s,1,Wait,1
exten => s,2,DigitTimeout,5
exten => s,3,ResponseTimeout,10
exten => s,4,Dial(Local/10 at terrazur,5,tTr)
exten => s,5,Dial(Local/10 at terrazur&Local/11 at terrazur,10,tTr)
exten => s,6,Dial(Local/10 at terrazur&Local/11 at terrazur&Local/12 at terrazur,40,Ttr)

[default]

[terrazur]
include => parkedcalls
include => remote
include => speakup-out

exten => 10,1,Macro(stdexten,SIP/10)
exten => 11,1,Macro(stdexten,SIP/11)
exten => 12,1,Macro(stdexten,SIP/12)

exten => 701,1,ParkedCall(701)
exten => 702,1,ParkedCall(702)
exten => 703,1,ParkedCall(703)

features.conf:
[general]
parkext => 700
parkpos => 701-720
context => parkedcalls
parkingtime =>  999
pickupexten = *8




More information about the asterisk-users mailing list