Set up for outgoing calls - zap

Hi,
Have got trixbox working fairly well !! Have a tdm400 card installed and am receiving calls through it no probs. Have SIP set up for outgoing calls which again works well.

However, I am now trying to get a zap outgoing channel working … no joy … I haev tried using the default zap channel that TB sets up, but it doesn’t even try to connect, or pick up the line. The only changes I have made are in trunks and outgoing calls. Do I need to manually edit the ZAP…conf files ?

On the phones (GXP2000) I get a message saying wrong number or remote party not on line.

I think (??) the relevant part of the log file is posted below. It doesn’t seem to make an awful lot of sense in terms of what I normailly see when trying to make a call on the sip channel.

Thanks in advance,

Pete
Jul 11 12:53:56 DEBUG[2319] manager.c: Manager received command 'Command’
Jul 11 12:54:05 DEBUG[3547] acl.c: ##### Testing 192.168.1.37 with 192.168.1.0
Jul 11 12:54:05 DEBUG[3547] chan_sip.c: Allocating new SIP dialog for [email protected] - INVITE (With RTP)
Jul 11 12:54:05 DEBUG[3547] chan_sip.c: * SIP extension value: 5 for call [email protected]
Jul 11 12:54:05 DEBUG[3547] chan_sip.c: Setting NAT on RTP to 0
Jul 11 12:54:05 DEBUG[3547] chan_sip.c: Stopping retransmission on ‘[email protected]’ of Response 44424: Match Found
Jul 11 12:54:05 DEBUG[3547] chan_sip.c: Setting NAT on RTP to 0
Jul 11 12:54:05 DEBUG[3547] chan_sip.c: Checking SIP call limits for device 135
Jul 11 12:54:05 DEBUG[3547] chan_sip.c: Stopping retransmission on ‘[email protected]’ of Response 44425: Match Found

Hi,

Just trying to -refresh- this topic. Am still stuck not being able to dial out using zap - and NEED to !!!

Any help help would be much appreciated - or suggestions as where to get help from.

Pete

Go to CLI asterisk -rvvv

make a call watch the log

or type in and press enter tail -200 /var/log/asterisk/full
to see the last 200 lines (change the 200 as needed)

You did setup the outbound route, right ?
Setup the dail pattern and trunk sequence right?

do
zap show status

any red alarms??

Hi,

Thanks for replying … These are the freepbx settings…

Outbound route set up:

Route name: BT
Password,pin set and emergency dialing all blank
Dial Patterns 8|.
Trunk Sequence Zap1

Trunk settings:

outbound caller id, max channels blank
dial rules 8|.
Zap identifier(trunk name) 1

Eventually I’d like to change things so that emergency service calls and operator calls are used on the zap trunk and everything else goes via SIP. However, theoretically at the mo all calls prefixed with 8 should go on the zap line (British Telecom- hence BT for name).

By “do Zap show status” do you mean the lights on the card itself - if so, then they are all OK - as I say I can get incoming calls no probs.

“any red alarms” sorry not sure what you mean here.

Thanks again 4 your help,

Pete[/img]

go to the CLI and type asterisk -rvvvv

and then run
Zap show status

will show the status of the ZAp channel

Zap show channels will tell you some stuff also

post it all here

Hi,

Thanks … here goes …

[root@asterisk1 /]# asterisk -rvvvv
== Parsing ‘/etc/asterisk/asterisk.conf’: Found
== Parsing ‘/etc/asterisk/extconfig.conf’: Found
Asterisk 1.2.9.1 svn rev 34876, Copyright © 1999 - 2006 Digium, Inc. and others.
Created by Mark Spencer [email protected]
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘show warranty’ for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type ‘show license’ for details.

Connected to Asterisk 1.2.9.1 svn rev 34876 currently running on asterisk1 (pid = 2938)
Verbosity is at least 4
Core debug is at least 1

asterisk1*CLI> zap show status
Description Alarms IRQ bpviol CRC4
Wildcard TDM400P REV I Board 1 OK 0 0 0
ZTDUMMY/1 1 UNCONFIGUR 0 0 0

asterisk1*CLI> zap show channels
Chan Extension Context Language MusicOnHold
pseudo from-zaptel en
1 from-zaptel en
2 from-zaptel en
3 from-zaptel en
4 from-zaptel en

asterisk1*CLI>

Fromatting hasn’t come out but I hope you can follow it. Thanks again,

Pete

hi im having the same problem with this. howd you solved this?

Hi! Good day!

Im having the same problem with this. How’d you solved this problem?