[Asterisk-Users] Asterisk 2.0 Where to download

2006-04-02 Thread Nguyen Trung Tin
Hello All  I read in www.sineapps.com have Asterisk 2.0 rewritten C# and run on windows, any body could be mail or send to me URL to download.ThanksTin Trung NguyenTechnical TeamMobile: 084-91.365.4857website: www.daivietcontrol.net___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Re: Asterisk-Users Digest, Vol 15, Issue 28

2005-10-08 Thread Nguyen Trung Tin
Hello All

Anybody had used ooH323 for asterisk
i using ooH323-0.7.2 and asterisk CVS may 2005. OpenH323 1.17.1 and pwlib 1.9.0 and GNUGK 2.0.2
audio is very good, better than SIP and IAX, but i have problem.
how to router call from openh323 to outside PSTN.
my h323.conf setting
; Objective System's H323 Configuration example for tvcti; ooh323c driver configuration;; [general] section defines global parameters;; This is followed by profiles which can be of three types - user/peer/friend; Name of the user profile should match with the h323id of the user device.; For peer/friend profiles, host ip address must be provided as "dynamic" is; not supported as of now.;; Syntax for specifying a H323 device in extensions.conf is; For Registered peers/friends profiles:; H323/name where name is the name of the peer/friend profile.;; For unregistered H.323 phones:; H323/ip[:port] OR if gk is used H323/alias where alias can be any H323; alias;; For dialing into
  another
 tvcti peer at a specific exten; H323/exten/peer OR H323/[EMAIL PROTECTED];; Domain name resolution is not yet supported.; ; When a H.323 user calls into tvcti, his H323ID is matched with the profile; name and context is determined to route the call;; The channel driver will register all global aliases and aliases defined in ; peer profiles with the gatekeeper, if one exists. So, that when someone; outside our pbx (non-user) calls an extension, gatekeeper will route that ; call to our tvcti box, from where it will be routed as per dial plan.
[general];Define the asetrisk server h323 endpoint
;The port tvcti should listen for incoming H323 connections.;Default - 1720;port=1720
;The dotted IP address tvcti should listen on for incoming H323;connections;Default - tries to find out local ip address on it's ownbindaddr=192.168.22.224 
;Whether tvcti should use fast-start and tunneling for H323 connections.;Default - yes;faststart=no;h245tunneling=nofaststart=yesh245tunneling=yes
;H323-ID to be used for tvcti server;Default - tvcti PBX;h323id=ObjSystvcti ;e164=100
h323id=9;e164=100;e164=0,1,2,3,4,5,6,7,8,9,*,#
;CallerID to use for calls;Default - Same as h323idcallerid=tvcti
;Whether this tvcti server will use gatekeeper.;Default - DISABLE;gatekeeper = DISCOVER;gatekeeper = a.b.c.dgatekeeper = 192.168.22.224
;Location for H323 log file;Default - /var/log/tvcti/h323_log;logfile=/var/log/tvcti/h323_log
;Following values apply to all users/peers/friends defined below, unless;overridden within their client definition
;Sets default context all clients will be placed in.;Default - defaultcontext=from-h323
;Sets rtptimeout for all clients, unless overridden;Default - 60 secondsrtptimeout=60 ; Terminate call if 60 seconds of no RTP activity ; when we're not on hold
;Type of Service;Default - none (lowdelay, thoughput, reliability, mincost, none)tos=lowdelay
;amaflags = defaultamaflags = billing
;The account code used by default for all clients.accountcode=h3230101
;The codecs to be used for all clients.Only ulaw and gsm supported as of now.;Default - ulaw; ONLY ulaw, gsm, g729 and g7231 supported as of nowdisallow=all ;Note order of disallow/allow is important.allow=gsmallow=ulawallow=alaw
; dtmf mode to be used by default for all clients. Only rfc2833 supported as; of now.;Default - rfc 2833;dtmfmode=rfc2833dtmfmode=inband
; User/peer/friend definitions:; User config options Peer config options; -- ---; context ; disallow disallow; allow allow;
 accountcode accountcode; amaflags amaflags; dtmfmode dtmfmode; rtptimeout
 ip; port; h323id; email;
 url; e164; rtptimeout
;
[152]type=peercontext=from-h323;ip=a.b.c.d ; UPDATE with appropriate ip address;port=1720 ; UPDATE with appropriate port;e164=0,1,2,3,4,5,6,7,8,9,*,#e164=9911allow=ulawallow=alaw allow=gsm
[myfriend11]type=friendcontext=from-h323;ip=10.0.0.82 ; UPDATE with appropriate ip address;port=1820 ; UPDATE with appropriate portdisallow=allallow=ulawe164=9rtptimeout=60dtmfmode=rfc2833
[myfriend1]type=friendcontext=from-h323;ip=10.0.0.82 ; UPDATE with appropriate ip address;port=1820 ; UPDATE with appropriate portdisallow=allallow=ulaw;e164=;h323id=tvcti_tvgk1h323id=0,1,2,3,4,5,6,7,8,9rtptimeout=60;dtmfmode=rfc2833dtmfmode=rfc2833
[abc1]type=friendcontext=from-h323disallow=allallow=ulawallow=alawh323id=9911
rtptimeout=60dtmfmode=rfc2833



how to setup prefix for gateway GNUGK??

Please help me___
--Bandwidth and Colocation sponsored by Easynews.com --

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

[Asterisk-Users] Re: Asterisk-Users Digest, Vol 14, Issue 70

2005-09-12 Thread Nguyen Trung Tin
Hello All
any body have used SS7 run with asterisk. could you like tell me how to download driver of SS7 and how to use it.

Thanks___
--Bandwidth and Colocation sponsored by Easynews.com --

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

[Asterisk-Users] Re: Asterisk-Users Digest, Vol 14, Issue 22

2005-09-05 Thread Nguyen Trung Tin
Hi All

I have problem with LIBMFCR2 for once Exchange

I using Sangoma card, the firstly. my ssystem run successful with MFCR2, connected to E10 (Acatel Exchange), after that, i move connection connect to EWSD (Siemens), my system don't work. error protocol R2.
my system:

 Asterisk CVS 1.1.X
LibMFCR2 pre.005 and unicall-pre.005

this's my setting

and my setting wanpipe1.conf
## WANPIPE1 Configuration File### Date: Mon Sep 5 15:37:16 GMT+7 2005## Note: This file was generated automatically# by /usr/sbin/wancfg program.## If you want to edit this file, it is# recommended that you use wancfg program# to do so.## Sangoma Technologies Inc.#
[devices]wanpipe1 = WAN_AFT, Comment
[interfaces]w1g1 = wanpipe1, , TDM_VOICE, Comment
[wanpipe1]CARD_TYPE = AFTS514CPU = ACommPort = PRIAUTO_PCISLOT = YESPCISLOT = 2PCIBUS = 1FE_MEDIA= E1FE_LCODE= HDB3FE_FRAME= NCRC4FE_LINE= 1TE_CLOCK = NORMALTE_REF_CLOCK = 0ACTIVE_CH= ALLTE_HIGHIMPEDANCE= YESFE_TXTRISTATE= NOMTU = 2100UDPPORT = 9000TTL= 255IGNORE_FRONT_END = NOTDMV_SPAN= 1TDMV_DCHAN= 0
[w1g1]ACTIVE_CH= ALLTDMV_ECHO_OFF= NO 

