Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo
Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba
by iulianm » Wed Feb 02, 2011 5:01 am
Hello
I am using ViciBOX 3.0.8 64 bit
I am trying to add a vicidial 2nd asterisk server ; everything works ok ; I see that the trunks between the 2 vicidial are generated automatically and I cannot find where to change the codec for the IAX2 trunk between the servers....
iax-vicidial.conf
- Code: Select all
....
type=friend
requirecalltoken=no
context=default
auth=plaintext
host=dynamic
permit=0.0.0.0/0.0.0.0
disallow=all
allow=ulaw
qualify=yes
-
iulianm
-
- Posts: 36
- Joined: Thu Nov 25, 2010 6:26 am
- Location: Romania
by mflorell » Wed Feb 02, 2011 6:41 am
Why would you want to change the codec between servers?
-
mflorell
- Site Admin
-
- Posts: 18387
- Joined: Wed Jun 07, 2006 2:45 pm
- Location: Florida
-
by iulianm » Wed Feb 02, 2011 2:20 pm
Good question.
I just want to use something standard.
-
iulianm
-
- Posts: 36
- Joined: Thu Nov 25, 2010 6:26 am
- Location: Romania
by middletn » Thu Feb 03, 2011 6:04 pm
mflorell wrote:Why would you want to change the codec between servers?
If as in one of my installations, the trunks use gsm, i've seen errors where the call is dropped because the codecs don't match (asterisk 1.4.21.2) something along the lines, codec changed, was gsm now ulaw
regards
-
middletn
-
- Posts: 34
- Joined: Fri Apr 18, 2008 3:27 pm
by iulianm » Mon Feb 07, 2011 6:12 am
What happens it's strange
My agents use gsm as a codec; My VoIP provider also use gsm If I let the codec for the IAX2 trunk ( on both servers )to ulaw/alaw I get the error:
[Feb 7 12:08:22] Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: ACK
[Feb 7 12:08:22] Timestamp: 00018ms SCall: 00682 DCall: 04866 [192.168.4.54:4569]
[Feb 7 12:08:22] Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: REJECT
[Feb 7 12:08:22] Timestamp: 00011ms SCall: 00682 DCall: 04866 [192.168.4.54:4569]
[Feb 7 12:08:22] CAUSE : Unable to negotiate codec
[Feb 7 12:08:22] CAUSE CODE : 58
If I change to codec to gsm .. as the agents have it's ok
Seems like it's not making transcoding from gsm to ulaw/alaw
-
iulianm
-
- Posts: 36
- Joined: Thu Nov 25, 2010 6:26 am
- Location: Romania
by iulianm » Mon Feb 07, 2011 6:53 am
I solved the problem ; Even if I specify manual the codec on the trunk it seems that
- Code: Select all
disallow=all
allow=gsm
in the /etc/asterisk/iax.conf overrides it.
-
iulianm
-
- Posts: 36
- Joined: Thu Nov 25, 2010 6:26 am
- Location: Romania
Return to ViciBox Server Install and Demo
Who is online
Users browsing this forum: No registered users and 79 guests