[Freeswitch-users] Call FW on phone

Miha Zoubek miha at softnet.si
Mon Jan 30 12:26:00 MSK 2012


Hi @Vitalie,

I guess this will do it, but I just have one questione. As call FW 
number is not in destination_number variable I need a help how to make a 
bridge with a contact variable (Contact: 
<sip:AAA at a.a.a.a:1024;line=bldz828o>;reg-id=1) as in this variblae CFW 
number is hidden on which call should transfer.

Thanks!

Miha

On 1/27/2012 9:24 AM, Vitalie Colosov wrote:
> And when you say "phone is set to make call FW" - are you calling to 
> this phone A from another phone which is connected to FS? (lets say 
> phone B), and Phone A is doing SIP redirect to the external number 
> which is set by you in the Phone A's settings?
>
> If so, I assume the call will enter FS, and then it depends of your 
> dialplan... You can setup it in the way that if the number does not 
> exist, or based on some prefix, it should bridge to external number 
> via sofia/external/386$1 at SBC_IP, but this should be done explicitly, 
> FS does not know that you want to forward it to the outside world...
>
> For example:
>
> <extension name="user_not_found_lets_try_external_gateway">
> <condition field="${user_exists(id ${destination_number} $${domain})}" 
> expression="false">
> <action application="bridge" 
> data="sofia/external/386${destination_number}@SBC_IP"/>
> </condition>
> </extension>
>
> Let me know if this bring more light to your issue.
>
> Vitalie
>
>
> 2012/1/26 Miha Zoubek <miha at softnet.si <mailto:miha at softnet.si>>
>
>     Hi @Vitalie,
>
>     what is here..? here is trunk to sbc with registration false
>     option (without password, just ip). Outside call I am doing like
>     this :
>
>     <action application="bridge" data="sofia/external/386$1 at SBC_IP"/>
>
>     Thanks!
>
>
>
>     On 1/27/2012 8:08 AM, Vitalie Colosov wrote:
>>     Could you please elaborate more on your topology...
>>
>>     Sip phone A (1001) --> FS --> what is here..? Where do you want
>>     it to call? Do you have an external profile with a gateway
>>     configured?
>>
>>
>>     2012/1/25 Miha Zoubek <miha at softnet.si <mailto:miha at softnet.si>>
>>
>>         Hi,
>>
>>         I have phone registered on FS and phone is set to make call FW. I
>>         noticed that FS do not make a call FW the external number but
>>         looks on
>>         FS if the phone is registered on FS (because the calling
>>         number is not
>>         on FS the call is being rejected).
>>         How to tell FS that it should make a call fw to a number that
>>         is not on FS.
>>
>>         Thanks!
>>
>>         Regards,
>>         Miha
>>
>>         --
>>         Best regards / Lep Pozdrav
>>         Miha Zoubek
>>         Softnet d.o.o.
>>
>>
>>         _________________________________________________________________________
>>         Professional FreeSWITCH Consulting Services:
>>         consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>         http://www.freeswitchsolutions.com
>>
>>         
>>         
>>
>>         Official FreeSWITCH Sites
>>         http://www.freeswitch.org
>>         http://wiki.freeswitch.org
>>         http://www.cluecon.com
>>
>>         FreeSWITCH-users mailing list
>>         FreeSWITCH-users at lists.freeswitch.org
>>         <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>         http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>         UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>         http://www.freeswitch.org
>>
>>
>>
>>
>>     _________________________________________________________________________
>>     Professional FreeSWITCH Consulting Services:
>>     consulting at freeswitch.org  <mailto:consulting at freeswitch.org>
>>     http://www.freeswitchsolutions.com
>>
>>     
>>     
>>
>>     Official FreeSWITCH Sites
>>     http://www.freeswitch.org
>>     http://wiki.freeswitch.org
>>     http://www.cluecon.com
>>
>>     FreeSWITCH-users mailing list
>>     FreeSWITCH-users at lists.freeswitch.org  <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>     http://www.freeswitch.org
>
>
>     -- 
>     Best regards / Lep Pozdrav
>     Miha Zoubek
>     Softnet d.o.o.
>
>
>     _________________________________________________________________________
>     Professional FreeSWITCH Consulting Services:
>     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>     http://www.freeswitchsolutions.com
>
>     
>     
>
>     Official FreeSWITCH Sites
>     http://www.freeswitch.org
>     http://wiki.freeswitch.org
>     http://www.cluecon.com
>
>     FreeSWITCH-users mailing list
>     FreeSWITCH-users at lists.freeswitch.org
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>     http://www.freeswitch.org
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org


-- 
Best regards / Lep Pozdrav
Miha Zoubek
Softnet d.o.o.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120130/5f28286c/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list