"rtp.c unknown rtp codec 126 received from" error in asterisk

Friday, April 20, 2012

We have received an error while trying to forward a TDM call to a softphone like XLite through Asterisk. After a lot of struggle, we have figured out the answer as below,

1. Turn off your firewall settings (both Asterisk server)
2. Use the same audio codec you are using in the asterisk.
3. Configure your softphone in asterisk sip.conf as below,
  
[101]
type=friend
username=101
secret=101
host=dynamic
context=init ;my context name. give yours if you want to.
nat=yes
disallow=all
allow=GSM
allow=alaw
allow=ulaw

 4. Make sure that you are using the same codec in your softphone preferably GSM.
 5. It worked like a charm.

Thank you!

500 internal server error : Applicationpool

Wednesday, April 11, 2012

Problem:
I have an urgent scenario which is my site is down now due to an application pool error. i have moved my site recently to another vendor. after configuring the DNS, i am getting 500 error when i use asp.net 4.0 classic app pool. but when i use integrated, it gives me a httpcontext error which is related to the global.asax.

Answer:
Created an Application pool identity as IWPD_1 with asp.net 4.0 classic. Then it worked.