vicidial and g723 codec

All installation and configuration problems and questions

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

vicidial and g723 codec

Postby albokos » Fri Nov 06, 2009 8:25 am

Hi everybody

for 2 days now, i'm trying to set up the g723 codec in my carrier and for two days now i felt doing it work properly. I explain myself

i was using g729 codec but since the sound was not as good as i wanted it, i decided to used a less compressed one (g723). unfortunatly as soon as my vicidal server takes the new codec the calls stops to reach my agent. in the asterisk's cli i can see the calls are answered but they are not passed to the agents.

thank you

i'm using:

asterisk 1.4.26
OS: debian
Softphone Eyebeam
Vicidial svn trnuk
zaptel 1.4.12

PS: it works in manual dialing
albokos
 
Posts: 143
Joined: Sat Sep 19, 2009 8:29 am

Postby mflorell » Fri Nov 06, 2009 10:40 am

vicidial.php version and build?

Asterisk CLI output of these calls?

agiout logfile output of the same calls?
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby albokos » Fri Nov 06, 2009 11:31 am

VICIDIAL Client Web: 2.0.5-202 BUILD: 90320-0309


Code: Select all
  WARNING[17414]: file.c:1273 waitstream_core: Unexpected control subclass '-1'
    -- Executing [8368@default:2] AGI("Local/33490499406@default-d2ab,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 [8368@default:3] AGI("Local/33490499406@default-d2ab,1", "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 [8368@default:4] AGI("Local/33490499406@default-d2ab,1", "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 [8368@default:5] Hangup("Local/33490499406@default-d2ab,1", "") in new stack
  == Spawn extension (default, 8368, 5) exited non-zero on 'Local/33490499406@default-d2ab,1'
    -- Executing [h@default:1] DeadAGI("Local/33490499406@default-d2ab,1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
    -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------- completed, returning 0
    -- Executing [h@default:1] DeadAGI("Local/33490499406@default-d2ab,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----17-----2") in new stack
    -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----17-----2 completed, returning 0
  == Spawn extension (default, 33490499406, 2) exited non-zero on 'Local/33490499406@default-d2ab,2'
Asterisk*CLI>


agiout logfile ???
albokos
 
Posts: 143
Joined: Sat Sep 19, 2009 8:29 am

Postby mflorell » Fri Nov 06, 2009 12:07 pm

/var/log/astguiclient/agiout.2009-11-05
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby albokos » Fri Nov 06, 2009 12:45 pm

Thanks for the path:

Code: Select all
2009-11-06 17:28:38|agi-VDAD_ALL_outbound.agi| -- channel = Local/33490499406@default-d2ab,1
2009-11-06 17:28:38|agi-VDAD_ALL_outbound.agi| -- context = default
2009-11-06 17:28:38|agi-VDAD_ALL_outbound.agi| -- dnid = unknown
2009-11-06 17:28:38|agi-VDAD_ALL_outbound.agi| -- enhanced = 0.0
2009-11-06 17:28:38|agi-VDAD_ALL_outbound.agi| -- extension = 8368
2009-11-06 17:28:38|agi-VDAD_ALL_outbound.agi| -- language = en
2009-11-06 17:28:38|agi-VDAD_ALL_outbound.agi| -- priority = 3
2009-11-06 17:28:38|agi-VDAD_ALL_outbound.agi| -- rdnis = unknown
2009-11-06 17:28:38|agi-VDAD_ALL_outbound.agi| -- request = agi-VDAD_ALL_outbound.agi
2009-11-06 17:28:38|agi-VDAD_ALL_outbound.agi| -- type = Local
2009-11-06 17:28:38|agi-VDAD_ALL_outbound.agi| -- uniqueid = 1257524903.9548
2009-11-06 17:28:38|agi-VDAD_ALL_outbound.agi|AGI Variables: |1257524903.9548|Local/33490499406@default-d2ab,1|8368|Local|V1106172823000065071|V1106172823000065071|3|
2009-11-06 17:28:38|agi-VDAD_ALL_outbound.agi|+++++ VDAD START : |65071|2009-11-06 17:28:38|1.4.26.2|3|
2009-11-06 17:28:38|agi-VDAD_ALL_outbound.agi|+++++ VDAD START LOCAL CHANNEL: EXITING- 3
2009-11-06 17:28:39|agi-VDAD_ALL_outbound.agi|Perl Environment Dump:
2009-11-06 17:28:39|agi-VDAD_ALL_outbound.agi|0|NORMAL-----LB
2009-11-06 17:28:39|agi-VDAD_ALL_outbound.agi|callerID changed: V1106172823000065071
2009-11-06 17:28:39|agi-VDAD_ALL_outbound.agi|AGI Environment Dump:
2009-11-06 17:28:39|agi-VDAD_ALL_outbound.agi| -- accountcode =
2009-11-06 17:28:39|agi-VDAD_ALL_outbound.agi| -- callerid = unknown
2009-11-06 17:28:39|agi-VDAD_ALL_outbound.agi| -- calleridname = V1106172823000065071
2009-11-06 17:28:39|agi-VDAD_ALL_outbound.agi| -- callingani2 = 0
2009-11-06 17:28:39|agi-VDAD_ALL_outbound.agi| -- callingpres = 0
2009-11-06 17:28:39|agi-VDAD_ALL_outbound.agi| -- callingtns = 0
2009-11-06 17:28:39|agi-VDAD_ALL_outbound.agi| -- callington = 0
2009-11-06 17:28:39|agi-VDAD_ALL_outbound.agi| -- channel = Local/33490499406@default-d2ab,1
2009-11-06 17:28:39|agi-VDAD_ALL_outbound.agi| -- context = default
2009-11-06 17:28:39|agi-VDAD_ALL_outbound.agi| -- dnid = unknown
2009-11-06 17:28:39|agi-VDAD_ALL_outbound.agi| -- enhanced = 0.0
2009-11-06 17:28:39|agi-VDAD_ALL_outbound.agi| -- extension = 8368
2009-11-06 17:28:39|agi-VDAD_ALL_outbound.agi| -- language = en
2009-11-06 17:28:39|agi-VDAD_ALL_outbound.agi| -- priority = 4
2009-11-06 17:28:39|agi-VDAD_ALL_outbound.agi| -- rdnis = unknown
2009-11-06 17:28:39|agi-VDAD_ALL_outbound.agi| -- request = agi-VDAD_ALL_outbound.agi
2009-11-06 17:28:39|agi-VDAD_ALL_outbound.agi| -- type = Local
2009-11-06 17:28:39|agi-VDAD_ALL_outbound.agi| -- uniqueid = 1257524903.9548
2009-11-06 17:28:39|agi-VDAD_ALL_outbound.agi|AGI Variables: |1257524903.9548|Local/33490499406@default-d2ab,1|8368|Local|V1106172823000065071|V1106172823000065071|4|
2009-11-06 17:28:39|agi-VDAD_ALL_outbound.agi|+++++ VDAD START : |65071|2009-11-06 17:28:39|1.4.26.2|4|
2009-11-06 17:28:39|agi-VDAD_ALL_outbound.agi|+++++ VDAD START LOCAL CHANNEL: EXITING- 4
2009-11-06 17:29:23|agi-VDAD_ALL_outbound.agi|Perl Environment Dump:
albokos
 
Posts: 143
Joined: Sat Sep 19, 2009 8:29 am

Postby mflorell » Fri Nov 06, 2009 3:16 pm

Looks like a Local/ channel resolution issue.

Is there anything at all different other than the codec?

Same carrier?
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby albokos » Sat Nov 07, 2009 4:45 am

yes it is the same carrier, the probleme comes when i go from:

allow=g729

to

allow=g723

that's all i change.how can i fix it?
albokos
 
Posts: 143
Joined: Sat Sep 19, 2009 8:29 am

Postby mflorell » Sat Nov 07, 2009 7:31 am

What does your Dial string look like?

Are you registering to the carrier?
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby albokos » Mon Nov 09, 2009 7:09 am

Sorry for the late answer this is my register string:

Code: Select all
register=>username:passwd@sip.provider.ip


And this is my dialplan:
Code: Select all
exten=>_33ZXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten=>_33ZXXXXXXXX,2,Dial(SIP/siptrunk/${EXTEN},,To)
exten=>_33ZXXXXXXXX,3,Hangup

In my CLI i have:

Code: Select all
Executing [33490499464@default:2] Dial("Local/33490499464@default-65b3,2", "SIP/siptrunk/33490499464||To") in new stack


something strange is when i call directly from eyebeam via the sip trunk it works fine it is only when i use ration dialing that it doesn't works.
albokos
 
Posts: 143
Joined: Sat Sep 19, 2009 8:29 am

Postby mflorell » Mon Nov 09, 2009 8:45 am

try changing the Dial string to dial the full SIP provider URL instead of the sip account.
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby albokos » Mon Nov 09, 2009 9:44 am

Sorry but i don't understand what you mean by this:
changing the Dial string to dial the full SIP provider URL


could you explain please!
albokos
 
Posts: 143
Joined: Sat Sep 19, 2009 8:29 am

Postby williamconley » Mon Nov 09, 2009 1:11 pm

albokos wrote: something strange is when i call directly from eyebeam via the sip trunk it works fine it is only when i use ration dialing that it doesn't works.


1) define "dial directly" ... do you mean from your iBeam phone DIRECTLY to the provider (not going through asterisk) or dial through asterisk with ibeam vs dial through asterisk with vicidial?

2) have you tried manual dialing in vicidial?

3) CLI output from sample using iBeam through asterisk, and same output during the failed call generated by vicidial. (If one works and one doesn't, try 'em both and compare them)