and my setting /etc/zaptel.conf
## Zaptel Configuration File## This file is parsed by the Zaptel Configurator, ztcfg### First come the span definitions, in the format# span=span num,timing,line build out (LBO),framing,coding[,yellow]# # The timing parameter determines the selection of primary, secondary, and# so on sync sources. If this span should be considered a primary sync# source, then give it a value of "1". For a secondary, use "2", and so on.# To not use this as a sync source, just use "0"## The line build-out (or LBO) is an integer, from the following table:# 0: 0 db (CSU) / 0-133 feet (DSX-1)# 1: 133-266 feet (DSX-1)# 2: 266-399 feet (DSX-1)# 3: 399-533 feet (DSX-1)# 4: 533-655 feet (DSX-1)# 5: -7.5db (CSU)# 6: -15db (CSU)# 7: -22.5db (CSU)## The framing is one of "d4" or "esf" for T1 or "cas" or "ccs" for E1## Note: "d4" could be referred
  to as
 "sf" or "superframe" ## The coding is one of "ami" or "b8zs" for T1 or "ami" or "hdb3" for E1## E1's may have the additional keyword "crc4" to enable CRC4 checking## If the keyword "yellow" follows, yellow alarm is transmitted when no# channels are open.##span=1,0,0,esf,b8zs#span=2,1,0,esf,b8zs#span=3,0,0,ccs,hdb3,crc4
#span=1,0,0,cas,hdb3,crc4#span=1,0,0,cas,hdb3,crc4,yellow
#span=1,0,0,cas,hdb3,crc4#span=1,0,0,cas,hdb3,ncrc4
#canthospan=1,2,0,cas,hdb3#span=1,1,0,cas,hdb3#span=1,1,0,ccs,hdb3
#span=1,0,0,ccs,hdb3,yellow
#span=2,0,0,cas,hdb3,crc4#span=3,0,0,cas,hdb3,crc4#
#cas=1-15:1001#cas=17-31:1001

#cas=1-15:0101#cas=17-31:0101
#cas=1-15:#cas=17-31:
#cas=1-15:1101#cas=17-31:1101
cas=1-15:1101cas=17-31:1101
#bchan=1-15#bchan=17-31
dchan=16
#alaw=1-31alaw=1-15alaw=17-31
# Next come the dynamic span definitions, in the form:# dynamic=driver,address,numchans,timing#
#dynamic=w1g1,w1g1/16,31,0
# Where driver is the name of the driver (e.g. eth), address is the# driver specific address (like a MAC for eth), numchans is the number# of channels, and timing is a timing priority, like for a normal span.# use "0" to not use this as a timing source, or prioritize them as# primary, secondard, etc. Note that you MUST have a REAL zaptel device# if you are not using external timing.## dynamic=eth,eth0/00:02:b3:35:43:9c,24,0## Next come the definitions for using the channels. The format is:# device=channel list## Valid devices are:## "em" : Channel(s) are signalled using EM signalling (specific# implementation, such as Immediate, Wink, or Feature Group D# are handled by the u
 serspace
 library).# "fxsls" : Channel(s) are signalled using FXS Loopstart protocol.# "fxsgs" : Channel(s) are signalled using FXS Groundstart protocol.# "fxsks" : Channel(s) are signalled using FXS Koolstart protocol.# "fxols" : Channel(s) are signalled using FXO Loopstart protocol.# "fxogs" : Channel(s) are signalled using FXO Groundstart protocol.# "fxoks" : Channel(s) are signalled using FXO Koolstart protocol.# "sf" : Channel(s) are signalled using in-band single freq tone.#Syntax as follows: # channel# = sf:rxfreq,rxbw,rxflag,txfreq,txlevel,txflag#rxfreq is rx tone freq in hz, rxbw is rx notch (and decode)#bandwith in hz (typically 10.0), rxflag is either 'normal' or#'inverted', txfreq is tx tone freq in hz, txlevel is tx tone
 #level in dbm, txflag is either 'normal' or 'inverted'. Set #rxfreq or txfreq to 0.0 if that tone is not desired.# "unused" : No signalling is performed, each channel in the list remains idle# "clear" : Channel(s) are bundled into a single span. No conversion or# signalling is performed, and raw data is available on the master.# "indclear": Like "clear" except all channels are treated individually and# are not bundled. "bchan" is an alias for this.# "rawhdlc" : The zaptel driver performs HDLC encoding and 

[Asterisk-Users] Sangoma card problem with EWSD Exchange

2005-09-01 Thread Nguyen Trung Tin
Hello All.

I'm using sangoma card A-101. tested successful with E10 (ACATEL) Exchange,connection with E1, CAS, (using unicall-0.0.3pre4).
my systemrun success,incoming call and call out are good.
when iswitch to EWSD (SIEMENS) R-15. my asterisk faill, cannot connect with EWSD.
(E10 and EWSD exchange store in two provinces difference. in Vietnam)
this is my logfile of E10 (successfull)
Aug 17 13:25:38 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 0001 [1/ 1/Idle /Idle ]Aug 17 13:25:38 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 DetectedAug 17 13:25:38 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 Making a new call with CRN 32769Aug 17 13:25:38 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 1101 - [2/ 2/Idle /Idle ]Aug 17 13:25:38 WARNING[21952] chan_unicall.c: Unicall/15 event DetectedAug 17 13:25:39 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 0 on [2/ 2/Seize ack /
 Seize
 ack ]Aug 17 13:25:39 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 1 on - [2/ 2/Seize ack /Seize ack ]Aug 17 13:25:39 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 0 off [2/ 2/Group A /DNIS request ]Aug 17 13:25:39 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 1 off - [2/ 2/Group A /DNIS request ]Aug 17 13:25:39 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 0 on [2/ 2/Group A /DNIS request ]Aug 17 13:25:39 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 1 on
 - [2/ 2/Group A /DNIS request ]Aug 17 13:25:39 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 0 off [2/ 2/Group A /DNIS request ]Aug 17 13:25:39 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 1 off - [2/ 2/Group A /DNIS request ]Aug 17 13:25:39 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 2 on [2/ 2/Group A /DNIS request ]Aug 17 13:25:39 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 1 on - [2/ 2/Group A /DNIS req
 uest
 ]Aug 17 13:25:39 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 2 off [2/ 2/Group A /DNIS request ]Aug 17 13:25:39 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 1 off - [2/ 2/Group A /DNIS request ]Aug 17 13:25:39 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 2 on [2/ 2/Group A /DNIS request ]Aug 17 13:25:39 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 1 on - [2/ 2/Group A /DNIS request ]Aug 17 13:25:39 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 2 off
 [2/ 2/Group A /DNIS request ]Aug 17 13:25:39 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 1 off - [2/ 2/Group A /DNIS request ]Aug 17 13:25:40 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - E on [2/ 2/Group A /DNIS request ]Aug 17 13:25:40 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 5 on - [2/ 2/Group A /DNIS request ]Aug 17 13:25:40 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - E off [2/ 2/Group A /Category req ]Aug 17 13:25:40 WARNING[21
 952]
 chan_unicall.c: MFC/R2 UniCall/15 5 off - [2/ 2/Group A /Category req ]Aug 17 13:25:40 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 1 on [2/ 2/Group A /Category req ]Aug 17 13:25:40 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 5 on - [2/ 2/Group A /Category req ]Aug 17 13:25:40 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 1 off [2/ 2/Group A /ANI request ]Aug 17 13:25:40 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 5 off - [2/ 2/Group
 A /ANI request ]Aug 17 13:25:40 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 7 on [2/ 2/Group A /ANI request ]Aug 17 13:25:40 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 5 on - [2/ 2/Group A /ANI request ]Aug 17 13:25:40 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 7 off [2/ 2/Group A /ANI request ]Aug 17 13:25:40 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 5 off - [2/ 2/Group A /ANI request ]Aug 17 13:25:40 WARNING[21952] chan_unicall.c: MF
 C/R2
 UniCall/15 - 1 on [2/ 2/Group A /ANI request ]Aug 17 13:25:40 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 5 on - [2/ 2/Group A /ANI request ]Aug 17 13:25:40 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 1 off [2/ 2/Group A /ANI request ]Aug 17 13:25:40 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 5 off - [2/ 2/Group A /ANI request ]Aug 17 13:25:41 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 8 on [2/ 2/Group
 A /ANI request ]Aug 17 13:25:41 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 5 on - [2/ 2/Group A /ANI request ]Aug 17 13:25:41 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 8 off [2/ 2/Group A /ANI request ]Aug 17 13:25:41 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 5 off - [2/ 2/Group A /ANI request ]Aug 17 13:25:41 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 1 on [2/ 2/Group A /ANI request ]Aug 17 13:25:41 WARNING[21952] chan_unicall.c: MF
 C/R2
 UniCall/15 5 on - [2/ 2/Group A /ANI request ]Aug 17 13:25:41 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 1 off [2/ 2/Group A /ANI request ]Aug 17 13:25:41 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 5 off - [2/ 2/Group A /ANI request ]Aug 17 13:25:41 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 1 on [2/ 2/Group A /ANI request ]Aug 17 13:25:41 

