unable to use G723 CODEC

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

Moderators: enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, s0lid

unable to use G723 CODEC

Postby solutinfo » Sun Jun 27, 2010 1:29 pm

we're using vicidialnow 1.3 for outbound dialing with asterisk 1.2 With 2 servers (1 CORE 2 QUAND 4gig ram) for the vicidial and (1 CORE 2 QUAND 4gig ram 500gig Hdd
for Database.)with Eyebeam as a softphone with 10 seaters. Hp compaq 2.8 ‘512RAM
Realtek AC 97 as a sound card ;
A very stable 20 Mega adsl connexion with 0 ;85 Upload

Connection to the Voip provider is an sip Trunk using the G729 codec ;
Below is our sip trung conf :
host=ourvoipprovider.
type=friend
context=from-trunk
username=our username
fromuser= our username
secret=our sercret
dtmfmode=rfc2833
qualify=600
disallow=all
allow=g729
insecure=very.
As seen on the sip trunk we are using g729 codec.
And when we wanted to change it to G 723 codec the operation was not successfull.
EXPLANATION :
We did all the necessary steps with SSH CLIENT and WINSCP to install the new codec we changed it in our sip trunk (allow=g723)
But we couldn’t make any calls knowing that the calls are in the server.
And when using our softphone EYEBEAM it keeps showing RINGING …..

PLEASE HELP
solutinfo
 
Posts: 43
Joined: Sun Jun 13, 2010 3:48 pm
Location: morocco

Postby gardo » Tue Jun 29, 2010 12:43 pm

Asterisk CLI when dialing?
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

Postby solutinfo » Tue Jun 29, 2010 5:22 pm

thank you so much ; will give you the asterisk CLI as soon as possible.
solutinfo
 
Posts: 43
Joined: Sun Jun 13, 2010 3:48 pm
Location: morocco

Postby williamconley » Tue Jun 29, 2010 8:27 pm

and the output from this while you are at it:
Code: Select all
asterisk -rx "show translation"
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby solutinfo » Wed Jun 30, 2010 3:10 am

hi.first here the top command for our server when dialing:
[root@our callcenter ~]# top
top - 10:01:23 up 17:46, 1 user, load average: 2.20, 1.85, 1.74
Tasks: 91 total, 1 running, 90 sleeping, 0 stopped, 0 zombie
Cpu(s): 31.9%us, 2.3%sy, 0.0%ni, 64.8%id, 0.3%wa, 0.3%hi, 0.3%si, 0.0%st
Mem: 2075548k total, 1552024k used, 523524k free, 148696k buffers
Swap: 1044216k total, 0k used, 1044216k free, 1225428k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1891 mysql 15 0 147m 33m 4904 S 29.3 1.7 225:27.65 mysqld
2010 apache 15 0 59208 14m 10m S 0.7 0.7 0:14.33 httpd
2017 apache 15 0 59712 14m 9.9m S 0.7 0.7 0:14.78 httpd
24266 root 15 0 36296 30m 2568 S 0.7 1.5 4:58.78 AST_VDadapt.pl
1953 root 18 0 57716 8064 5072 S 0.3 0.4 0:00.99 httpd
2012 apache 15 0 59476 15m 10m S 0.3 0.8 0:14.30 httpd
2013 apache 15 0 59312 15m 11m S 0.3 0.8 0:13.42 httpd
2014 apache 15 0 59196 14m 10m S 0.3 0.7 0:13.74 httpd
2016 apache 15 0 59360 14m 10m S 0.3 0.7 0:13.62 httpd
3087 apache 15 0 59208 14m 9.8m S 0.3 0.7 0:13.27 httpd
5440 apache 15 0 58344 7372 3708 S 0.3 0.4 0:04.02 httpd
19858 apache 15 0 59320 14m 9.9m S 0.3 0.7 0:08.65 httpd
19859 apache 15 0 59508 14m 9980 S 0.3 0.7 0:09.90 httpd
1 root 15 0 2068 648 560 S 0.0 0.0 0:01.25 init
2 root RT -5 0 0 0 S 0.0 0.0 0:00.00 migration/0
3 root 34 19 0 0 0 S 0.0 0.0 0:00.01 ksoftirqd/0
4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
THEN THE ZTTEST COMMAND:
Opened pseudo zap interface, measuring accuracy...
99.926758% 99.975586% 99.926758% 99.975586% 99.975586% 99.926758% 99.975586%
99.938965% 99.975586% 99.877930% 99.829102% 99.975586% 99.926758% 99.975586% 99.926758%
99.975586% 99.975586% 99.926758% 99.865723% 99.829102% 99.975586% 99.926758% 99.975586%
99.975586% 99.926758% 99.084473% 99.084473% 99.975586% 99.938965% 99.987793% 99.707031%
99.658203% 99.8
AND THE SHOW TRANSLATION COMMAND:
ourcallcenter*CLI> show translation
Translation times between formats (in milliseconds)
Source Format (Rows) Destination Format(Columns)

