I am using IAX2 to connect 2 boxes – Box “A” and Box “B”. I can call an extension between the 2 boxes with no problem. However, when dialing from Box “A” and having Box “B” call an outside number, the call is accept but there is no audio on either side.
Asterisk CLI when Box “A” has Box “B” place an outside call.
–Call accepted by 0.0.0.0 (format ulaw)
–Format for call is ulaw
–IAX2/BoxB-peer-16387 is ringing
–IAX2/BoxB-peer-16387 is making progress passing it to SIP/701-09d600b0
–IAX2/BoxB-peer-16387 stopped sounds
–IAX2/BoxB-peer-16387 answered SIP/701-09d600b0
Does the line above, IAX2/BoxB-peer-16387 stopped sounds, mean anything. This same line appears when an extension is call, but there is no audio problem.
Would appreciate any help to get the audio to work.
Please post your Settings for the iax2-trunks
Thank you for your response. Here’s my settings.
Box A - IAX Trunk
Trunk Name: BoxB-peer
User Context: BoxB-peer
Box B - IAX Trunk
Trunk Name: BoxA-peer
User Context: BoxA-peer
before we go down the road to far, Can phones on Box B call out ok? Also provide some information on versions of things you are using (FreePBX, asterisk, OS, etc).
Yes, a phone on Box B can call out and audio is ok. I am using PBX In A Flash. Box A has Centos 5.2; Asterisk 1.4.15; and FreePBX 2.4.1, while Box B has Centos 5.2; Asterisk 126.96.36.199; and FreePBX 2.4.