R: [asterisk-users] Siemens Hipath <-> asterisk, pri problem
Giordano Grandis
g.grandis at invidea.it
Mon Oct 2 02:07:43 MST 2006
Try to set overlapdial=yes in your zapata, so thta when u access to line u should have somethinghs of this
-- Starting simple switch on 'Zap/5-1'
-- Accepting overlap voice call from '405' to '<unspecified>' on channel 0/2, span 2
at this point u can ear a continuos tone and input your dnid number (you will accept overlap call from exten 100)
Ciao
________________________________
Da: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] Per conto di bivio
Inviato: lunedì 2 ottobre 2006 10.58
A: Asterisk Users Mailing List - Non-Commercial Discussion
Oggetto: Re: [asterisk-users] Siemens Hipath <-> asterisk, pri problem
2006/10/2, Marco Mouta <marco.mouta at gmail.com>:
please post your from-zaptel context in extensions.conf
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"
now i'm tryng to understand how to andle the from-zaptel context, here it is
[from-zaptel]
exten => _X.,1,Set(DID=${EXTEN})
exten => _X.,n,Goto(s,1)
exten => s,1,NoOp(Entering from-zaptel with DID == ${DID})
; If ($did == "") { $did = "s"; }
exten => s,n,Set(DID=${IF($["${DID}"= ""]?s:${DID})})
exten => s,n,NoOp(DID is now ${DID})
exten => s,n,GotoIf($["${CHANNEL:0:3}"="Zap"]?zapok:notzap)
exten => s,n(notzap),Goto(ext-did,${DID},1)
; If there's no ext-did,s,1, that means there's not a no did/no cid route. Hangup.
exten => s,n,Macro(hangup)
exten => s,n(zapok),NoOp(Is a Zaptel Channel)
exten => s,n,Set(CHAN=${CHANNEL:4})
exten => s,n,Set(CHAN=${CUT(CHAN,-,1)})
exten => s,n,Macro(from-zaptel-${CHAN},${DID},1)
; If nothing there, then treat it as a DID
exten => s,n,NoOp(Returned from Macro from-zaptel-${CHAN})
exten => s,n,Goto(ext-did,${DID},1)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061002/d9a50030/attachment-0001.htm
More information about the asterisk-users
mailing list