[Asterisk-Users] zaphfc bri with overlap sending/receiving

Brancaleoni Matteo mbrancaleoni at espia.it
Sat Feb 28 16:31:46 MST 2004


how is your outgoing dialplan?
tried into specifing something like

exten => _XXX.,1,Dial(blah/${EXTEN}) 

note the point : this rule will match
at least 4 digits, but also 5,6,7...N

matteo

Il sab, 2004-02-28 alle 22:34, Jan Baumann ha scritto:
> Hi all,
> 
> I am currently testing Klaus-Peter Junghanns' zaphfc bri driver 
> 0.0.2rc12 with two HFC ISDN cards in PtP setup - one connected to telco, 
> one to the legacy pbx - and try to dial from a pbx extension out to the 
> pstn through astersik.
> 
> This works perfectly as long as I dial on hook and pick up after dialing 
> the complete number.
> Using the isdn phone (and any analog pbx extension which cannot prepare 
> dialing on hook) the way people are used to (first pick up, then dial) 
> results in dialing only the first few digits out to the Zap channel 
> connected to pstn and call setup to fail.
> 
> Obviously this is a problem with overlap sending/receiving in the zap 
> channels. Unfortunately we have a variable length numbering plan in 
> germany (local numbers can be anything between 4 and 9 digits long), so 
> putting more X in the regex doesn't seem to be an option.
> 
> Ideas how to get this work are greatly appreciated and very welcome. :)
> 
> Thank you and regards,
> 
> Jan Baumann
> 
> 
> 
> My current config:
> 
> extensions.conf:
> 
> ; outbound dialing local calls
> ; try Enum, then PSTN
> [local-pstn]
> exten => _0[1-9]XX.,1,EnumLookup(49821${EXTEN:1})
> exten => _0[1-9]XX.,2,SetCallerID(49821xxxxxx)
> exten => _0[1-9]XX.,3,Dial(${ENUM},30)
> exten => _0[1-9]XX.,4,Goto(102) ; Failure on SIP, fallback to PSTN
> exten => _0[1-9]XX.,52,Congestion
> exten => _0[1-9]XX.,102,SetCallerID(xxxxxx)
> exten => _0[1-9]XX.,103,Dial(Zap/g1/${EXTEN:1},,tr)
> exten => _0[1-9]XX.,104,Congestion
> 
> 
> zapata.conf:
> 
> switchtype = euroisdn
> 
> ; to/from ISDN PtP
> signalling = bri_cpe
> pridialplan=unknown
> echocancel=no
> immediate=no
> group = 1
> context=pstn-in
> channel => 1-2
> 
> ; to/from the PBX
> signalling = bri_net
> pridialplan=unknown
> echocancel=no
> immediate=no
> group = 2
> context=intern
> channel => 4-5
> 
> 
> zaptel.conf:
> 
> # PSTN DTAG
> span=1,1,3,ccs,ami
> bchan=1-2
> dchan=3
> 
> # PtP to PBX
> span=2,0,3,ccs,ami
> bchan=4-5
> dchan=6
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
Brancaleoni Matteo <mbrancaleoni at espia.it>
Espia - Emmegi Srl




More information about the asterisk-users mailing list