i am having problem configuring Asterisk to Dial to pstn
i have installed bristuff for my hfc supported card and configured Zaptel and
zapata.conf and Extension.conf and sip.conf according
sip clients can talk to each other but i cant make to pstn
BRI card configured in TE mode . 
please comment whats wrong in it 
################
here is zaptel.conf :
##################
loadzone=nz
defaultzone=nz
span=1,1,3,ccs,ami
bchan=1-2
dchan=3
here is zapata.conf
switchtype = euroisdn
signalling = bri_net_ptmp
pridialplan=local
echocancel=yes
immediate=yes
group = 1
context=pstn-call
channel => 1-2
##############
extenions.conf
##############
[general]
   static=yes
   writeprotect=yes
[globals]
PHONE1=SIP/2203
PHONE2=SIP/2204
 ; When we want to make an outgoing call, what line(s) can we use?
OUTGOING => Zap/1&Zap/2
[pstn-call]
exten => _9XXXXXXX,1,Dial(Zap/1/${EXTEN:1})
exten => _9XXXXXXX,2,Congestion
;
[intern]
include => pstn-call
exten => 1000,1,Goto(default,s,1)
exten => 2203,1,Dial(${PHONE1},30,t)
exten => 2203,2,Playback(invalid)
exten => 2203,3,Hangup
                                                                                
exten => 2204,1,Dial(${PHONE2},30,Ttm)
exten => 2204,2,Playback(invalid)
exten => 2204,3,Hangup
###############
sip.conf #######
##############
[general]
;disallow=gsm
;allow=ulaw
port = 5060                     ; Port to bind to
bindaddr = 0.0.0.0              ; Address to bind to
context = intern                ; Default for incoming calls
callerid=No CallID
                                                                                
[2203]
type=friend
username=2203
secret=*****
host=dynamic
mailbox=2203
context=intern
canreinvite=yes
dtmfmode=rfc2833
                                                                                
                                                                                
[2204]
type=friend
username=2204
secret=*******
mailbox=2203
host=dynamic
context=intern
canreinvite=yes
dtmfmode=rfc2833
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20041220/cc91345d/attachment.htm
Muhammad ----- Original Message ----- From: Muhammad Talha To: asterisk-users@lists.digium.com Sent: Monday, December 20, 2004 7:29 AM Subject: [Asterisk-Users] Zaphfc/BRI Configuration help i am having problem configuring Asterisk to Dial to pstn i have installed bristuff for my hfc supported card and configured Zaptel and zapata.conf and Extension.conf and sip.conf according sip clients can talk to each other but i cant make to pstn BRI card configured in TE mode . please comment whats wrong in it ################ here is zaptel.conf : ################## loadzone=nz defaultzone=nz span=1,1,3,ccs,ami bchan=1-2 dchan=3 here is zapata.conf switchtype = euroisdn signalling = bri_net_ptmp pridialplan=local echocancel=yes immediate=yes group = 1 I think that you have the signalling wrong. My TE connection is set to signalling = bri_cpe_ptmp I also had to try several settings for pridialplan before I could make both local and national calls. Cheers Ian -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041220/9e1b06da/attachment.htm
Muhammad Talha wrote:> loadzone=nz > defaultzone=nzAre you really in New Zealand (nz)? -- Cheers, Matt Riddell _______________________________________________ http://www.sineapps.com/news.php (Daily Asterisk News - html) http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
Thanks lan 
i have chnaged
signalling = bri_cpe_ptmp 
also try changing pridialplan 
but with no luck . ztcfg -vv shows 2 channels are ok but i get no debugg output
related to Zap channel
i think problem may be in zaptel.conf 
any ideas 
    ---- Original Message ----- 
    From: Muhammad Talha 
    To: asterisk-users@lists.digium.com 
    Sent: Monday, December 20, 2004 7:29 AM
    Subject: [Asterisk-Users] Zaphfc/BRI Configuration help 
    i am having problem configuring Asterisk to Dial to pstn
    i have installed bristuff for my hfc supported card and configured Zaptel
and zapata.conf and Extension.conf and sip.conf according
    sip clients can talk to each other but i cant make to pstn
    BRI card configured in TE mode . 
    please comment whats wrong in it 
    ################
    here is zaptel.conf :
    ##################
    loadzone=nz
    defaultzone=nz
    span=1,1,3,ccs,ami
    bchan=1-2
    dchan=3
    here is zapata.conf
    switchtype = euroisdn
    signalling = bri_net_ptmp
    pridialplan=local
    echocancel=yes
    immediate=yes
    group = 1
    I think that you have the signalling wrong.
    My TE connection is set to
    signalling = bri_cpe_ptmp
    I also had to try several settings for pridialplan before I could make both
local and national calls.
    Cheers
    Ian
