Re: [Freeswitch-users] How do I know the destination profile name?

2009-12-02 Thread Yehavi Bourvine
BTW, I forgot to update: I changed the bridge parameters to use sofia_contact() and it solved the problem. I also fixed the presence problem I had before with sofia_contact() (added presence_id to the bridge command). Regards, __Yehavi: 2009/11/24 Yehavi Bourvine

Re: [Freeswitch-users] How do I know the destination profile name?

2009-11-24 Thread Yehavi Bourvine
Hello Anthony, Indeed I see the reference to this channel variable in the code, but when trying to access it from the dial plan it is empty... I try to get the value of ${sip_profile_name} and it is empty. Thanks! __Yehavi: 2009/11/23 Anthony Minessale

Re: [Freeswitch-users] How do I know the destination profile name?

2009-11-23 Thread Brian West
Because if you dial local-u...@local-domain thats not the correct way this will usually trigger a call out and back in on the profile thus moving you one leg away from the actual user. If you're going to do that use sofia_contact and review how the defaults abstract this so you can just

Re: [Freeswitch-users] How do I know the destination profile name?

2009-11-23 Thread Anthony Minessale
Let's just do this: r15629 or higher look for sip_profile_name On Tue, Nov 17, 2009 at 3:03 AM, Eli Hayun eliha...@gmail.com 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

Re: [Freeswitch-users] How do I know the destination profile name?

2009-11-21 Thread Yehavi Bourvine
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

Re: [Freeswitch-users] How do I know the destination profile name?

2009-11-19 Thread Michael Jerris
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

[Freeswitch-users] How do I know the destination profile name?

2009-11-17 Thread Eli Hayun
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 Eli

Re: [Freeswitch-users] How do I know the destination profile name?

2009-11-17 Thread Brian West
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

Re: [Freeswitch-users] How do I know the destination profile name?

2009-11-17 Thread Yehavi Bourvine
Hello Brian, the situation is as follows: Our PBX machine has more than one interface, each one has a profile. Some phones are registered via one interface and tje others on the other. The call should be sent usinbg the profile of the destination as if not, the IP address of the server in the

Re: [Freeswitch-users] How do I know the destination profile name?

2009-11-17 Thread Eli Hayun
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