No sound on pickup, but works after hold on/off

General discussions about Asterisk.

Moderators: Moderator, Support

No sound on pickup, but works after hold on/off

Postby mangot » Thu May 10, 2012 10:14 am

Hello,

I am newbie in Asterisk, and facing strange behaviour on two implementations I make in parallel :

I have the minimum configuration for sip.conf and extensions.conf, that permit to register two local sip softphones, play echotest and Dial the two softphone.

The two softphones work fine with echotest.

When I dial a softphone from the other one, the second rings well, and I can pickup the call and establish the connection.

The problem is that at this state I have no sound between the phones.

If I put the call on hold from one of the phones, the second one has the music on hold, and when I quit the hold, then the sound works fine between the two phones.

Surely I made something wrong in my installation process, for my two implementations have the same behaviour, but, after a lot of forum digging, I do not see where to look.

Any idea would be appreciated.

Olivier
mangot
Newsterisk
 
Posts: 4
Joined: Thu May 10, 2012 10:02 am

Re: No sound on pickup, but works after hold on/off

Postby david55 » Thu May 10, 2012 10:34 am

I would look around the setting of directmedia. Note that some soft phones will violate the protocol, causing the call to drop, if you try to use direct media.
david55
Moves Like Spencer
 
Posts: 7738
Joined: Fri Sep 26, 2008 5:03 am

Re: No sound on pickup, but works after hold on/off

Postby mangot » Thu May 10, 2012 11:27 am

Hi David,

You pointed it exactly.

I just changed the canreinvite setting in my sip.conf file from no to yes, and now everything is ok.

Thank you so much for saving me time.

Now I will take time to RTFM, and understand the meaning of the parameters.

Thanks again,

Olivier
mangot
Newsterisk
 
Posts: 4
Joined: Thu May 10, 2012 10:02 am

Re: No sound on pickup, but works after hold on/off

Postby david55 » Thu May 10, 2012 5:18 pm

Actually I was expecting the opposite change to help! If directmedia = no doesn't work, there is a fairly serious problem somewhere. The canreinvite name for this parameter is depreacted.
david55
Moves Like Spencer
 
Posts: 7738
Joined: Fri Sep 26, 2008 5:03 am


Return to Asterisk General

Who is online

Users browsing this forum: No registered users and 6 guests