[Freeswitch-dev] Send sound in a conference

Cédric Clavier cedric at saooti.com
Tue Jan 23 16:17:18 UTC 2018


Hello everybody,

 

I’m in trouble with freeswitch, there must be something i didn’t understood but i don’t know what.

 

I want to add a user (no importance who it is (phone-number, name)) into a conference and this user job is to send sound into the conference (based on the http://lists.freeswitch.org/pipermail/freeswitch-users/2015-July/114783.html)

Another part of his job is to keep the conference alive even if there is nobody inside

 

So I did the following

 

In the internal dialplan i put

 

{{{

<extension name="playmedia">
    <condition field="destination_number" expression="^ playmedia $">
            <action application="endless_playback" data="/home/toto/medias/media.mp3" />
    </condition>

</extension>

}}}

 

And then I try in the conference to make a call to this dialplan from a conference

{{{

conference 146806@[sip_profile_in_use] dial sofia/internal/playmedia

}}}

 

Normally the default user is used to make the call no ?

 

The result of my command line is

{{{

2018-01-23 17:14:49.282641 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables

2018-01-23 17:14:49.282641 [WARNING] mod_sofia.c:4664 Cannot locate registered user playmedia at internal

2018-01-23 17:14:49.282641 [NOTICE] mod_sofia.c:4918 Close Channel N/A [CS_NEW]

2018-01-23 17:14:49.282641 [DEBUG] switch_core_state_machine.c:741 () Running State Change CS_DESTROY (Cur 0 Tot 27)

2018-01-23 17:14:49.282641 [DEBUG] switch_core_state_machine.c:751 (N/A) State DESTROY

2018-01-23 17:14:49.282641 [DEBUG] mod_sofia.c:343 N/A SOFIA DESTROY

2018-01-23 17:14:49.282641 [DEBUG] switch_core_state_machine.c:751 (N/A) State DESTROY going to sleep

2018-01-23 17:14:49.282641 [NOTICE] switch_ivr_originate.c:2851 Cannot create outgoing channel of type [sofia] cause: [USER_NOT_REGISTERED]

2018-01-23 17:14:49.282641 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED]

}}}

 

I don’t understand what happen.

 

Thank in advance for your answers.

 

Cédric Clavier

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20180123/a84d2895/attachment.html>


More information about the FreeSWITCH-dev mailing list