[Asterisk-Users] Re: Asterisk-Users Digest, Vol 14, Issue 1

2005-09-01 Thread Nguyen Trung Tin
Hello All.

I'm using sangoma card A-101. tested successful with E10 (ACATEL) Exchange, connection with E1, CAS, (using unicall-0.0.3pre4).
my system run success, incoming call and call out are good.
when i switch to EWSD (SIEMENS) R-15 . my asterisk faill, cannot connect with EWSD.
(E10 and EWSD exchange store in two provinces difference. in Vietnam)
this is my logfile of E10 (successfull)
Aug 17 13:25:38 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 0001 [1/ 1/Idle /Idle ]Aug 17 13:25:38 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 DetectedAug 17 13:25:38 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 Making a new call with CRN 32769Aug 17 13:25:38 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 1101 - [2/ 2/Idle /Idle ]Aug 17 13:25:38 WARNING[21952] chan_unicall.c: Unicall/15 event DetectedAug 17 13:25:39 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 0 on [2/ 2/Seize ack /
 Seize
 ack ]Aug 17 13:25:39 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 1 on - [2/ 2/Seize ack /Seize ack ]Aug 17 13:25:39 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 0 off [2/ 2/Group A /DNIS request ]Aug 17 13:25:39 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 1 off - [2/ 2/Group A /DNIS request ]Aug 17 13:25:39 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 0 on [2/ 2/Group A /DNIS request ]Aug 17 13:25:39 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 1 on
 - [2/ 2/Group A /DNIS request ]Aug 17 13:25:39 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 0 off [2/ 2/Group A /DNIS request ]Aug 17 13:25:39 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 1 off - [2/ 2/Group A /DNIS request ]Aug 17 13:25:39 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 2 on [2/ 2/Group A /DNIS request ]Aug 17 13:25:39 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 1 on - [2/ 2/Group A /DNIS req
 uest
 ]Aug 17 13:25:39 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 2 off [2/ 2/Group A /DNIS request ]Aug 17 13:25:39 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 1 off - [2/ 2/Group A /DNIS request ]Aug 17 13:25:39 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 2 on [2/ 2/Group A /DNIS request ]Aug 17 13:25:39 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 1 on - [2/ 2/Group A /DNIS request ]Aug 17 13:25:39 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 2 off
 [2/ 2/Group A /DNIS request ]Aug 17 13:25:39 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 1 off - [2/ 2/Group A /DNIS request ]Aug 17 13:25:40 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - E on [2/ 2/Group A /DNIS request ]Aug 17 13:25:40 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 5 on - [2/ 2/Group A /DNIS request ]Aug 17 13:25:40 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - E off [2/ 2/Group A /Category req ]Aug 17 13:25:40 WARNING[21
 952]
 chan_unicall.c: MFC/R2 UniCall/15 5 off - [2/ 2/Group A /Category req ]Aug 17 13:25:40 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 1 on [2/ 2/Group A /Category req ]Aug 17 13:25:40 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 5 on - [2/ 2/Group A /Category req ]Aug 17 13:25:40 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 1 off [2/ 2/Group A /ANI request ]Aug 17 13:25:40 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 5 off - [2/ 2/Group
 A /ANI request ]Aug 17 13:25:40 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 7 on [2/ 2/Group A /ANI request ]Aug 17 13:25:40 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 5 on - [2/ 2/Group A /ANI request ]Aug 17 13:25:40 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 7 off [2/ 2/Group A /ANI request ]Aug 17 13:25:40 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 5 off - [2/ 2/Group A /ANI request ]Aug 17 13:25:40 WARNING[21952] chan_unicall.c: MF
 C/R2
 UniCall/15 - 1 on [2/ 2/Group A /ANI request ]Aug 17 13:25:40 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 5 on - [2/ 2/Group A /ANI request ]Aug 17 13:25:40 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 1 off [2/ 2/Group A /ANI request ]Aug 17 13:25:40 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 5 off - [2/ 2/Group A /ANI request ]Aug 17 13:25:41 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 8 on [2/ 2/Group
 A /ANI request ]Aug 17 13:25:41 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 5 on - [2/ 2/Group A /ANI request ]Aug 17 13:25:41 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 8 off [2/ 2/Group A /ANI request ]Aug 17 13:25:41 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 5 off - [2/ 2/Group A /ANI request ]Aug 17 13:25:41 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 1 on [2/ 2/Group A /ANI request ]Aug 17 13:25:41 WARNING[21952] chan_unicall.c: MF
 C/R2
 UniCall/15 5 on - [2/ 2/Group A /ANI request ]Aug 17 13:25:41 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 1 off [2/ 2/Group A /ANI request ]Aug 17 13:25:41 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 5 off - [2/ 2/Group A /ANI request ]Aug 17 13:25:41 WARNING[21952] chan_unicall.c: MFC/R2 UniCall/15 - 1 on [2/ 2/Group A /ANI request ]Aug 17 13:25:41 

[Asterisk-Users] Re: Asterisk-Users Digest, Vol 13, Issue 131

2005-08-21 Thread Nguyen Trung Tin
Hello
I have problem with transfer call if using ACD
When i using ACD with agent and queue setting, i cannot monitor call and transfer call. this's my setting
- i have 2 IAX phone (phone number as 201, 202), agent.conf
agent = 1001,4321,member 1agent = 1002,4321,member 2agent = 1003,4321,Tin
then, queues.conf
[MyQueue]music=defaultstrategy=ringalltimeout=30retry=5wrapuptime=0maxlen = 0context=from-internalannounce-frequency = 10announce-holdtime = yesmember = Agent/1001member = Agent/1002member = Agent/1003
in extension_addtional.conf
exten= 2020,1,Answerexten= 2020,2,Ringingexten= 2020,3,Wait(2)exten= 2020,4,Queue(MyQueue)exten= 2020,5,Hangup
my agent 1001 and 1002 has been login (in file extensions.conf)
[ext-agents];Agent Login;exten= 2001,1,AgentCallbackLogin(|[EMAIL PROTECTED])exten= 2001,1,AgentCallbackLogin(|[EMAIL PROTECTED])
;Agent Logoutexten= 2002,1,AgentCallbackLogin(|l)
my dial option as DIAL_OPTIONS = twWrm 
in features.conf
[featuremap]automon=1 
when from telco, i dial to asterisk, then press 2020, agent ringing and agent 1001 accept the call, from agent 1001 i cannot packing call or transfer call or monitor call.
if i don't used agent, IAX phone transfer, packing, monitoring call successfull.

