Hello,
I have two x100p clone cards installed and I want to use them for outbound calls only, NO inbound. The problem is that everytime the line gets a call it’s picked up by the card and transfered to Asterisk.
Is there a way to disable inbound calls on ZAP channels and leave them for outbound calls only?
Do you know how many x100p clone cards you can install on the same box?
Thanks.
Best Regards,
Mario.
in zapata.conf set context= to something that doesn’t exist or has no ‘s’ extension. This will make the cards not answer.
You can put at least a few in a box. They all need their own IRQs. They are cheap as hell but you may find them to be more trouble than they’re worth.
Hello IronHelix,
I tought this would work but now the x100p cards pickup and nothing happens, they still pickup the call even if I change the context to something that doesn’t exist.
Any other ideas?
Thanks!
they won’t “pickup” anything unless the context they start in contains an Answer() or an application that connects the channel. post what you have setup here, we’ll see if we can help.
[zapata-auto.conf]
; Autogenerated by /usr/local/sbin/genzaptelconf – do not hand edit
; Zaptel Channels Configurations (zapata.conf)
;
; This is not intended to be a complete zapata.conf. Rather, it is intended
; to be #include-d by /etc/zapata.conf that will include the global settings
;
callerid=asreceived
; Span 1: WCFXO/0 “Wildcard X101P Board 1” RED
signalling=fxs_ks
; Note: this is a trunk. Create a ZAP trunk in AMP for Channel 1
context=no-contestar
group=0
channel => 1
; Span 2: WCFXO/1 "Wildcard X101P Board 2"
signalling=fxs_ks
; Note: this is a trunk. Create a ZAP trunk in AMP for Channel 2
context=no contestar
group=0
channel => 2
; Span 3: ZTDUMMY/1 “ZTDUMMY/1 1”
[zapata.conf]
;
; Zapata telephony interface
;
; Configuration file
[trunkgroups]
[channels]
language=es
context=no-contestar
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes
usecallerid=yes
hidecallerid=yes
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=800
rxgain=4
txgain=2
group=0
callgroup=1
pickupgroup=1
immediate=yes
;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no
;Include genzaptelconf configs
#include zapata-auto.conf
group=1
;Include AMP configs
#include zapata_additional.conf
[extensions.conf]
[no-contestar]
Nothing writen below the context name.
Thanks a lot!
Mario.
can you post what “zap show channels” returns ?
i wonder if Asterisk doesn’t like the empty context, perhaps a exten => s,1,NoOp()
exten => s,2,Wait(300)
would help ???
Chan Extension Context Language MusicOnHold
1 no-contestar es
2 no-contestar es
pseudo no-contestar es
Ok, working now…
Thanks a lot!!! I really appreciate it…