all,

i'm having a problem where a callee is unable to hear the caller,
but the caller can hear the callee perfectly well.

the call is processed as follows:

1. caller dials into zap-1 via a pri line ( using chan_zap )

2. zap-1 connects to iax-1 over an iax channel
    > Dial(IAX2/[EMAIL PROTECTED])

3. iax-1 plays the user a prompt using Playback()
    > Playback(beep)

4. iax-1 dials zap-2 over an iax channel
    > Dial(IAX2/[EMAIL PROTECTED]/home)

5. zap-2 dials an outside number using chan_zap
    > Dial(ZAP/g1/2125551212)
   

here's the wierd part: if i remove the Playback() from the iax-1 dialplan,
both the caller and the callee can hear one another fine.

but for some reason, though, after Playback() is called in the dialplan,
the connection breaks down.

i've run ethereal on all the servers and packets _are_ going
back and forth as expected.

( i should mention it's not just Playback(), i replaced Playback()
with Wait() and had the same problem. )

i also changed the diaplan on zap-2 to record the call instead dialing out.
    > Record(/tmp/incoming_call.wav)
   
the behavior with Record() was consistent with the Dial() problem:
when Playback() was called on iax-1, the recorded file was empty
( except for the RIFF header ), and when i removed Playback(),
the file recorded properly.

i'm guessing the problem is somewhere in chan_iax2.
maybe a state flag? or something? i'm kinda lost now...

any tips or pointers would be greatly appreciated!

jeff oconnell
[EMAIL PROTECTED]

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to