4) it's "Ratio" not "Ration". But I like that. Ration-dialing.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20444
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)

Postby albokos » Mon Nov 09, 2009 1:39 pm

Well i've tried this:

Code: Select all
exten=>_33ZXXXXXXXX,2,Dial(SIP/+${EXTEN}@sip.provider.ip,,To)


And this is what i get from my CLI:


Code: Select all
[Nov  9 18:51:29]   == Parsing '/etc/asterisk/manager.conf': [Nov  9 18:51:29] Found
[Nov  9 18:51:29]   == Manager 'sendcron' logged on from 127.0.0.1
[Nov  9 18:51:29]     -- Executing [33143833588@default:1] AGI("Local/33143833588@default-d4ab,2", "agi://127.0.0.1:4577/call_log") in new stack
[Nov  9 18:51:29]     -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Nov  9 18:51:29]     -- Executing [33143833588@default:2] Dial("Local/33143833588@default-d4ab,2", "SIP/+33143833588@216.94.155.229||To") in new stack
[Nov  9 18:51:29]     -- Called +33143833588@216.94.155.229
[Nov  9 18:51:30]     -- SIP/216.94.155.229-08914e60 is making progress passing it to Local/33143833588@default-d4ab,2
Asterisk*CLI> sip show channels
Peer             User/ANR    Call ID      Seq (Tx/Rx)  Format           Hold     Last Message
216.94.155.229   +331438335  025cceb10e9  00102/00000  0x1 (g723)       No       Init: INVITE
172.16.1.140     cc100       4cb8cd8e119  00102/00000  0x8 (alaw)       No       Tx: ACK
2 active SIP channels
[Nov  9 18:51:39]     -- SIP/216.94.155.229-08914e60 answered Local/33143833588@default-d4ab,2
[Nov  9 18:51:39]        > Channel Local/33143833588@default-d4ab,1 was answered.
[Nov  9 18:51:39]     -- Executing [8368@default:1] Playback("Local/33143833588@default-d4ab,1", "sip-silence") in new stack
[Nov  9 18:51:39]   == Manager 'sendcron' logged off from 127.0.0.1
[Nov  9 18:51:39]     -- <Local/33143833588@default-d4ab,1> Playing 'sip-silence' (language 'en')
[Nov  9 18:51:39] WARNING[15902]: file.c:1273 waitstream_core: Unexpected control subclass '-1'
[Nov  9 18:51:39]     -- Executing [8368@default:2] AGI("Local/33143833588@default-d4ab,1", "agi://127.0.0.1:4577/call_log") in new stack
[Nov  9 18:51:39]     -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Nov  9 18:51:39]     -- Executing [8368@default:3] AGI("Local/33143833588@default-d4ab,1", "agi-VDAD_ALL_outbound.agi|NORMAL-----LB") in new stack
[Nov  9 18:51:39]     -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
[Nov  9 18:51:40]     -- AGI Script agi-VDAD_ALL_outbound.agi completed, returning 0
[Nov  9 18:51:40]     -- Executing [8368@default:4] AGI("Local/33143833588@default-d4ab,1", "agi-VDAD_ALL_outbound.agi|NORMAL-----LB") in new stack
[Nov  9 18:51:40]     -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
[Nov  9 18:51:42]     -- AGI Script agi-VDAD_ALL_outbound.agi completed, returning 0
[Nov  9 18:51:42]     -- Executing [8368@default:5] Hangup("Local/33143833588@default-d4ab,1", "") in new stack
[Nov  9 18:51:42]   == Spawn extension (default, 8368, 5) exited non-zero on 'Local/33143833588@default-d4ab,1'
[Nov  9 18:51:42]     -- Executing [h@default:1] DeadAGI("Local/33143833588@default-d4ab,1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
[Nov  9 18:51:42]     -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------- completed, returning 0
[Nov  9 18:51:42]     -- Executing [h@default:1] DeadAGI("Local/33143833588@default-d4ab,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----13-----3") in new stack
[Nov  9 18:51:42]     -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----13-----3 completed, returning 0
[Nov  9 18:51:42]   == Spawn extension (default, 33143833588, 2) exited non-zero on 'Local/33143833588@default-d4ab,2'
[Nov  9 18:51:54]   == Parsing '/etc/asterisk/manager.conf': [Nov  9 18:51:54] Found
[Nov  9 18:51:54]   == Manager 'sendcron' logged on from 127.0.0.1
[Nov  9 18:51:54]   == Spawn extension (default, 8600051, 1) exited non-zero on 'SIP/cc100-08911358'
[Nov  9 18:51:54]     -- Executing [h@default:1] DeadAGI("SIP/cc100-08911358", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
[Nov  9 18:51:54]     -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------- completed, returning 0
[Nov  9 18:51:54]   == Parsing '/etc/asterisk/manager.conf': [Nov  9 18:51:54] Found


My agiout:

Code: Select all
2009-11-09 18:51:39|agi-VDAD_ALL_outbound.agi|AGI Environment Dump:
2009-11-09 18:51:39|agi-VDAD_ALL_outbound.agi| -- accountcode =
2009-11-09 18:51:39|agi-VDAD_ALL_outbound.agi| -- callerid = 0000000000
2009-11-09 18:51:39|agi-VDAD_ALL_outbound.agi| -- calleridname = V1109185129000092820
2009-11-09 18:51:39|agi-VDAD_ALL_outbound.agi| -- callingani2 = 0
2009-11-09 18:51:39|agi-VDAD_ALL_outbound.agi| -- callingpres = 0
2009-11-09 18:51:39|agi-VDAD_ALL_outbound.agi| -- callingtns = 0
2009-11-09 18:51:39|agi-VDAD_ALL_outbound.agi| -- callington = 0
2009-11-09 18:51:39|agi-VDAD_ALL_outbound.agi| -- channel = Local/33143833588@default-d4ab,1
2009-11-09 18:51:39|agi-VDAD_ALL_outbound.agi| -- context = default
2009-11-09 18:51:39|agi-VDAD_ALL_outbound.agi| -- dnid = unknown
2009-11-09 18:51:39|agi-VDAD_ALL_outbound.agi| -- enhanced = 0.0
2009-11-09 18:51:39|agi-VDAD_ALL_outbound.agi| -- extension = 8368
2009-11-09 18:51:39|agi-VDAD_ALL_outbound.agi| -- language = en
2009-11-09 18:51:39|agi-VDAD_ALL_outbound.agi| -- priority = 3
2009-11-09 18:51:39|agi-VDAD_ALL_outbound.agi| -- rdnis = unknown
2009-11-09 18:51:39|agi-VDAD_ALL_outbound.agi| -- request = agi-VDAD_ALL_outbound.agi
2009-11-09 18:51:39|agi-VDAD_ALL_outbound.agi| -- type = Local
2009-11-09 18:51:39|agi-VDAD_ALL_outbound.agi| -- uniqueid = 1257789089.42
2009-11-09 18:51:39|agi-VDAD_ALL_outbound.agi|AGI Variables: |1257789089.42|Local/33143833588@default-d4ab,1|8368|Local|V1109185129000092820|V1109185129000092820|3|
2009-11-09 18:51:39|agi-VDAD_ALL_outbound.agi|+++++ VDAD START : |92820|2009-11-09 18:51:39|1.4.26.2|3|
2009-11-09 18:51:39|agi-VDAD_ALL_outbound.agi|+++++ VDAD START LOCAL CHANNEL: EXITING- 3
2009-11-09 18:51:41|agi-VDAD_ALL_outbound.agi|Perl Environment Dump:
2009-11-09 18:51:41|agi-VDAD_ALL_outbound.agi|0|NORMAL-----LB
2009-11-09 18:51:41|agi-VDAD_ALL_outbound.agi|callerID changed: V1109185129000092820
2009-11-09 18:51:41|agi-VDAD_ALL_outbound.agi|AGI Environment Dump:
2009-11-09 18:51:41|agi-VDAD_ALL_outbound.agi| -- accountcode =
2009-11-09 18:51:41|agi-VDAD_ALL_outbound.agi| -- callerid = unknown
2009-11-09 18:51:41|agi-VDAD_ALL_outbound.agi| -- calleridname = V1109185129000092820
2009-11-09 18:51:41|agi-VDAD_ALL_outbound.agi| -- callingani2 = 0
2009-11-09 18:51:41|agi-VDAD_ALL_outbound.agi| -- callingpres = 0
2009-11-09 18:51:41|agi-VDAD_ALL_outbound.agi| -- callingtns = 0
2009-11-09 18:51:41|agi-VDAD_ALL_outbound.agi| -- callington = 0
2009-11-09 18:51:41|agi-VDAD_ALL_outbound.agi| -- channel = Local/33143833588@default-d4ab,1
2009-11-09 18:51:41|agi-VDAD_ALL_outbound.agi| -- context = default
2009-11-09 18:51:41|agi-VDAD_ALL_outbound.agi| -- dnid = unknown
2009-11-09 18:51:41|agi-VDAD_ALL_outbound.agi| -- enhanced = 0.0
2009-11-09 18:51:41|agi-VDAD_ALL_outbound.agi| -- extension = 8368
2009-11-09 18:51:41|agi-VDAD_ALL_outbound.agi| -- language = en
2009-11-09 18:51:41|agi-VDAD_ALL_outbound.agi| -- priority = 4
2009-11-09 18:51:41|agi-VDAD_ALL_outbound.agi| -- rdnis = unknown
2009-11-09 18:51:41|agi-VDAD_ALL_outbound.agi| -- request = agi-VDAD_ALL_outbound.agi
2009-11-09 18:51:41|agi-VDAD_ALL_outbound.agi| -- type = Local
2009-11-09 18:51:41|agi-VDAD_ALL_outbound.agi| -- uniqueid = 1257789089.42
2009-11-09 18:51:41|agi-VDAD_ALL_outbound.agi|AGI Variables: |1257789089.42|Local/33143833588@default-d4ab,1|8368|Local|V1109185129000092820|V1109185129000092820|4|
2009-11-09 18:51:41|agi-VDAD_ALL_outbound.agi|+++++ VDAD START : |92820|2009-11-09 18:51:41|1.4.26.2|4|
2009-11-09 18:51:41|agi-VDAD_ALL_outbound.agi|+++++ VDAD START LOCAL CHANNEL: EXITING- 4


And still the call doesn't reach my agent despite it is answered.
albokos
 
Posts: 143
Joined: Sat Sep 19, 2009 8:29 am

Postby williamconley » Mon Nov 09, 2009 1:54 pm

local channel rejection.

have you posted your entire setup, including how you did your install and how you upgraded to asterisk 1.4? (links to the instructions you used or the path/filename if it was included in the vici download)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20444
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)

Postby albokos » Mon Nov 09, 2009 2:11 pm

I've directly install my vicidial on asterisk 1.4 (no upgrade) i've used the scratch install tutorial (http://astguiclient.sourceforge.net/Ubuntu_Install.txt) with the svn trunk of vicidial

Once again the thing that seems crazy to me is that All i change is g729 to g723 and it works well with manual dialing. but since i change to ratio the probleme appears.

My entire config is:

asterisk 1.4.26
OS: debian 5.02
Softphone Eyebeam with alaw codec
Vicidial svn trnuk
version: VERSION: 2.0.5-202
BUILD: 90320-0309
zaptel 1.4.12
albokos
 
Posts: 143
Joined: Sat Sep 19, 2009 8:29 am

Postby williamconley » Mon Nov 09, 2009 2:29 pm

ok, to be clear:

g729 - Nothing works

g723 - manual dial (but no auto)

yes?

can i assume ulaw works the same as g723?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20444
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)

Postby albokos » Mon Nov 09, 2009 2:30 pm

Not exactly

G729 everything is ok

G723 only manual dial works

I wish asterisk to transcode from alaw to g729 while using the sip trunk
albokos
 
Posts: 143
Joined: Sat Sep 19, 2009 8:29 am

Postby williamconley » Mon Nov 09, 2009 2:56 pm

ok, i've never heard of that one before. g729 works but g723 doesn't ... how about ulaw? - oops, alaw ... where is this again?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20444
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)