------------------------------------------------------------------------------
  _______________________________________________
  Asterisk-Users mailing list
  Asterisk-Users@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
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20041220/c6665449/attachment.htm
Muhammed>----- Original Message ----- >From: "Muhammad Talha" <talha@worldcall.net.pk> >To: "Asterisk Users Mailing List - Non-Commercial Discussion" ><asterisk-users@lists.digium.com> >Sent: Monday, December 20, 2004 10:03 AM >Subject: Re: [Asterisk-Users] Zaphfc/BRI Configuration help>Thanks lan>i have chnaged >signalling = bri_cpe_ptmp>also try changing pridialplan>but with no luck . ztcfg -vv shows 2 channels are ok but i get no debugg >output related to Zap channel>i think problem may be in zaptel.conf>any ideasI have only just got the TE side working myself and I am still trying to get NT working. - I have two cards with the first one being TE and the second (when it works) NT My zaptel.conf is:- # hfc-s pci a span definition # most of the values should be bogus because we are not really zaptel loadzone=nl defaultzone=nl span=1,1,3,ccs,ami bchan=1-2 dchan=3 span=2,1,3,ccs,ami bchan=4-5 dchan=6 and my zapata.conf is... ; ; Zapata telephony interface ; ; Configuration file [channels] ; ; Default language ; language=en ; ; Default context ; ; switchtype = euroisdn ; p2mp TE mode signalling = bri_cpe_ptmp ; p2p TE mode ;signalling = bri_cpe ; p2mp NT mode ;signalling = bri_net_ptmp ; p2p NT mode ;signalling = bri_net pridialplan=unknown prilocaldialplan=local ; trust user provided callerid (clip no screening)? pritrustusercid = yes echocancel=yes immediate=no group = 1 context=incoming channel => 1-2 signalling = bri_net_ptmp pridialplan=national group=2 contect=incoming channel => 4-5 When I run ztcfg I see the following in /var/log/messages Dec 18 07:27:17 intechdial kernel: Zapata Telephony Interface Registered on major 196 Dec 18 07:27:17 intechdial kernel: zaphfc: no version for "zt_receive" found: kernel tainted. Dec 18 07:27:17 intechdial kernel: ACPI: PCI interrupt 0000:02:05.0[A] -> GSI 5 (level, low) -> IRQ 5 Dec 18 07:27:17 intechdial kernel: zaphfc: CCD/Billion/Asuscom 2BD0 configured at mem 0xa168400 fifo 0x4fe8000(0x2fe8000) IRQ 5 HZ 1000 Dec 18 07:27:17 intechdial kernel: zaphfc: Card 0 configured for TE mode Dec 18 07:27:17 intechdial kernel: ACPI: PCI interrupt 0000:02:07.0[A] -> GSI 10 (level, low) -> IRQ 10 Dec 18 07:27:17 intechdial kernel: zaphfc: CCD/Billion/Asuscom 2BD0 configured at mem 0xa188800 fifo 0x4878000(0x2878000) IRQ 10 HZ 1000 Dec 18 07:27:17 intechdial kernel: zaphfc: Card 1 configured for NT mode Dec 18 07:27:17 intechdial kernel: zaphfc: 2 hfc-pci card(s) in this box. Dec 18 07:32:26 intechdial kernel: Registered tone zone 3 (Netherlands) Dec 18 07:32:31 intechdial kernel: zaphfc: empty HDLC frame received. Is that any help? :-) Ian
Thanks for lan for your reply can you share your extention.conf setting .
this is my extention.conf lines
[globals]
OUTGOING  => Zap/1
exten => _9XXXXXXXXXXXX,1(${OUTGOING}/${EXTEN:1})
i am trying  to dial pstn through firefly  using  9-55212323 ( Suppose this
my Pstn number )  i get these error :
 SIP Status: 484 Address Incomplete> 19.973650 -> 192.168192.68 SIP/SDP Request: INVITE
> sip:99042554524@192.168192.68, with session description
> 19.974283 192.168192.68 -> 192.168192.33 SIP Status: 407 Proxy
Authentication> Required
> 19.983174 192.168192.33 -> 192.168192.68 SIP Request: ACK
> sip:99042554524@192.168192.68
> 19.984367 192.168192.33 -> 192.168192.68 SIP/SDP Request: INVITE
> sip:99042554524@192.168192.68, with session description
> 19.984765 192.168192.68 -> 192.168192.33 SIP Status: 484 Address
Incomplete> 19.988290 192.168192.33 -> 192.168192.68 SIP Request: ACK
> sip:99042554524@192.168192.68
> I have only just got the TE side working myself and I am still trying to
get> NT working. - I have two cards with the first one being TE and the second
> (when it works) NT
>
> My zaptel.conf is:-
>
> # hfc-s pci a span definition
> # most of the values should be bogus because we are not really zaptel
> loadzone=nl
> defaultzone=nl
>
> span=1,1,3,ccs,ami
> bchan=1-2
> dchan=3
>
> span=2,1,3,ccs,ami
> bchan=4-5
> dchan=6
>
> and my zapata.conf is...
> ;
> ; Zapata telephony interface
> ;
> ; Configuration file
>
> [channels]
> ;
> ; Default language
> ;
> language=en
> ;
> ; Default context
> ;
> ;
> switchtype = euroisdn
> ; p2mp TE mode
> signalling = bri_cpe_ptmp
>
> ; p2p TE mode
> ;signalling = bri_cpe
> ; p2mp NT mode
> ;signalling = bri_net_ptmp
> ; p2p NT mode
> ;signalling = bri_net
>
> pridialplan=unknown
> prilocaldialplan=local
> ; trust user provided callerid (clip no screening)?
> pritrustusercid = yes
>
> echocancel=yes
> immediate=no
> group = 1
> context=incoming
> channel => 1-2
> signalling = bri_net_ptmp
> pridialplan=national
> group=2
> contect=incoming
> channel => 4-5