<div dir="ltr"><div>Thanks Mike! However, this doesn&#39;t fully solve my problem. When using sofia_contact() indeed it works ok with finding the destination&#39;s profile. However, it breaks the BLFs...</div>
<div> </div>
<div>When calling <strong>sofia/<em>sip_profile</em>/<em>local-user</em>%<em>local-do</em></strong><em>main</em> the BLF works ok. When calling sofia_contact(<a href="mailto:sofia/sip_profile/local-user@local-domain"><strong>sofia/<em>sip_profile/local-user@local-domain</em></strong></a>) BLF doesn&#39;t work (nothing is sent to the watching phone).</div>

<div> </div>
<div>Any more clues???</div>
<div> </div>
<div>                     Thanks! __Yehavi:<br><br></div>
<div class="gmail_quote">2009/11/20 Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com">mike@jerris.com</a>&gt;</span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">check out sofia_contact function.  If you use this in combination with binding profiles together so they are one table I think this should work right.<br>
<br>Mike<br>
<div class="im"><br>On Nov 18, 2009, at 12:36 AM, Eli Hayun wrote:<br><br>&gt; Brian West wrote:<br>&gt;&gt;<br>&gt;&gt; Why do you need to know the destination profile like that?  You get to<br>&gt;&gt; pick that on your own so you should already know that before hand.<br>
&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; /b<br>&gt;&gt;<br>&gt;&gt; On Nov 17, 2009, at 3:03 AM, Eli Hayun wrote:<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;&gt; Hi<br>&gt;&gt;&gt; We have more then one profile. To make a call I have to enter : bridge<br>
&gt;&gt;&gt; sofia/profile/number@ip<br>&gt;&gt;&gt; The problem is when I use : &quot;${use_profile}&quot; I am getting the caller<br>&gt;&gt;&gt; profile, and I need the destination profile.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; How do I get this information?<br>
&gt;&gt;&gt;<br>&gt;&gt;<br></div>
<div>
<div></div>
<div class="h5">&gt; Thanks for your answer.<br>&gt;<br>&gt; The problem is when I call to that number that the phone hook to other server, I cannot make the call.<br>&gt; Is there is a variable that can tell me the destination profile?<br>
&gt; Lets say the other profile called &quot;ph1&quot; I have to dial<br>&gt; sofia/ph1/xxxxx@host to make the call. Is there other way to do that?<br><br><br>_______________________________________________<br>FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div></div>