g723 gsm ulaw alaw g726 adpcm slin lpc10 g729 speex ilbc
g723 - 3 2 2 2 2 1 4 9 24 -
gsm 9 - 2 2 2 2 1 4 9 24 -
ulaw 9 3 - 1 2 2 1 4 9 24 -
alaw 9 3 1 - 2 2 1 4 9 24 -
g726 9 3 2 2 - 2 1 4 9 24 -
adpcm 9 3 2 2 2 - 1 4 9 24 -
slin 8 2 1 1 1 1 - 3 8 23 -
lpc10 10 4 3 3 3 3 2 - 10 25 -
g729 9 3 2 2 2 2 1 4 - 24 -
speex 9 3 2 2 2 2 1 4 9 - -
ilbc - - - - - - - - - - -
Jun 30 10:03:34 NOTICE[2089]: chan_iax2.c:7862 socket_read: Registration of 'CR2' rejected: 'Registration Refused' from: '192.168.1.3'
********
NOW WE ARE AGAIN WORKING WITH THE 729 CODEC( free version)

thank all for your collaboration.
solutinfo
 
Posts: 43
Joined: Sun Jun 13, 2010 3:48 pm
Location: morocco

Postby solutinfo » Wed Jun 30, 2010 5:33 am

THE ASTERISK CLI COMMAND
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/0033344442106@default-055f,2", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Dial("Local/0033344442106@default-055f,2", "SIP/siptrunk2/0033344442106||o") in new stack
-- Called siptrunk2/0033344442106
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/0033344440787@default-feee,2", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Dial("Local/0033344440787@default-feee,2", "SIP/siptrunk2/0033344440787||o") in new stack
-- Called siptrunk2/0033344440787
== Spawn extension (default, 0033344093250, 2) exited non-zero on 'Local/0033344093250@default-9c36,2'
-- Executing DeadAGI("Local/0033344093250@default-9c36,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----19-----0") in new stack
-- AMD: Word detected. iWordsCount:1
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... --19-----0 completed, returning 0
-- SIP/siptrunk2-0956e9f8 answered Local/0033344931790@default-4f87,2
> Channel Local/0033344931790@default-4f87,1 was answered.
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing Playback("Local/0033344931790@default-4f87,1", "sip-silence") in new stack
-- Playing 'sip-silence' (language 'en')
-- Executing AGI("Local/0033344931790@default-4f87,1", "agi://127.0.0.1:4577/call_log") in new stack
-- AMD: Changed state to STATE_IN_SILENCE
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing AMD("Local/0033344931790@default-4f87,1", "2000|2000|1000|5000|120|50|4|256") in new stack
-- AMD: Local/0033344931790@default-4f87,1 0000000000 (null) (Fmt: 64)
-- AMD: initialSilence [2000] greeting [2000] afterGreetingSilence [1000] totalAnalysisTime [5000] minimumWordLength [120] betweenWordsSilence [50] maximumNumberOfWords [4] silenceThreshold [256]
-- SIP/siptrunk2-09472030 answered Local/0033344094927@default-936a,2
> Channel Local/0033344094927@default-936a,1 was answered.
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing Playback("Local/0033344094927@default-936a,1", "sip-silence") in new stack
-- Playing 'sip-silence' (language 'en')
-- Executing AGI("Local/0033344094927@default-936a,1", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing AMD("Local/0033344094927@default-936a,1", "2000|2000|1000|5000|120|50|4|256") in new stack
-- AMD: Local/0033344094927@default-936a,1 0000000000 (null) (Fmt: 64)
-- AMD: initialSilence [2000] greeting [2000] afterGreetingSilence [1000] totalAnalysisTime [5000] minimumWordLength [120] betweenWordsSilence [50] maximumNumberOfWords [4] silenceThreshold [256]
-- SIP/siptrunk2-094ac368 is ringing
== Spawn extension (default, 0033344931790, 2) exited non-zero on 'Local/0033344931790@default-4f87,2'
-- Executing DeadAGI("Local/0033344931790@default-4f87,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----9-----0") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---9-----0 completed, returning 0
-- SIP/siptrunk2-094da1c8 is ringing
== Spawn extension (default, 0033344094927, 2) exited non-zero on 'Local/0033344094927@default-936a,2'
-- Executing DeadAGI("Local/0033344094927@default-936a,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----17-----0") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... --17-----0 completed, returning 0
-- AMD: Word detected. iWordsCount:1
-- AMD: Changed state to STATE_IN_SILENCE
-- AMD: HUMAN: silenceDuration:1000 afterGreetingSilence:1000
-- Executing AGI("SIP/siptrunk2-0958d558", "VD_amd.agi|8369") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/VD_amd.agi
-- AGI Script VD_amd.agi completed, returning 0
-- Executing AGI("SIP/siptrunk2-0958d558", "agi-VDAD_ALL_outbound.agi|NORMAL-----LB") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- AMD: Word detected. iWordsCount:1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Spawn extension (default, 8600056, 1) exited non-zero on 'SIP/siptrunk2-09764a30'
-- Executing DeadAGI("SIP/siptrunk2-09764a30", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Spawn extension (default, 58600056, 1) exited non-zero on 'Local/58600056@default-2cb4,2'
-- Executing DeadAGI("Local/58600056@default-2cb4,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
== Spawn extension (default, 8309, 3) exited non-zero on 'Local/58600056@default-2cb4,1'
-- Executing DeadAGI("Local/58600056@default-2cb4,1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
-- AMD: Changed state to STATE_IN_SILENCE
-- AMD: HUMAN: silenceDuration:1000 afterGreetingSilence:1000
-- Executing AGI("SIP/siptrunk2-0956e9f8", "VD_amd.agi|8369") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/VD_amd.agi
-- AGI Script VD_amd.agi completed, returning 0
-- Executing AGI("SIP/siptrunk2-0956e9f8", "agi-VDAD_ALL_outbound.agi|NORMAL-----LB") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
-- AMD: HUMAN: silenceDuration:1000 afterGreetingSilence:1000
-- Executing AGI("SIP/siptrunk2-09472030", "VD_amd.agi|8369") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/VD_amd.agi
-- AGI Script VD_amd.agi completed, returning 0
-- Executing AGI("SIP/siptrunk2-09472030", "agi-VDAD_ALL_outbound.agi|NORMAL-----LB") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
-- AGI Script agi-VDAD_ALL_outbound.agi completed, returning 0
-- Executing Goto("SIP/siptrunk2-0958d558", "default|8600056|1") in new stack
-- Goto (default,8600056,1)
-- Executing MeetMe("SIP/siptrunk2-0958d558", "8600056|F") in new stack
-- SIP/siptrunk2-096c0468 answered Local/0033344095475@default-eb66,2
> Channel Local/0033344095475@default-eb66,1 was answered.
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing Playback("Local/0033344095475@default-eb66,1", "sip-silence") in new stack
-- Playing 'sip-silence' (language 'en')
-- Executing AGI("Local/0033344095475@default-eb66,1", "agi://127.0.0.1:4577/call_log") in new stack
== Manager 'sendcron' logged off from 127.0.0.1
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing AMD("Local/0033344095475@default-eb66,1", "2000|2000|1000|5000|120|50|4|256") in new stack
-- AMD: Local/0033344095475@default-eb66,1 0000000000 (null) (Fmt: 64)
-- AMD: initialSilence [2000] greeting [2000] afterGreetingSilence [1000] totalAnalysisTime [5000] minimumWordLength [120] betweenWordsSilence [50] maximumNumberOfWords [4] silenceThreshold [256]
== Spawn extension (default, 0033344095475, 2) exited non-zero on 'Local/0033344095475@default-eb66,2'
-- Executing DeadAGI("Local/0033344095475@default-eb66,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----21-----1") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... --21-----1 completed, returning 0
-- AMD: Word detected. iWordsCount:1
-- AMD: Changed state to STATE_IN_SILENCE
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing MeetMe("Local/58600056@default-1d4b,2", "8600056|Fmq") in new stack
> Channel Local/58600056@default-1d4b,1 was answered.
-- Executing Answer("Local/58600056@default-1d4b,1", "") in new stack
-- Executing Monitor("Local/58600056@default-1d4b,1", "wav|20100630-102920_0033344093250") in new stack
-- Executing Wait("Local/58600056@default-1d4b,1", "3600") in new stack
-- AMD: Word detected. iWordsCount:2
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/0033344090282@default-daa6,2", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Dial("Local/0033344090282@default-daa6,2", "SIP/siptrunk2/0033344090282||o") in new stack
-- Called siptrunk2/0033344090282
-- AMD: Changed state to STATE_IN_SILENCE
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
-- SIP/siptrunk2-09764a30 is ringing
-- AMD: HUMAN: silenceDuration:1000 afterGreetingSilence:1000
-- Executing AGI("SIP/siptrunk2-096c0468", "VD_amd.agi|8369") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/VD_amd.agi
-- AGI Script VD_amd.agi completed, returning 0
-- Executing AGI("SIP/siptrunk2-096c0468", "agi-VDAD_ALL_outbound.agi|NORMAL-----LB") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
-- SIP/siptrunk2-09601978 answered Local/0033134849210@default-448c,2
> Channel Local/0033134849210@default-448c,1 was answered.
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing Playback("Local/0033134849210@default-448c,1", "sip-silence") in new stack
-- Playing 'sip-silence' (language 'en')
-- Executing AGI("Local/0033134849210@default-448c,1", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing AMD("Local/0033134849210@default-448c,1", "2000|2000|1000|5000|120|50|4|256") in new stack
-- AMD: Local/0033134849210@default-448c,1 0000000000 (null) (Fmt: 64)
-- AMD: initialSilence [2000] greeting [2000] afterGreetingSilence [1000] totalAnalysisTime [5000] minimumWordLength [120] betweenWordsSilence [50] maximumNumberOfWords [4] silenceThreshold [256]
-- SIP/siptrunk2-097676c8 answered Local/0033344095000@default-b31d,2
> Channel Local/0033344095000@default-b31d,1 was answered.
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing Playback("Local/0033344095000@default-b31d,1", "sip-silence") in new stack
-- Playing 'sip-silence' (language 'en')
-- Executing AGI("Local/0033344095000@default-b31d,1", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing AMD("Local/0033344095000@default-b31d,1", "2000|2000|1000|5000|120|50|4|256") in new stack
-- AMD: Local/0033344095000@default-b31d,1 0000000000 (null) (Fmt: 64)
-- AMD: initialSilence [2000] greeting [2000] afterGreetingSilence [1000] totalAnalysisTime [5000] minimumWordLength [120] betweenWordsSilence [50] maximumNumberOfWords [4] silenceThreshold [256]
== Spawn extension (default, 0033134849210, 2) exited non-zero on 'Local/0033134849210@default-448c,2'
-- Executing DeadAGI("Local/0033134849210@default-448c,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----20-----0") in new stack
-- AMD: Word detected. iWordsCount:1
-- AMD: Changed state to STATE_IN_SILENCE
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... --20-----0 completed, returning 0
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Spawn extension (default, 0033344095000, 2) exited non-zero on 'Local/0033344095000@default-b31d,2'
-- Executing DeadAGI("Local/0033344095000@default-b31d,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----24-----1") in new stack
== Spawn extension (default, 8600051, 1) exited non-zero on 'SIP/siptrunk2-094d5ff0'
-- Executing DeadAGI("SIP/siptrunk2-094d5ff0", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
solutinfo
 
Posts: 43
Joined: Sun Jun 13, 2010 3:48 pm
Location: morocco

Postby gardo » Wed Jun 30, 2010 2:59 pm

Based on your Asterisk CLI the calls are pushing through since AMD is being used. There are no codec errors regarding g723/g729. Can you post Asterisk CLI when using only softphone and not dialing via Vici. Also post the result of "sip show channels" when dialing.
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

Postby williamconley » Wed Jun 30, 2010 4:27 pm

sip debug from the moment the phone call initiates until it terminates. :)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 82 guests