Postby albokos » Mon Nov 09, 2009 3:05 pm

I've configured alaw in eyebeam so that it is used on my LAN

Then in asterisk i configure my siptrunk to use g729 (g723 now). and that's all

with G729 it work but not with 723.

this is my sip trunk config:

Code: Select all
[siptrunk]
type=friend
username=username
secret=passwd
host=sip.provider.ip
qualify=no
nat=yes
dtmfmode= rfc2833
canreinvite=yes
disallow=all
allow=g723
insecure= port,invite
albokos
 
Posts: 143
Joined: Sat Sep 19, 2009 8:29 am

Postby okli » Mon Nov 09, 2009 7:25 pm

Reading here:
http://www.voip-info.org/wiki/view/Aste ... +Licensing
G.723.1 works with Asterisk in pass-thru mode.
Which may explain why manual call works, but not auto.

Reading further:
http://www.voip-info.org/wiki/view/Aste ... +pass-thru
This means that there can be no access to Voicemail, etc

In order to ensure that it is used in this mode, pay attention to the configuration:
no T,t or monitor in the dialplan, application Dial


Even a bit further:
A typical use might be:
general]
disallow=all
allow=G723.1


Does asterisk 1.4 support g723 syntax, rather than g723.1?
Do you have the proper licenses? Are such required or do they have to be installed? Do installed (if needed) licenses allow usage of T,t, monitor, etc. ?

