<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1561" name=GENERATOR></HEAD>
<BODY>
<DIV class=OutlookMessageHeader lang=it dir=ltr align=left><SPAN
class=661480209-02102006><FONT face=Arial color=#0000ff size=2>Try to set
overlapdial=yes in your zapata, so thta when u access to line u should
have somethinghs of this</FONT></SPAN></DIV>
<DIV class=OutlookMessageHeader lang=it dir=ltr align=left><SPAN
class=661480209-02102006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV class=OutlookMessageHeader lang=it dir=ltr align=left><SPAN
class=661480209-02102006><FONT face=Arial color=#0000ff
size=2> -- Starting simple switch on
'Zap/5-1'<BR> -- Accepting overlap voice call from '405' to
'<unspecified>' on channel 0/2, span 2<BR></FONT></SPAN></DIV>
<DIV class=OutlookMessageHeader lang=it dir=ltr align=left><SPAN
class=661480209-02102006><FONT face=Arial color=#0000ff size=2>at this point u
can ear a continuos tone and input your dnid number (you will accept overlap
call from exten 100)</FONT></SPAN></DIV>
<DIV class=OutlookMessageHeader lang=it dir=ltr align=left><SPAN
class=661480209-02102006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV class=OutlookMessageHeader lang=it dir=ltr align=left><SPAN
class=661480209-02102006><FONT face=Arial color=#0000ff
size=2>Ciao</FONT> </SPAN></DIV>
<DIV class=OutlookMessageHeader lang=it dir=ltr align=left>
<HR tabIndex=-1>
</DIV>
<DIV class=OutlookMessageHeader lang=it dir=ltr align=left><FONT face=Tahoma
size=2><B>Da:</B> asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <B>Per conto di
</B>bivio<BR><B>Inviato:</B> luned́ 2 ottobre 2006 10.58<BR><B>A:</B> Asterisk
Users Mailing List - Non-Commercial Discussion<BR><B>Oggetto:</B> Re:
[asterisk-users] Siemens Hipath <-> asterisk, pri
problem<BR></FONT><BR></DIV>
<DIV></DIV>2006/10/2, Marco Mouta <<A
href="mailto:marco.mouta@gmail.com">marco.mouta@gmail.com</A>>:
<DIV><SPAN class=gmail_quote></SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">please
post your from-zaptel context in
extensions.conf<BR></BLOCKQUOTE></DIV><BR>Thanks to Giordano (immediate=yes) i
see the first improvement now i hear the asterisk voice who says "the number you
digited is not in use, please check" <BR>now i'm tryng to understand how to
andle the from-zaptel context, here it is<BR><BR>[from-zaptel]<BR>exten =>
_X.,1,Set(DID=${EXTEN})<BR>exten => _X.,n,Goto(s,1)<BR>exten =>
s,1,NoOp(Entering from-zaptel with DID == ${DID}) <BR>; If ($did == "") { $did =
"s"; }<BR>exten => s,n,Set(DID=${IF($["${DID}"= ""]?s:${DID})})<BR>exten
=> s,n,NoOp(DID is now ${DID})<BR>exten =>
s,n,GotoIf($["${CHANNEL:0:3}"="Zap"]?zapok:notzap) <BR>exten =>
s,n(notzap),Goto(ext-did,${DID},1)<BR>; If there's no ext-did,s,1, that means
there's not a no did/no cid route. Hangup.<BR>exten =>
s,n,Macro(hangup)<BR>exten => s,n(zapok),NoOp(Is a Zaptel Channel) <BR>exten
=> s,n,Set(CHAN=${CHANNEL:4})<BR>exten =>
s,n,Set(CHAN=${CUT(CHAN,-,1)})<BR>exten =>
s,n,Macro(from-zaptel-${CHAN},${DID},1)<BR>; If nothing there, then treat it as
a DID<BR>exten => s,n,NoOp(Returned from Macro from-zaptel-${CHAN}) <BR>exten
=> s,n,Goto(ext-did,${DID},1)<BR><BR><BR><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN></BODY></HTML>