IAX2 call no audio


#1

I have 2 Asterisk servers with a Cisco 7960 connected at each.

One server is Asterisk CVS-v1-0-07, the other, Asterisk 1.2.2.

I have my iax.confs to accept inbound call as follows -

[office]
type=user
username=office
secret=
context=local

My extensions.conf contains the following DIAL command

outbound call

[outbound-iax]
Dial(IAX2/office:@/200)

incoming call (receiving server)

[Inbound-iax]
exten => 200,1,Dial(SIP/${ARG1},20)

The Cisco 7960 rings and if not answered the caller is redirected to voicemail. However, if the someone at the receiving server, picks up the phone, there is no audio whatsoever.

This is what I see from the CLI on the recieving server -

-- Accepting AUTHENTICATED call from 130.13.171.42:
   > requested format = gsm,
   > requested prefs = (),
   > actual format = ulaw,
   > host prefs = (ulaw|alaw|gsm),
   > priority = mine
-- Executing Macro("IAX2/130.13.171.42:60001-1", "oneline|200") in new stack
-- Executing Dial("IAX2/130.13.171.42:60001-1", "SIP/200|20") in new stack
-- Called 200
-- SIP/200-57ce is ringing
-- SIP/200-57ce answered IAX2/130.13.171.42:60001-1

From the server where the call originated -

-- Remote UNIX connection
-- Executing Dial("SIP/110-028c", "IAX2/office:passwd@phone.cronusllc.gotdns.com/200") in new stack
-- Called office:passwd@phone.cronusllc.gotdns.com/200
-- Call accepted by 130.13.34.225 (format ulaw)
-- Format for call is ulaw
-- IAX2/office-out/1 is ringing
-- IAX2/office-out/1 stopped sounds
-- IAX2/office-out/1 answered SIP/110-028c
-- Hungup 'IAX2/office-out/1'

I have permitted traffic on 4569 through the firewall on both sides.

I have read several articles on voip-info.org with no luck.

Any help would be greatly appreciated.


#2

forums.digium.com/viewtopic.php? … highlight=