Please help le___
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

[Asterisk-Users] Re: Asterisk-Users Digest, Vol 13, Issue 131

2005-08-21 Thread Nguyen Trung Tin
Hello
how to calculator billing exactly when IAX accept the call, my configure
customer -- telco --- asterisk -- ACD -- IAX
at time, for example: 11:00 i dial to asterisk
11:01 asterisk answer channel and dial to IAX phone (11:02)
ring 20 second (at 11:22).
when IAX answer call (11:22) and talk 10 second (11:32). and hangup (hangup finish 11:33, wait(1))
CDR billing as: 33 seconds, exactly time to talk are: 11:33 - 11:22 = 11 seconds
but CDR write duration are: 33 seconds.
how to adjust to CDR write duration are 11 seconds.

any advice ?
Thanks___
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

[Asterisk-Users] Re: Asterisk-Users Digest, Vol 13, Issue 123

2005-08-18 Thread Nguyen Trung Tin
Hello All

I want to setting my asterisk with features as belows:
- When dial to system, caller hear music and message "welcome to asterisk Open PBX".
- then when extension (IAX, SIP) is available, ringing on channel.
- when channel answer call (offhook), at the time, i want to Host Exchange prepaire billing (CDR of host exchange is running, save call detaild record in database). if channel is not available at time, caller hear music and not billing for caller (not billing customer).
- How to play message when have incoming call, i don't want answer the call
U using sangoma card (www.sangoma.com) and E1/CAS channel for incomming bank channels.

Any advice for me ?
Thanks

___
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

[Asterisk-Users] Re: Asterisk-Users Digest, Vol 13, Issue 86

2005-08-13 Thread Nguyen Trung Tin
Hello All

i need to transfer CDR data from linux to MS SQL Serever (on Windows). writing by Perl. I have download and install UnixODBC, DBI, DBD from CPAN, 
when i tested isql -DSN -UID - PWD, that's successful, but when run by perl, message alert
could not loaded driver database, 
anybody used ODBC for linux, connect to MS SQL Sevre, please help me?
easysoft and openlink have trial license, run with iODBC, run on 30 days, could you like help me don't used iODBC, free tools.

any advice?

Thanks___
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

[Asterisk-Users] Re: Asterisk-Users Digest, Vol 13, Issue 7

2005-08-02 Thread Nguyen Trung Tin
Hello ALL

SS7 for asterisk release http://www.footnotess7.com/. but i not yet account to download.
any body have SS7. could you like send to me.

thanks
___
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

[Asterisk-Users] Re: Asterisk-Users Digest, Vol 12, Issue 143

2005-07-21 Thread Nguyen Trung Tin
Hello ALl
i need context to do:
record to wave file and receive DTMF when recording wave file.
for example:
exten = s,1,Record(test:wav)
exten = s,2,hangup
when recording, press # to hangup and i want to receive others DTMF (while recording), max DTMF to received as 7 and when received enough 7 DTMFs, asterisk will end call, the result save to MySQL.
for currently, asterisk only record wave file and hangup with # key. any DTMF without save.

any advice ?
Thanks___
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

[Asterisk-Users] Re: Asterisk-Users Digest, Vol 12, Issue 65

2005-07-13 Thread Nguyen Trung Tin
Hello All


Any body have NVDialDetect module using for dialing out. (www.newmantelecom.com).
How to solve problem, when dial out, i want to remote call answer, then asterisk play wave file. current, dial out, play wave file when remote call not yet answer.
any advice ?
Thanks
___
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

[Asterisk-Users] Re: Asterisk-Users Digest, Vol 12, Issue 63

2005-07-10 Thread Nguyen Trung Tin
Hello ALL
When i dial out to outside, how to detected remote call offhook.
i append in extensions.conf
[ext-callout];exten = s,1,NVLineDetect(60,d);exten = s,1,NVLineDetect;exten = s,1,NVBackgroundDetect(custom/aa_1);exten = s,1,MachineDetect(7000,2,2200);exten = s,1,NVFaxDetect(10)
exten = s,1,NoOp
exten = s,2,background(custom/aa_2)exten = s,3,Hangup
exten = answer,1,background(custom/aa_11)exten = answer,2,hangup
exten = fax,1,txfax(/testfax.tif|9080718)exten = fax,2,Hangup
;exten = fax,1,background(custom/aa_21);exten = fax,2,hangup
exten = talk,1,background(custom/aa_12)exten = talk,2,hangup
exten = i,1,hangupexten = h,1,hangup
and make a new call file test.call
Channel: Vpb/g1/2442790MaxRetries: 0WaitTime: 20Context: ext-calloutExtension: sPriority: 1
when i copy test.call to /var/spool/asterisk/outgoing. my asterisk dial out. then play exten = s,2,background(custom/aa_2)?
please help me to configure to regconize remote call offhook, then i must be playing wave file.
Thanks

My hardware is using Voicetronix Openswitch 12, disconnect tone is good.
___
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

[Asterisk-Users] Re: Asterisk-Users Digest, Vol 11, Issue 202

2005-06-30 Thread Nguyen Trung Tin
Hello

Any body was tested LIBISUP. and price of LIBISUP packet ?. how much to purchased it from digium.
if posible, tell me where are LIBISUP beta release to test with asterisk and my postoffice of my country (vietnam).
Best regards.___
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

[Asterisk-Users] Re: Asterisk-Users Digest, Vol 11, Issue 183

2005-06-28 Thread Nguyen Trung Tin
Hello All
I'm using TxFAX and rxFax. this's work when my system connected with PABX. then when i connect my card with PSTN, my system don't work. it's don't send and receive any thing fax document.
Thanks
Please help me___
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

[Asterisk-Users] Re: Asterisk-Users Digest, Vol 11, Issue 183

2005-06-28 Thread Nguyen Trung Tin
Hello All
how to install functions allow called record current call by pressed any key to wave file. for examples.
the caller call to asterisk, then press 123 tone to switch to saler person. then two persons conversation, the saler want to save current call. saler may be press any key as *5 or orther key. current context call monitor application.
how to install above function.

Please help me, Thanks
___
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

[Asterisk-Users] Re: Asterisk-Users Digest, Vol 11, Issue 181

2005-06-28 Thread Nguyen Trung Tin
Hello All
How to detect remote called offhook.
i make a context as below
i created call file. copy to /var/spool/asterisk/outgoing.
Channel: vpb/g0/9050718MaxRetries: 1WaitTime: 10Context: ext-calloutExtension: sPriority: 1 
then when i copy to /var/spool/asterisk/outgoing. the asterisk auto call and wait for 10 second, auto playing wave file in context ext-callout, exten s, without remote called not yet offhook.
i want to asterisk don't play, waiting when remote called offhook, the play wave file.

