|
neomatic
|
 |
« on: October 11, 2007, 01:49:55 AM » |
|
ผมใช้งาน DIDx โดยให้ Forward เบอร์ผ่าน SIP มาที่ Trixbox ผมอ่ะครับ สัญญาณเสียงมาดีทีเดียว แต่ใช้ DTMF ไม่ได้อ่ะครับ พอมีทางแก้ไหมเอ่ยย
อันนี้เป็น /etc/asterisk/sip.conf ผมครับ
; Note: If your SIP devices are behind a NAT and your Asterisk ; server isn't, try adding "nat=1" to each peer definition to ; solve translation problems.
[general] #include sip_general_additional.conf
binport = 5060 ; Port to bind to (SIP is 5060) bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine) srvlookup=yes dtmfmode=auto
relaxdtmf=no
disallow=all allow=ulaw allow=alaw allow=gsm
maxexpirey=30 defaultexpirey=180 canreinvite=yes nat=0 UserAgent=Asterisk echocancel=yes echocancelwhenbridge=yes
; If you need to answer unauthenticated calls, you should change this ; next line to 'from-trunk', rather than 'from-sip-external'. ; You'll know this is happening if when you call in you get a message ; saying "The number you have dialed is not in service. Please check the ; number and try again." context = from-sip-external ; Send unknown SIP callers to this context callerid = Unknown tos=0x68
; Reported as required for Asterisk 1.4 notifyringing=yes notifyhold=yes limitonpeers=yes
; enable and force the sip jitterbuffer. If these settings are desired ; they should be set in the sip_general_custom.conf file as this file ; will get overwritten during reloads and upgrades. ; ; jbenable=yes ; jbforce=yes
; #, in this configuration file, is NOT A COMMENT. This is exactly ; how it should be. #include sip_general_custom.conf #include sip_nat.conf #include sip_registrations_custom.conf #include sip_registrations.conf #include sip_custom.conf
|