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

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