NAT involved?

/b

On Jan 16, 2009, at 3:30 PM, Will Smith wrote:

Thank you Brian,
 
The problem is very simple, I or the other party cannot hear each other when I first dial and the other party picks up the phone. We hear the phone ring, the other end picks up the phone says something, but I cannot hear - nothing, even static. Same thing happen on my end, I say something, and the other end do  not hear a thing. When I  put the call on hold,  the other end can hear music on hold. When I take the call back, now we can talk. Something does not go through when the other end picks up the call.
This is the extension in the dialplan/default.xml
 
<extension name="mygateway">
    <condition field="destination_number" expression="^(1{0,1}\d{10})$">
      <action application="set" data="effective_caller_id_number=12223334444"/>
      <!-- If your provider does not provide ringback (180 or 183) you may simulate
        ringback by uncommenting the following line. -->
      <!-- action application="ringback" /-->
      <action application="bridge" data="sofia/gateway/mygw/$1"/>
     </condition>
   </extension>