keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about A400/800/1200 Analog Interface Card

One problem with tdm400p and ip phones

10 years 4 months ago #9282 by asterisco13
Good morning
I have configured a pbx home for testing,with asterisk and openvox
tdm400p.
I have 2 fxs ports,on one port i have asterisk server,on
other one analogic phone,on my lan i have 2 ip phone grandstream
gpx 1400.
If i answer from ip phone to a external call,analogic phone stop ringing(ok)
but if i answer from analogic phones,ip phone still ringing!
Those are my configuration file
dahdi_channels.conf
; Autogenerated by /usr/sbin/dahdi_genconf on Fri Dec 13 14:03:55 2013
; If you edit this file and execute /usr/sbin/dahdi_genconf again,
; your manual changes will be LOST.
; Dahdi Channels Configurations (chan_dahdi.conf)
;
; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
; to be #include-d by /etc/chan_dahdi.conf that will include the global settings
;

; Span 1: WCTDM/4 "Wildcard TDM400P REV E/F Board 5" (MASTER) 
;;; line="1 WCTDM/4/0 FXSKS  (EC: OSLEC - INACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 1
callerid=
group=
context=default

;;; line="2 WCTDM/4/1 FXOKS  (EC: OSLEC - INACTIVE)"
signalling=fxo_ks
callerid="Channel 2" <4002>
mailbox=4002
group=5
context=mycontext
channel => 2
callerid=
mailbox=
group=
context=default
chan_dahdi.conf
[trunkgroups]

[channels]
context=from-pstn
language=it
signalling=fxs_ks
rxwink=300              ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
faxdetect=incoming
echotraining=800
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1

;Uncomment these lines if you have problems with the disconection of your analog lines
busydetect=yes
busycount=3


immediate=no

#include /etc/asterisk/dahdi-channels.conf
sip.conf

extension.conf
[mycontext]

exten => 200,1,Dial(dahdi/1/outgoing_number) // dial 200 to dialout from dahdi channel 1
exten => 200,1,Set(LANGUAGE()=it)
exten => 200,2,Hangup

exten => 1001,1,Dial(SIP/1001,10,t,m)
;exten => 1001,2,Voicemail(1001@mycontext)
exten => 1001,3,Hangup

exten => 1002,1,Dial(SIP/1002,10,t,r,m)
;exten => 1002,2,Voicemail(1002@mycontext)
exten => 1002,3,Hangup

exten => 1003,1,Dial(SIP/1003,10,t,r,m)
;exten => 1003,2,Voicemail(1003@mycontext)
exten => 1003,3,Hangup

exten => 7500,1,VoicemailMain(@mycontext)

exten => 600,1,Answer()
exten => 600,2,Playback(demo-echotest) ; Let them know what
exten => 600,3,Echo()                  ; Do the echo test
exten => 600,4,Playback(demo-echodone) ; Let them know it 
exten => 600,5,Hangup()

[from-pstn]
exten => s,1,Answer()
exten => s,2,Dial(SIP/1002&SIP/1001&dahdi/2,150,r,t,) 
;exten => s,3,Voicemail(1002@mycontext)
;amd
exten => s,4,Hangup()

Someone can help me?
Thanks
10 years 4 months ago #9303 by hua
Hi,

Did th issue still exists, Please give me SSH to check , upper.hua is my skype account .

upper
9 years 5 months ago #10040 by asterisco13
i still have this problem,maybe i've misconfig something here's my conf files


/etc/asterisk/chan_dahdi.conf
[trunkgroups]

[channels]
context=entrata
language=it
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
faxdetect=incoming
echotraining=800
rxgain=0.0
txgain=0.0
callgroup=2
pickupgroup=2
immediate=no

;Uncomment these lines if you have problems with the disconection of your analog lines
busydetect=yes
busycount=6

#include /etc/asterisk/dahdi-channels.conf

extension.conf
[interni]
include => diamondcardterm
include => entrata

exten => 200,1,Dial(dahdi/4/outgoing_number) // dial 200 to dialout from dahdi channel 4
exten => 200,1,Set(LANGUAGE()=it)
exten => 200,2,Hangup

exten => 1001,1,Dial(SIP/1001,20,t,m)
;exten => 1001,2,Voicemail(1001@interni)
exten => 1001,3,Hangup

exten => 1002,1,Dial(SIP/1002,20,t,m)
;exten => 1002,2,Voicemail(1002@interni)
exten => 1002,3,Hangup

exten => 1003,1,Dial(SIP/1003,20,t,m)
;exten => 1003,2,Voicemail(1003@interni)
exten => 1003,3,Hangup

exten => 1004,1,Dial(SIP/1004,20,t,m)
;exten => 1004,2,Voicemail(1004@interni)
exten => 1004,3,Hangup

exten => 7500,1,VoicemailMain(@interni)

exten => 600,1,Answer()
exten => 600,2,Playback(demo-echotest) ; Let them know what
exten => 600,3,Echo() ; Do the echo test
exten => 600,4,Playback(demo-echodone) ; Let them know it
exten => 600,5,Hangup()


[entrata]
exten => s,1,Answer()
exten => s,2,GotoIf(${BLACKLIST()}?blacklisted)
exten => s,3,Dial(SIP/1003&SIP/1002&SIP/1001&dahdi/1,150,t,m)
;exten => s,3,Voicemail(1002@interni)
exten => s,4,Hangup()
9 years 5 months ago #10041 by dariohu
i will help you . for more details, please add my skype: dario.hu2.
Time to create page: 0.046 seconds
Powered by Kunena Forum