Please help me. Thanks___
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

[Asterisk-Users] Re: Asterisk-Users Digest, Vol 11, Issue 131

2005-06-21 Thread Nguyen Trung Tin
Hi All
I wan to get DTMF while voicemail recording sounds. DTMF received save to contents field of mail attach with wave sounds file.
Please help me___
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

[Asterisk-Users] Re: Asterisk-Users Digest, Vol 11, Issue 136

2005-06-21 Thread Nguyen Trung Tin
Hello All
i have 2 problems, please help me
1. How to implenment record call at called side.
 i want to record the call by called press the DTMF key.
2. how to implement call out functions, for example: i create .call file and copy to /spool/outging, then when asterisk call out, i want that: when called accept the call, caller side send wave file. exactly the time, when called offhook telephone. how to regconize the channel when remote call offhook.
Thanks___
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

[Asterisk-Users] Re: Asterisk-Users Digest, Vol 11, Issue 68

2005-06-18 Thread Nguyen Trung Tin
Hello All
i have big problem for unicall.
my system work successful with sangoma card, E1 and CAS signalling (vietnam).
when at the some time. i have trouble then my system is half (CPU instructions = 100)
i tested for some case as belows:
- When i dial, then my system became answer, the caller hangup. system error message show (loop without condition and half machine)
Jun 11 12:15:45 WARNING[1496]: channel.c:1447 ast_read: Exception flag set on 'UniCall/6-1', butno exception handlerJun 11 12:15:45 WARNING[1496]: channel.c:1447 ast_read: Exception flag set on 'UniCall/6-1', butno exception handlerJun 11 12:15:45 WARNING[1496]: channel.c:1447 ast_read: Exception flag set on 'UniCall/6-1', butno exception handlerJun 11 12:15:45 WARNING[1496]: channel.c:1447 ast_read: Exception flag set on 'UniCall/6-1', butno exception handlerJun 11 12:15:45 WARNING[1496]: channel.c:1447 ast_read: Exception flag set on 'UniCall/6-1', butno exception handlerJun 11 12:15:45 WARNING[1496]: channel.c:1447 ast_read: Exception flag set on 'UniCall/6-1', butno exception handlerJun 11 12:15:45 WARNING[1496]: channel.c:1447 ast_read: Exception flag set on 'UniCall/6-1', butno exception handlerJun 11 12:15:45 WARNING[1496]: channel.c:1447 ast_read: Exception flag set on 'UniCall/6-1', butno exception handle
 rJun
 11 12:15:45 WARNING[1496]: channel.c:1447 ast_read: Exception flag set on 'UniCall/6-1', butno exception handler
the next case:
when i choose voicemail, then received mail. for some times, caller hangup phone, system error show as above, then system half.
I used unicall-0.0.3pre3
Please help me
Thanks___
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

[Asterisk-Users] Re: Asterisk-Users Digest, Vol 11, Issue 77

2005-06-11 Thread Nguyen Trung Tin
Hello All
I'm settup my asterisk as belows:
sangoma card, connected with E1, CAS Signalling.
I have two problem.
1. The asterisk don't received any DTMF when caller input to
2. when i dial to system, the caller hear bad sounds. monitor on console. asterisk show error.
Jun 11 12:15:45 WARNING[1496]: channel.c:1447 ast_read: Exception flag set on 'UniCall/6-1', butno exception handlerJun 11 12:15:45 WARNING[1496]: channel.c:1447 ast_read: Exception flag set on 'UniCall/6-1', butno exception handlerJun 11 12:15:45 WARNING[1496]: channel.c:1447 ast_read: Exception flag set on 'UniCall/6-1', butno exception handlerJun 11 12:15:45 WARNING[1496]: channel.c:1447 ast_read: Exception flag set on 'UniCall/6-1', butno exception handlerJun 11 12:15:45 WARNING[1496]: channel.c:1447 ast_read: Exception flag set on 'UniCall/6-1', butno exception handlerJun 11 12:15:45 WARNING[1496]: channel.c:1447 ast_read: Exception flag set on 'UniCall/6-1', butno exception handlerJun 11 12:15:45 WARNING[1496]: channel.c:1447 ast_read: Exception flag set on 'UniCall/6-1', butno exception handlerJun 11 12:15:45 WARNING[1496]: channel.c:1447 ast_read: Exception flag set on 'UniCall/6-1', butno exception handle
 rJun
 11 12:15:45 WARNING[1496]: channel.c:1447 ast_read: Exception flag set on 'UniCall/6-1', butno exception handlerJun 11 12:15:45 WARNING[1496]: channel.c:1447 ast_read: Exception flag set on 'UniCall/6-1', butno exception handlerJun 11 12:15:45 WARNING[1496]: channel.c:1447 ast_read: Exception flag set on 'UniCall/6-1', butno exception handlerJun 11 12:15:45 WARNING[1496]: channel.c:1447 ast_read: Exception flag set on 'UniCall/6-1', butno exception handlerJun 11 12:15:45 WARNING[1496]: channel.c:1447 ast_read: Exception flag set on 'UniCall/6-1', butno exception handlerJun 11 12:15:45 WARNING[1496]: channel.c:1447 ast_read: Exception flag set on 'UniCall/6-1', butno exception handlerJun 11 12:15:45 WARNING[1496]: channel.c:1447 ast_read: Exception flag set on 'UniCall/6-1', butno exception handlerJun 11 12:15:45 WARNING[1496]: channel.c:1447 ast_read: Exception flag set on 'UniCall/6-1', butno exception handlerJ
 un 11
 12:15:45 WARNING[1496]: channel.c:1447 ast_read: Exception flag set on 'UniCall/6-1', butno exception handlerJun 11 12:15:45 WARNING[1496]: channel.c:1447 ast_read: Exception flag set on 'UniCall/6-1', butno exception handlerJun 11 12:15:45 WARNING[1496]: channel.c:1447 ast_read: Exception flag set on 'UniCall/6-1', butno exception handlerJun 11 12:15:45 WARNING[1496]: channel.c:1447 ast_read: Exception flag set on 'UniCall/6-1', butno exception handlerJun 11 12:15:45 WARNING[1496]: channel.c:1447 ast_read: Exception flag set on 'UniCall/6-1', butno exception handler 
my wave file record in: PCM, 8KHz, 16bits, mono.
my computer Pentium IV, 2,4GHz, 512MB, HDD 80GB. redhat 8.0
myzaptel.conf
span=1,0,0,cas,hdb3
cas=1-15:cas=17-31:
dchan=16
alaw=1-31loadzone=frdefaultzone=fr

i check in cmos, i don't find any where to enabled S.M.A.R.T driver to on ( I used GIGAByte main board, model: 8IG1000-pro, hyperthreading (ram dual).
how to increment performance of system, ?. how to set system to good sound.
Please help me
Thanks___
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

[Asterisk-Users] Re: Asterisk-Users Digest, Vol 11, Issue 69

2005-06-10 Thread Nguyen Trung Tin
Hi All
i used cangoma card, connected with E1, using unicall. asterisk 1.1.x. when i dial to asterisk server. asterisk show error as belows:
 -- Unicall/9 extension '9' in context 'from-pstn' from '71811242' does not exist. RejectingcallJun 10 16:47:59 WARNING[28159]: chan_unicall.c:2655 handle_uc_event: Unicall/9 event Far end disconnectedJun 10 16:47:59 WARNING[28159]: chan_unicall.c:2941 handle_uc_event: CRN 32769 - far disconnected cause=Normal Clearing [16]Jun 10 16:47:59 WARNING[28159]: chan_unicall.c:2655 handle_uc_event: Unicall/9 event Drop callJun 10 16:47:59 WARNING[28159]: chan_unicall.c:2655 handle_uc_event: Unicall/9 event Release call -- Unicall/9 released 

