Thanks Mike! However, this doesn't fully solve my problem. When using sofia_contact() indeed it works ok with finding the destination's profile. However, it breaks the BLFs...
When calling *sofia/sip_profile/local-user%local-do**main* the BLF works ok. When calling sofia_contact(*sofia/sip_profile/local-u...@local-domain*<sofia/sip_profile/local-u...@local-domain>) BLF doesn't work (nothing is sent to the watching phone). Any more clues??? Thanks! __Yehavi: 2009/11/20 Michael Jerris <m...@jerris.com> > 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. > > Mike > > On Nov 18, 2009, at 12:36 AM, Eli Hayun wrote: > > > Brian West wrote: > >> > >> Why do you need to know the destination profile like that? You get to > >> pick that on your own so you should already know that before hand. > >> > >> > >> /b > >> > >> On Nov 17, 2009, at 3:03 AM, Eli Hayun wrote: > >> > >> > >>> Hi > >>> We have more then one profile. To make a call I have to enter : bridge > >>> sofia/profile/num...@ip > >>> The problem is when I use : "${use_profile}" I am getting the caller > >>> profile, and I need the destination profile. > >>> > >>> How do I get this information? > >>> > >> > > Thanks for your answer. > > > > The problem is when I call to that number that the phone hook to other > server, I cannot make the call. > > Is there is a variable that can tell me the destination profile? > > Lets say the other profile called "ph1" I have to dial > > sofia/ph1/xx...@host to make the call. Is there other way to do that? > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users@lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org >
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org