[asterisk-users] One way sound when Using Dial cmd without "t" option (SOLVED) Need explanation

Mohammad A. Navid manavid at gmail.com
Sat May 17 06:47:32 CDT 2008


I'm implementing a simple calling card feature for testing purpose. I have a
DID number, when I called my DID number and enter the phone number to call,
Asterisk would dial the number for me but the sound was only one way.
After hours of struggling with the problem, I found out that I need to add
"t" to my dial options, this is the correct way of dialing out:

 -> Dial(SIP/carrier/3105555555|20|t)

Now I need to know what was going on? Why with option "t" both parties can
hear each other, but without option "t" in dial cmd only one party could
hear?

Another interesting issue is, if I use Answer() command at the begining the
sound becomes one way even if I use "t" in options.


One more interesting thing, my carrier for calling out only accepts G7.29
where as my DID provider passes calls as ulaw. However, when using
voipjet.com (as secondary carrier) which carries out the calls as ulaw,
having the Dial cmd without "t" option works fine.

I'd appreciate if someone explain to me the following questions:
 1) Why when there is codec difference, Dial cmd needs the "t" option
 2) Why using Answer cmd causes problem in this case (all the cases, when
using same codec and also different codecs)
 3) Why with same codecs, Dial cmd does not need "t" option?

Thanks

Moe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080517/01f4594a/attachment.htm 


More information about the asterisk-users mailing list