my caller id: 071811242
dialed number: 119
what is error ?. how to modify extensions.conf
my setting extensions.conf
[from-pstn]exten = s,1,wait(1)exten = s,2,Answerexten = s,3,Background(custom/aa_main)
Thanks___
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

[Asterisk-Users] Re: Asterisk-Users Digest, Vol 11, Issue 48

2005-06-07 Thread Nguyen Trung Tin


Hello 

I'm using H323 channel and client used ohPhone-1.4.1 (with gatekeeper). when at client side dial to asterisk server (dial , test mode). ohPhone don't hear any thing sounds (no audio). i dial between ohphone (with gatekeeper). sounds are good.
my current setting. Asterisk-1.1.x, GNUGK 2.2, PWLIB-1.8.3, OpenH323-1.15.2, ohPhone (for windows) 1.4.1
Please help me.
Thanks___
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

[Asterisk-Users] Re: Asterisk-Users Digest, Vol 11, Issue 17

2005-06-02 Thread Nguyen Trung Tin


Hello All

How to measure the time when i click hold button on softphone. i need to save the time when user choice hold call 
for example: when user answer the call, the time is: 13:37:35 PM, after that, user choice hold call (time: 13:37:37 PM), then release hold call button (13:18:00 PM).
the hold time will be: 23 sec. how to record that time to database?
how to get uniqueid for once call from softphone. ???

Thanks___
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

[Asterisk-Users] Re: Asterisk-Users Digest, Vol 10, Issue 234

2005-05-31 Thread Nguyen Trung Tin
Hello All

I'm using asterisk 1.1.X and MFCR2 lib version 0.03pre2. when i call to E1 (connected with asterisk), chan_unicall don't detected event incoming call and show error.

error messages:*CLI Warning, flexibel rate not heavily tested!Rx CAS bits 0x9 [ 1/ 0/ 0]Line unblocked -- R2 Channel 4 unblockedRx CAS bits 0x9 [ 1/ 0/ 0]Line unblocked -- R2 Channel 2 unblockedRx CAS bits 0x9 [ 1/ 0/ 0]Line unblocked -- R2 Channel 13 unblockedRx CAS bits 0x1 [ 1/ 0/ 0]Tx CAS bits 0xD [ 1/ 0/ 0]Rx CAS bits 0x9 [ 2/101/ 0]Tx CAS bits 0xD [ 2/101/ 0]ScheduleRx CAS bits 0x9 [ 1/ 0/ 0]Line unblocked -- R2 Channel 5 unblockedRx CAS bits 0x9 [ 1000
 0/
 0/ 0]Line unblocked -- R2 Channel 11 unblocked
Asterisk Ready.*CLI Rx CAS bits 0x9 [ 1/ 0/ 0]Line unblocked -- R2 Channel 10 unblockedRx CAS bits 0x9 [ 1/ 0/ 0]Line unblocked -- R2 Channel 2 unblockedRx CAS bits 0x1 [ 1/ 0/ 0]Line unblocked and seizedUnschedule 1Tx CAS bits 0xD [ 1/ 0/ 0] -- R2 Channel 8 unblockedRx CAS bits 0x1 [ 1/ 0/ 0]Line unblocked and seizedUnschedule 1Tx CAS bits 0xD [ 1/ 0/ 0] -- R2 Channel 9 unblockedRx CAS bits 0x1 [ 1/ 0/ 0]Line unblocked and seizedUnschedule 1Tx CAS bits 0xD [ 1/ 0/ 0] -- R2 Chan
 nel 6
 unblockedRx CAS bits 0x1 [ 1/ 0/ 0]Line unblocked and seizedUnschedule 1Tx CAS bits 0xD [ 1/ 0/ 0] -- R2 Channel 15 unblockedRx CAS bits 0x9 [ 2/101/ 0]Tx CAS bits 0xD [ 2/101/ 0]ScheduleRx CAS bits 0x9 [ 2/101/ 0]Tx CAS bits 0xD [ 2/101/ 0]ScheduleRx CAS bits 0x9 [ 2/101/ 0]Tx CAS bits 0xD [ 2/101/ 0]ScheduleRx CAS bits 0x9 [ 2/101/ 0]Tx CAS bits 0xD [ 2/101/ 0]ScheduleRx CAS bits 0x1 [ 1/ 0/ 0]Tx CAS bits 0xD [ 1/ 0/ 
 0]Rx
 CAS bits 0x9 [ 2/101/ 0]Tx CAS bits 0xD [ 2/101/ 0]Schedule 

my setting zaptel.conf
# Zaptel Configuration Filespan=1,0,0,cas,hdb3,crc4
cas=1-15:cas=17-31:
dchan=16
alaw=1-31
loadzone=frdefaultzone=fr

my setting zapata.conf
; Zapata telephony interface; Configuration file[trunkgroups]trunkgroup = 1,16spanmap = 1,1,1[channels]language=encontext=from-pstnswitchtype=nationalnsf=nonepridialplan=nationalprilocaldialplan=nationaloverlapdial=yespriindication = outofbandsignalling=pri_cperxwink=300; Atlas seems to use long (250ms)
 winks;usedistinctiveringdetection=yesusecallerid=yescidsignalling=bellcidstart=ringhidecallerid=nocallwaiting=yes;restrictcid=nousecallingpres=yescallwaitingcallerid=yesthreewaycalling=yestransfer=yescanpark=yescancallforward=yescallreturn=yes;mailbox=1234echocancel=yesechocancelwhenbridged=yes;echotraining=yes;echotraining=800relaxdtmf=yesrxgain=0.0txgain=0.0group=1callgroup=1pickupgroup=1immediate=no;callerid=2564286000;amaflags=default;accountcode=lss0101;adsi=yes;busydetect=yes;busycount=4;hanguponpolarityswitch;callprogress=yes;progzone=us;pulsedial=yes;faxdetect=both;faxdetect=incoming;faxdetect=outgoing;faxdetect=nomusiconhold=default;idledial=6999;[EMAIL PROTECTED];minunused=2;minidle=1;jitterbuffers=4;cadence=125,125,2000,-4000;cadence=250,250,500,1000,250,250,500,-4000;
 cadence=
125,125,125,125,125,-4000;cadence=1000,500,2500,-5000;crv = 1:16
my setting unicall.conf
; $Id: unicall.conf.sample,v 1.1 2005/05/28 11:17:02 steveu Exp $[channels]language=encontext=defaultusecallerid=yeshidecallerid=nocallwaitingcallerid=yesthreewaycalling=yestransfer=yescancallforward=yescallreturn=yesechocancel=yesechocancelwhenbridged=yes;relaxdtmf=yesrxgain=0.0txgain=0.0group=1callgroup=1pickupgroup=1immediate=noprotocolclass=mfcr2protocolvariant=vn,20,7protocolend=cogroup = 1channel = 1-15channel = 17-31
i'm using sangoma card, firmware V.25 and driver beta8-g.2.3.3


Please help me

Thanks___
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

[Asterisk-Users] Re: Asterisk-Users Digest, Vol 10, Issue 215

