Author Topic: Change codec order in IPCS  (Read 5270 times)

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Change codec order in IPCS
« on: December 11, 2009, 11:26:57 PM »
Hi guys,
I'm facing an issue with ASR and IPCS, my PBX has as default Law Alaw so ASR doesn't work, if I change it to muLaw then it works fine but other integrations will stop working. So my only chance is to change the G711 codec order in GVP, I can't find where to do this, on docus it mention that is possible using IPCM but I don't have such component...any ideas?
Thanks

Ian DS_

  • Guest
Re: Change codec order in IPCS
« Reply #1 on: December 13, 2009, 07:45:42 AM »
what pabx is it? on an avaya for instance you could actually tell it to change codec based on the ip address / network region

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: Change codec order in IPCS
« Reply #2 on: December 13, 2009, 04:37:56 PM »
Nop it is an OXE, as already mentioned, I can change the codec in the OXE but will screw other SIP integrations.

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Change codec order in IPCS
« Reply #3 on: December 14, 2009, 10:23:56 AM »
Hi Cav,

Not sure I do understand your question - would not it be easier to change expected codec on ASR side?

R.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: Change codec order in IPCS
« Reply #4 on: December 14, 2009, 03:55:53 PM »
Well, you will see René, when I do SIP trace in my PBX if the default Law is ALaw I see no event over the RTP, however if I change the PBX to muLaw then I do see the events that trigger the voice detection. I have done the same tests with SJPhone enabling only one codec per time and happens exactly the same, if use ALaw it won't work, if I use muLaw it works fine.
So, in ASR (Nuance Speech Recognizer) how do I change the codec? Have looked at the config files and couldn't find anything. I'm using Media Server on the middle (SWMS)

Offline GenesysNewbie

  • Full Member
  • ***
  • Posts: 225
  • Karma: -1
Re: Change codec order in IPCS
« Reply #5 on: December 14, 2009, 04:03:42 PM »
Hi Cav,

If ur gvp is sip, it means u use audiocode too ( or  al least sth similar).

Audiocode delievers only sip messages to gvp, i think u can not work in other scenario.

Hope this helps.


Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Change codec order in IPCS
« Reply #6 on: December 14, 2009, 09:44:55 PM »
Hi Cav,

Check the parameters "swiep_audio_environment" and "swirec_audio_media_type" in Nuance configuration files (SW_CONFIG_FILE and user's xml file).

R.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: Change codec order in IPCS
« Reply #7 on: December 14, 2009, 11:29:48 PM »
Nop, didn't work...still think it has to be on IPCS side as it is the one that sends later the trap to SWMS but if it is not catching anything then it is pointless.

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Change codec order in IPCS
« Reply #8 on: December 15, 2009, 04:02:05 PM »
Hi Cav,

I think these are the only options available in Nuance OSR allowing you to change expected codec. I had some issue with ASR codec in past and once we changed these option everything started working correctly.

If you don't see any RTP traffic then something is wrong with integration between OXE and GVP. What version of OXE and GVP do you have?

R.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: Change codec order in IPCS
« Reply #9 on: December 15, 2009, 04:13:43 PM »
Problem solved  ;D
There is a hidden parameter that you need to add:

[quote]
You have to add a new attribute in the MCU>NativeRTP section called codec and then add pcmu or pcma depending on which codec you want to use.
[/quote]

I did and everything works fine now  ;)

Thanks