[Freeswitch-users] Dialplan bridge action

Brian West brian at freeswitch.org
Tue May 19 11:55:32 PDT 2009


The user/ channel uses the dial-string param on the domain or the user  
to resolve the correct target to dial.  So its like a pseudo  
channel... Which in the default configs it calls the sofia_contact api  
to get to the correct user.  In your example below with the default  
config they will not differ in who to ring but in the default I set a  
variables on the originate line for presence.


Example user/1001@$${domain} will expand this:

<param name="dial-string" value="{presence_id=${dialed_user}@$ 
{dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}"/>


dialed_user and dialed_domain are variables set inside the user/  
endpoint when you call it.

/b


On May 19, 2009, at 1:48 PM, Larry Marshall wrote:

> What are the differences between these two actions?
>
> <action application="bridge" data="USER/1001@$${domain}"/>
> <action application="bridge" data="sofia/internal/1001%$${domain}"/>
>
> Thanks, Lars

Brian West
brian at freeswitch.org

-- Meet us at ClueCon!  http://www.cluecon.com




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090519/3cfefcc1/attachment-0001.html 


More information about the Freeswitch-users mailing list