[ previous ] [ next ] [ threads ]
 To :  Marian Podgoreanu <marian@v...>
 From :  Tusar <tusarbd@g...>
 Subject :  Re: [yate] Ringback tone generate ONLY where earlymedia=false
 Date :  Tue, 12 May 2015 14:16:07 +0600
Hi,

Sorry, I did not understood it.
It is perfectly workings :-)

Thanks a lot.

BR,
Tusar


On Tue, May 12, 2015 at 12:39 PM, Marian Podgoreanu 
wrote:

> Hi,
>
> See my previous response.
> Note the star in tone target: instructs the tone to auto repeat.
>
> Marian
>
> On 11.05.2015 17:32, Tusar wrote:
>
>> Hi,
>>
>> Thanks for your help.
>>
>> [call.ringing]
>> ${earlymedia}^false$=enqueue chan.masquerade;\
>> message=chan.attach;\
>> id=${peerid};\
>> replace=tone/ring;\
>> autorepeat=true;
>>
>> I can hear ringback only ONCE, however I have set "autorepeat=true".
>> Seems "autorepeat" is not working or I am missing something.
>>
>> Would you please help me to solve this problem.
>>
>> BR.
>>
>>
>> On Mon, May 11, 2015 at 1:00 PM, Marian Podgoreanu > > wrote:
>>
>>     Hi,
>>
>>     Use a replace source in incoming call leg.
>>     Note the star in tone target: instructs the tone to auto repeat.
>>
>>     [call.ringing]
>>     ${earlymedia}^false$=enqueue chan.masquerade; \
>>          message=chan.attach; \
>>          id=${peerid}; \
>>          replace=tone/*ring
>>
>>     Marian
>>
>>
>>     On 07.05.2015 15:51, Tusar wrote:
>>
>>         Hi,
>>
>>         I am trying set early media ringback tone ONLY where
>>         earlymedia=false.
>>
>>
>>         [extra]
>>         call.ringing=80
>>
>>         [call.ringing]
>>         ${earlymedia}^false$=dispatch
>>         chan.masquerade;message=chan.attach;id=${id};source=tone/ring
>>
>>         [default]
>>         ${rtp_forward}possible=;rtp_forward=no
>>         ${formats}^\([^,]*\)=;formats=
>>         .*=fork
>>         sip/sip:@1...:5060
>>         > >;xsip_auth_bye=false;fork.calltype=persistent;fork.autoring=true;fork.automessage=call.progress
>>
>>
>>         That is working fine and I am getting ringback tone. But even
>> after
>>         answer the call, I am still getting ringback tone.
>>
>>         Howto stop ringback tone just after answer the call ?
>>
>>         Thanks in advance.
>>
>>
>>         BR,
>>         Tusar
>>
>>
>>



Hi,

Sorry, I did not understood it.
It is perfectly workings :-)

Thanks a lot.

BR,
Tusar


On Tue, May 12, 2015 at 12:39 PM, Marian Podgoreanu <marian@v...> wrote:
Hi,

See my previous response.
Note the star in tone target: instructs the tone to auto repeat.

Marian

On 11.05.2015 17:32, Tusar wrote:
Hi,

Thanks for your help.

[call.ringing]
${earlymedia}^false$=enqueue chan.masquerade;\
message=chan.attach;\
id=${peerid};\
replace=tone/ring;\
autorepeat=true;

I can hear ringback only ONCE, however I have set "autorepeat=true".
Seems "autorepeat" is not working or I am missing something.

Would you please help me to solve this problem.

BR.


On Mon, May 11, 2015 at 1:00 PM, Marian Podgoreanu <marian@v...
<mailto:marian@v...>> wrote:

    Hi,

    Use a replace source in incoming call leg.
    Note the star in tone target: instructs the tone to auto repeat.

    [call.ringing]
    ${earlymedia}^false$=enqueue chan.masquerade; \
         message=chan.attach; \
         id=${peerid}; \
         replace=tone/*ring

    Marian


    On 07.05.2015 15:51, Tusar wrote:

        Hi,

        I am trying set early media ringback tone ONLY where
        earlymedia=false.


        [extra]
        call.ringing=80

        [call.ringing]
        ${earlymedia}^false$=dispatch
        chan.masquerade;message=chan.attach;id=${id};source=tone/ring

        [default]
        ${rtp_forward}possible=;rtp_forward=no
        ${formats}^\([^,]*\)=;formats=
        .*=fork
        sip/sip:\0@1...:5060
        <http://0@1...:5060>;xsip_auth_bye=false;fork.calltype=persistent;fork.autoring=true;fork.automessage=call.progress


        That is working fine and I am getting ringback tone. But even after
        answer the call, I am still getting ringback tone.

        Howto stop ringback tone just after answer the call ?

        Thanks in advance.


        BR,
        Tusar