On 01/18/2012 01:44 AM, shalu dhamija wrote:
Hello,
I am trying to deposit a voicemail message(using voicemail()
application) for a subscriber using asterisk-1.8.7.1. But i am facing
aproblem in the rtp port allocation for a session due to which '488 Not
Acceptable' response is sent towards the client end. Following are error
messages:
[Jan 18 12:43:59] ERROR[19164] res_rtp_asterisk.c: Failed to Allocate
port 7660 for RTP instance '0x1a75ab98'
[Jan 18 12:43:59] ERROR[19164] res_rtp_asterisk.c: Oh dear... we
couldn't allocate a port (x=7662)7660 for RTP instance '0x1a75ab98'.
errno 99
[Jan 18 12:43:59] DEBUG[19164] rtp_engine.c: Engine 'asterisk' failed to
setup RTP instance '0x1a75ab98'
[Jan 18 12:43:59] DEBUG[19164] rtp_engine.c: Destroyed RTP instance
'0x1a75ab98'
[Jan 18 12:43:59] DEBUG[19164] chan_sip.c: ERROR: failed to allocate rtp
instance
[Jan 18 12:43:59] DEBUG[19164] chan_sip.c: Could not initialize RTP
instance for dialog: [email protected]
<mailto:[email protected]>
Please find attached the log file for more information.
The messages you've posted above don't appear to match what is in the
Asterisk source code; if you've modified res_rtp_asterisk.c, then we
can't tell you what is wrong if your changes are at fault.
However, on the surface this looks very simple: there aren't any RTP
ports available for the channel Asterisk was trying to setup. Either you
need to increase the block of ports defined in rtp.conf to make more
ports available, or you need to ensure that no other application on the
system is using the same ports, or both.
--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: [email protected] | SIP: [email protected] | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com & www.asterisk.org
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users