Or am I reading outdated information?

Bottom line- why bothering, try gsm, just kidding, not completely though :D
okli
 
Posts: 671
Joined: Mon Oct 01, 2007 5:09 pm

Postby williamconley » Mon Nov 09, 2009 8:20 pm

hey, that's great okli. and it's a good question. can you use "show translations" on the asterisk cli and see if g723 is better or worse than gsm (as far as cost at least)?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20444
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)

Postby albokos » Tue Nov 10, 2009 5:16 am

My show translation output:

Code: Select all
Asterisk*CLI> show translation
         Translation times between formats (in milliseconds) for one second of data
          Source Format (Rows) Destination Format (Columns)

          g723 gsm ulaw alaw g726aal2 adpcm slin lpc10 g729 speex ilbc g726 g722
     g723    -   4    2    2        2     2    1     3    5    10    -    2    -
      gsm    9   -    2    2        2     2    1     3    5    10    -    2    -
     ulaw    9   4    -    1        2     2    1     3    5    10    -    2    -
     alaw    9   4    1    -        2     2    1     3    5    10    -    2    -
 g726aal2    9   4    2    2        -     2    1     3    5    10    -    1    -
    adpcm    9   4    2    2        2     -    1     3    5    10    -    2    -
     slin    8   3    1    1        1     1    -     2    4     9    -    1    -
    lpc10    9   4    2    2        2     2    1     -    5    10    -    2    -
     g729    9   4    2    2        2     2    1     3    -    10    -    2    -
    speex   18  13   11   11       11    11   10    12   14     -    -   11    -
     ilbc    -   -    -    -        -     -    -     -    -     -    -    -    -
     g726    9   4    2    2        1     2    1     3    5    10    -    -    -
     g722    -   -    -    -        -     -    -     -    -     -    -    -    -



Thanks now i understand why it didn't work. i have the free version of g723 codec so. i've to purchase a g723 licence if i want to use it in predictive mode? I've already tried allow=g723.1 it doesn't work too.

But somthing is bothering me. while talking about g729 what is the difference between the licence free codec that i'm using and the official codec that digium supplies. i mean, does it affect the sound quality and the performances of the server?

Thank you all for your assistance!
albokos
 
Posts: 143
Joined: Sat Sep 19, 2009 8:29 am


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 80 guests