2005-05-27 Thread Nguyen Trung Tin
Hi All

i'm using sangoma card. connected to E1,
my wanpipe file as 

## WANPIPE1 Configuration File### Date: Fri May 27 00:25:04 GMT+7 2005## Note: This file was generated automatically# by /usr/sbin/wancfg program.## If you want to edit this file, it is# recommended that you use wancfg program# to do so.## Sangoma Technologies Inc.#
[devices]wanpipe1 = WAN_AFT, Comment
[interfaces]w1g1 = wanpipe1, , TDM_VOICE, Comment
[wanpipe1]CARD_TYPE = AFTS514CPU = ACommPort = PRIAUTO_PCISLOT = YESPCISLOT = 2PCIBUS = 1FE_MEDIA= E1FE_LCODE= HDB3FE_FRAME= CRC4FE_LINE= 1TE_CLOCK = NORMALACTIVE_CH= ALLTE_HIGHIMPEDANCE= YESMTU = 1500UDPPORT = 9000TTL= 255IGNORE_FRONT_END = NOTDMV_SPAN= 1TDMV_DCHAN= 0
[w1g1]ACTIVE_CH= ALLTDMV_ECHO_OFF= NO 

I start wanrouter, the card connected success, monitor on E10 exchange (ACATEL), the status of all channels are LIBR.

when i dial to asterisk, error show as belows
*CLI Warning, flexibel rate not heavily tested!Rx CAS bits 0x9 [ 1/ 0/ 0]Line unblocked -- R2 Channel 4 unblockedRx CAS bits 0x9 [ 1/ 0/ 0]Line unblocked -- R2 Channel 2 unblockedRx CAS bits 0x9 [ 1/ 0/ 0]Line unblocked -- R2 Channel 13 unblockedRx CAS bits 0x1 [ 1/ 0/ 0]Tx CAS bits 0xD [ 1/ 0/ 0]Rx CAS bits 0x9 [ 2/101/ 0]Tx CAS bits 0xD [ 2/101/ 0]ScheduleRx CAS bits 0x9 [ 1/ 0/ 0]Line unblocked -- R2 Channel 5 unblockedRx CAS bits 0x9 [ 1/ 0/
 0]Line unblocked -- R2 Channel 11 unblocked
Asterisk Ready.*CLI Rx CAS bits 0x9 [ 1/ 0/ 0]Line unblocked -- R2 Channel 10 unblockedRx CAS bits 0x9 [ 1/ 0/ 0]Line unblocked -- R2 Channel 2 unblockedRx CAS bits 0x1 [ 1/ 0/ 0]Line unblocked and seizedUnschedule 1Tx CAS bits 0xD [ 1/ 0/ 0] -- R2 Channel 8 unblockedRx CAS bits 0x1 [ 1/ 0/ 0]Line unblocked and seizedUnschedule 1Tx CAS bits 0xD [ 1/ 0/ 0] -- R2 Channel 9 unblockedRx CAS bits 0x1 [ 1/ 0/ 0]Line unblocked and seizedUnschedule 1Tx CAS bits 0xD [ 1/ 0/ 0] -- R2 Chan
 nel 6
 unblockedRx CAS bits 0x1 [ 1/ 0/ 0]Line unblocked and seizedUnschedule 1Tx CAS bits 0xD [ 1/ 0/ 0] -- R2 Channel 15 unblockedRx CAS bits 0x9 [ 2/101/ 0]Tx CAS bits 0xD [ 2/101/ 0]ScheduleRx CAS bits 0x9 [ 2/101/ 0]Tx CAS bits 0xD [ 2/101/ 0]ScheduleRx CAS bits 0x9 [ 2/101/ 0]Tx CAS bits 0xD [ 2/101/ 0]ScheduleRx CAS bits 0x9 [ 2/101/ 0]Tx CAS bits 0xD [ 2/101/ 0]ScheduleRx CAS bits 0x1 [ 1/ 0/ 0]Tx CAS bits 0xD [ 1/ 0/ 
 0]Rx
 CAS bits 0x9 [ 2/101/ 0]Tx CAS bits 0xD [ 2/101/ 0]Schedule 
my zaptel.conf setting as below# Zaptel Configuration Filespan=1,0,0,cas,hdb3,crc4
cas=1-15:cas=17-31:
dchan=16
alaw=1-31
loadzone=frdefaultzone=fr
my zapata.conf
; Zapata telephony interface; Configuration file[trunkgroups]trunkgroup = 1,16spanmap = 1,1,1[channels]language=encontext=from-pstnswitchtype=nationalnsf=nonepridialplan=nationalprilocaldialplan=nationaloverlapdial=yespriindication = outofbandsignalling=r2r2country=krrxwink=300; Atlas seems to use long (250ms)
 winks;usedistinctiveringdetection=yesusecallerid=yescidsignalling=bellcidstart=ringhidecallerid=nocallwaiting=yes;restrictcid=nousecallingpres=yescallwaitingcallerid=yesthreewaycalling=yestransfer=yescanpark=yescancallforward=yescallreturn=yes;mailbox=1234echocancel=yesechocancelwhenbridged=yes;echotraining=yes;echotraining=800relaxdtmf=yesrxgain=0.0txgain=0.0group=1callgroup=1pickupgroup=1immediate=no;callerid=2564286000;amaflags=default;accountcode=lss0101;adsi=yes;busydetect=yes;busycount=4;hanguponpolarityswitch;callprogress=yes;progzone=us;pulsedial=yes;faxdetect=both;faxdetect=incoming;faxdetect=outgoing;faxdetect=nomusiconhold=default;idledial=6999;[EMAIL PROTECTED];minunused=2;minidle=1;jitterbuffers=4;cadence=125,125,2000,-4000;cadence=250,250,500,1000,250,250,500,-4000;
 cadence=
125,125,125,125,125,-4000;cadence=1000,500,2500,-5000;crv = 1:16callerid="channel 1"811001channel = 1callerid="channel 2"811002channel = 2callerid="channel 3"811003channel = 3callerid="channel 4"811004channel = 4callerid="channel 5"811005channel = 5callerid="channel 6"811006channel = 6callerid="channel 7"811007channel = 7callerid="channel 8"811008channel = 8callerid="channel 9"811009channel = 9callerid="channel 10"811010channel = 10callerid="channel 11"811011channel = 11callerid="channel 12"811012channel = 12callerid="channel 13"811013channel = 13callerid="channel 14"811014channel = 14callerid="channel 15"811015channel = 15
callerid="channel 17"811017channel = 17callerid="channel 18"811018channel = 18callerid="channel 19"811019channel = 19callerid="channel 20"811020channel = 20callerid="channel 21"811021channel = 21callerid="channel 22"811022channel = 22callerid="channel 23"811023channel = 23callerid="channel 24"811024channel = 24callerid="channel 25"811025channel = 25callerid="channel 26"811026channel = 

[Asterisk-Users] Re: Asterisk-Users Digest, Vol 10, Issue 114

2005-05-27 Thread Nguyen Trung Tin
Hello All

I need to use Asterisk with an E1 sangoma card with CAS R2 signalling for Vietnam

what is difference between libr2 of CVS and libmfc2 of soft-switch.org ?

how to compile chan_unicall.c on asterisk. asterisk update CVS-head- May 27 2005.


Thanks___
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

[Asterisk-Users] Re: Asterisk-Users Digest, Vol 10, Issue 221

2005-05-27 Thread Nguyen Trung Tin
Hello all.

