<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1479" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>Dear Claudio,</DIV>
<DIV> </DIV>
<DIV>I'm testing the welltech gateways (3804 firmware 4fxosip.102) and I am trying to make the Asterisk answer the calls from 3508 directly (with 2nddial off) it means throw hotline service.</DIV>
<DIV>Do you know how to make the Asterisk answer a call from :pstn-to-3508 and 3508-hotline-Asterisk ?</DIV>
<DIV>Please let me know if the question is not clear enough !</DIV>
<DIV>My configurations are:</DIV>
<DIV> </DIV>
<DIV><STRONG>extension.conf:</STRONG></DIV>
<DIV> </DIV>
<DIV>[general]<BR>static=yes<BR>writeprotect=no</DIV>
<DIV> </DIV>
<DIV>[default]<BR>include => oi</DIV>
<DIV> </DIV>
<DIV>exten => s,2,Answer<BR>exten => s,3,Wait(1)<BR>exten => s,4,Background(vm-toenternumber) ; Qual a extenssão desejada?<BR>exten => 1,1,Goto(oi)<BR>exten => 2,1,Goto(oi)<BR>exten => 3,1,Goto(oi)<BR>exten => 6,1,Goto(oi)<BR>exten => 11,1,playback(beep)<BR>exten => 0,1,Goto(default,s,2)<BR>exten => t,1,Goto(timeout,s,1)<BR>exten => i,1,Goto,s|2</DIV>
<DIV> </DIV>
<DIV>[oi]<BR>exten => s,1,Wait(1)<BR>exten => s,2,Answer<BR>exten => s,3,Wait(1)<BR>exten => s,4,playback(pbx-transfer)<BR>exten => s,5,Goto(default,s,2)</DIV>
<DIV> </DIV>
<DIV>[bogon-calls]<BR>exten => _.,1,Congestion<BR></DIV>
<DIV> </DIV>
<DIV><STRONG>sip.conf</STRONG></DIV>
<DIV> </DIV>
<DIV>[general]<BR>port=5060<BR>bindaddr=0.0.0.0<BR>context=from-sip<BR>;context=bogon-calls<BR>;context=default<BR>maxexpirey=3600<BR>defaultexpirey=120<BR>disallow=all<BR>allow=ulaw<BR>allow=alaw<BR></DIV>
<DIV>[300]<BR>port=5060<BR>type=friend<BR>context=default<BR>username=9 ; Username to use in INVITE until peer registers<BR>secret=fisa9 <BR>host=10.150.3.100 <BR>disallow=all<BR>allow=ulaw<BR>allow=alaw<BR>;allow=g729<BR></DIV>
<DIV> </DIV>
<DIV><STRONG>3804:</STRONG></DIV>
<DIV><STRONG>usr/config$ sip -print</STRONG></DIV>
<DIV> </DIV>
<DIV> Run Mode : PROXY MODE<BR> Proxy server address : 10.150.3.4<BR> Domain : null<BR> Prefix string : 1234<BR> Line1 : 100<BR> Line2 : 101<BR> Line3 : 102<BR> Line4 : 103<BR> SIP port : 5060<BR> RTP port : 16384<BR> Expire : 3600</DIV>
<DIV> </DIV>
<DIV><STRONG>usr/config$ sysconf -print</STRONG></DIV>
<DIV> </DIV>
<DIV>System information<BR> Inter-Digit time out : 1<BR> End of Dial : No end of dial<BR> Port status:<BR> port1: Enabled<BR> port2: Enabled<BR> port3: Enabled<BR> port4: Enabled<BR> DTMF selection : In-band<BR> RFC2833 Payload Type : 96<BR> FAX Payload Type : 101<BR> 2nddial: 3<BR> Billing: OFF<BR> Dial Rule<BR> ip side:<BR> filter: [] drop: [] insert: [].<BR> pstn side:<BR> filter: [] drop: [] insert: [].<BR> PIN prompt: 0<BR> set1: 1111<BR> set2: 2222<BR> set3: 3333<BR> set4: 4444<BR> Ring Detect Method: 1<BR> Ring before Answer: 0</DIV>
<DIV> </DIV>
<DIV><STRONG>usr/config$ bureau -print</STRONG></DIV>
<DIV> </DIV>
<DIV>Bureau line setting relate information<BR> PSTN number : 4198 2000 2001 2002<BR> Hold tone generation : On<BR> Hot line / Line to Line table<BR>=====================================================<BR>Port Destination Address Remote TEL/CHANNEL<BR>-----------------------------------------------------<BR>1 10.150.3.4 300<BR>2 300 300<BR>3 300 300<BR>4 300 300<BR>==========================================================<BR></DIV></BODY></HTML>