Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

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


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
manavid at gmail.com
Guest





PostPosted: Sat May 17, 2008 6:47 am    Post subject: [asterisk-users] One way sound when Using Dial cmd without & Reply with quote

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
Back to top
anthonyf at rockynet.com
Guest





PostPosted: Mon May 19, 2008 7:35 am    Post subject: [asterisk-users] One way sound when Using Dial cmd without & Reply with quote

The t, much like reinvite = no keeps asterisk listening to the audio
stream to detect dtmf input if dtmf mode is in-band,
what is happening is that the sip reinvite is failing, due to a firewall
rule or a routing problem and you end up with only one connected RTP stream.
Asterisk does not "require" the t option.

Anthony

Moe Navid wrote:
Quote:
Thanks Tony for you reply.

Do you have any idea why Asterisk require "t" in Dial command?

Cheers,

Moe

On Sun, May 18, 2008 at 1:14 AM, Tony Mountifield
<tony at softins.clara.co.uk <mailto:tony at softins.clara.co.uk>> wrote:

In article
<28749f210805170447w7e2da378vb11d12bdf8dd4b81 at mail.gmail.com
<mailto:28749f210805170447w7e2da378vb11d12bdf8dd4b81 at mail.gmail.com>>,
Mohammad A. Navid <manavid at gmail.com <mailto:manavid at gmail.com>>
wrote:
Quote:

I'm implementing a simple calling card feature for testing
purpose. I have a
Quote:
DID number, when I called my DID number and enter the phone
number to call,
Quote:
Asterisk would dial the number for me but the sound was only one
way.
Quote:
After hours of struggling with the problem, I found out that I
need to add
Quote:
"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
Quote:
hear each other, but without option "t" in dial cmd only one
party could
Quote:
hear?

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

Try adding "reinvite=no" to the sip.conf or users.conf definition
for your
SIP service provider.

Cheers
Tony
--
Tony Mountifield
Work: tony at softins.co.uk <mailto:tony at softins.co.uk> -
http://www.softins.co.uk
Play: tony at mountifield.org <mailto:tony at mountifield.org> -
http://tony.mountifield.org

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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


------------------------------------------------------------------------

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services