How to compile chan_unicall.c
i have problem when compile chan_unicall.c, error message
please help

gcc -c -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"CVS-HEAD-05/28/05-06:39:38\" -DASTERISK_VERSION_NUM=99 -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run/asterisk\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN -fomit-frame-pointer -Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -o chan_unicall.o chan_unicall.cchan_unicall.c:24:34: asterisk/channel_pvt.h: No such file or
 directorychan_unicall.c:59:25: ../asterisk.h: No such file or directorychan_unicall.c: In function `unicall_digit':chan_unicall.c:623: dereferencing pointer to incomplete typechan_unicall.c: In function `unicall_call':chan_unicall.c:1127: dereferencing pointer to incomplete typechan_unicall.c: In function `unicall_hangup':chan_unicall.c:1319: dereferencing pointer to incomplete typechan_unicall.c:1524: dereferencing pointer to incomplete typechan_unicall.c: In function `unicall_answer':chan_unicall.c:1560: dereferencing pointer to incomplete typechan_unicall.c: In function `unicall_setoption':chan_unicall.c:1586: dereferencing pointer to incomplete typechan_unicall.c: In function `unicall_bridge':chan_unicall.c:1785: dereferencing pointer to incomplete typechan_unicall.c:1786: dereferencing pointer to incomplete typechan_unicall.c:1794: dereferencing pointer to incomplete typechan_unicall.c:1796: dereferenci
 ng
 pointer to incomplete typechan_unicall.c:1991: dereferencing pointer to incomplete typechan_unicall.c:1992: dereferencing pointer to incomplete typechan_unicall.c:2044: dereferencing pointer to incomplete typechan_unicall.c:2046: dereferencing pointer to incomplete typechan_unicall.c:2050: dereferencing pointer to incomplete typechan_unicall.c:2052: dereferencing pointer to incomplete typechan_unicall.c: In function `unicall_fixup':chan_unicall.c:2098: dereferencing pointer to incomplete typechan_unicall.c: In function `unicall_exception':chan_unicall.c:2132: dereferencing pointer to incomplete typechan_unicall.c: In function `unicall_read':chan_unicall.c:2206: dereferencing pointer to incomplete typechan_unicall.c:2251: dereferencing pointer to incomplete typechan_unicall.c:2394: dereferencing pointer to incomplete typechan_unicall.c:2400: dereferencing pointer to incomplete typechan_unicall.c: In function
 `unicall_write':chan_unicall.c:2542: dereferencing pointer to incomplete typechan_unicall.c: In function `unicall_indicate':chan_unicall.c:2614: dereferencing pointer to incomplete typechan_unicall.c: In function `unicall_new':chan_unicall.c:2727: dereferencing pointer to incomplete typechan_unicall.c:2729: dereferencing pointer to incomplete typechan_unicall.c:2754: dereferencing pointer to incomplete typechan_unicall.c:2755: dereferencing pointer to incomplete typechan_unicall.c:2756: dereferencing pointer to incomplete typechan_unicall.c:2757: dereferencing pointer to incomplete typechan_unicall.c:2758: dereferencing pointer to incomplete typechan_unicall.c:2759: dereferencing pointer to incomplete typechan_unicall.c:2760: dereferencing pointer to incomplete typechan_unicall.c:2761: dereferencing pointer to incomplete typechan_unicall.c:2762: dereferencing pointer to incomplete typechan_unicall.c:2763: derefe
 rencing
 pointer to incomplete typechan_unicall.c:2764: dereferencing pointer to incomplete typechan_unicall.c:2765: dereferencing pointer to incomplete typechan_unicall.c:2766: dereferencing pointer to incomplete typechan_unicall.c: In function `setup_unicall':chan_unicall.c:4556: warning: passing arg 1 of `ast_channel_register' from incompatible pointer typechan_unicall.c:4556: too many arguments to function `ast_channel_register'chan_unicall.c:4564: warning: passing arg 1 of `ast_channel_register' from incompatible pointer typechan_unicall.c:4564: too many arguments to function `ast_channel_register'chan_unicall.c: In function `unload_module':chan_unicall.c:4603: warning: passing arg 1 of `ast_channel_unregister' from incompatible pointer typechan_unicall.c:4604: warning: passing arg 1 of `ast_channel_unregister' from incompatible pointer typechan_unicall.c: In function `unicall_sendtext':chan_unicall.c:4666: dereferencing pointe
 r to
 incomplete typemake[1]: *** [chan_unicall.o] Error 1make[1]: Leaving directory `/usr/src/asterisk/channels'make: *** [subdirs] Error 1[EMAIL PROTECTED] asterisk]# 

[Asterisk-Users] Re: Asterisk-Users Digest, Vol 10, Issue 114

2005-05-15 Thread Nguyen Trung Tin
Hello All


Any body used sangoma card A101. I have problem with this card. My system are:
Linux Redhat 8.0. asterisk 1.07 and libpri, zaptel,...
i connected E1 and MF/R2 signalling.

i configure HDLC and TDM Voice. this is my configure as belows:
## WANPIPE1 Configuration File### Date: Sun May 15 03:11:45 GMT+7 2005## Note: This file was generated automatically# by /usr/sbin/wancfg program.## If you want to edit this file, it is# recommended that you use wancfg program# to do so.## Sangoma Technologies Inc.#
[devices]wanpipe1 = WAN_AFT, Comment
[interfaces]w1g1 = wanpipe1, , TDM_VOICE, Comment
[wanpipe1]CARD_TYPE = AFTS514CPU = ACommPort = PRIAUTO_PCISLOT = YESPCISLOT = 1PCIBUS = 1FE_MEDIA= E1FE_LCODE= HDB3FE_FRAME= CRC4FE_LINE= 1TE_CLOCK = NORMALACTIVE_CH= ALLTE_HIGHIMPEDANCE= NOINTERFACE= V35CLOCKING= EXTERNALBaudRate = 2048MTU = 2048UDPPORT = 9000TTL= 255IGNORE_FRONT_END = NO
[w1g1]PROTOCOL= HDLCHDLC_STREAMING= NOACTIVE_CH= ALLIDLE_FLAG= 0x7EMTU= 2048MRU= 2048TDMV_SPAN= 1TDMV_ECHO_OFF= NOMULTICAST= NOTRUE_ENCODING_TYPE= NO 


when i start sangoma card (wanrouter start). the system run overload (CPU = 100) and i unplug cable, i view logfile, i see: DMA descriptor length error ...
i ask sangoma support, but don't received any supoported.


please send to me good configure file run for E1.


I see on terminal of ACATEL. I type
Ctrl A
CTIN: enter
AFCT = 195-13-131; enter
terminal show all channel is BLOF or BLOJ (depending on cable)
i need LIBR

thanks___
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

[Asterisk-Users] Sangoma card !

2005-05-08 Thread Nguyen Trung Tin
Hello All !

i'm purchased sangoma card A-101. i connect to E1 with MF/R2 signalling. but card don't work. negotiation with E1 fail.
please help me to correct it. i dont' know some parameters such as:
MTU, BAUDRATE

Thanks

Tin Trung



___
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

[Asterisk-Users] H323

2005-05-08 Thread Nguyen Trung Tin
Hello all

i'm build success H322 in channel/H323 of asterisk. but don't know how to use it.

i run GNUGK on server and client using ohphone. when i dial to asterisk server. the connection accept and disconnect.

please help me to configure in H323.conf and extensions.conf.

Thanks___
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