View previous topic :: View next topic |
Author |
Message |
brad.tuan at gmail.com Guest
|
Posted: Mon Jun 01, 2009 10:06 pm Post subject: [Freeswitch-users] How to pass a call from one FS to another |
|
|
This question can be separated into two part: 1.Pass a call to another FS
2.Receive a call from another FS Somebody can tell me how to do these??
Please.............
-Brad |
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Mon Jun 01, 2009 10:23 pm Post subject: [Freeswitch-users] How to pass a call from one FS to another |
|
|
Try using a telephone?
On Mon, Jun 1, 2009 at 10:02 PM, Brad Tuan <brad.tuan@gmail.com (brad.tuan@gmail.com)> wrote:
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
brad.tuan at gmail.com Guest
|
Posted: Mon Jun 01, 2009 10:48 pm Post subject: [Freeswitch-users] How to pass a call from one FS to another |
|
|
Quote: | Quote: | This question can be separated into two part:
|
| >> 1.Pass a call to another FS
Quote: | uuid_deflect or uuid_transfer, depending on whether the call has been answered
by the first FS instance or not. See the wiki.
| >> 2.Receive a call from another FS
Quote: | Provide a dial plan entry in the second FS that handles the call appropriately
after the deflect or transfer.
|
Quote: | You haven't explained what you're trying to do - a general question warrants a
general answer. I am assuming the call is arriving at one FS system, and
(before or after answering it), you want to move it to another FS system.
That's the question I've answered above. The wiki documents the syntax.
|
SorrySorry,let me explain my question.
When User1( User of FS1 ) call User2( User of FS2 ) ,
FS1 will pass the call to FS2 before answering,
and then User1 can talk with User2.
-Brad |
|
Back to top |
|
|
brad.tuan at gmail.com Guest
|
Posted: Tue Jun 02, 2009 12:38 am Post subject: [Freeswitch-users] How to pass a call from one FS to another |
|
|
I have tried
<extension name="remoteFreeswitch">
<condition field="destination_number" expression="^014(\d+)$">
<action application="bridge" data="sofia/external/$1 at 192.168.141.187:5080"/>
</condition>
</extension>
But the console moniter return :
[INFO] mod_dialplan_xml.c:233 dialplan_hunt() Processing 1001->01497710001 in context default
[WARNING] mod_sofia.c:2546 sofia_outgoing_channel() Cannot locate registered user 97710001 at 192.168.141.187:5080@external
[NOTICE] mod_sofia.c:2642 sofia_outgoing_channel() Close Channel N/A [CS_NEW]
[ERR] switch_ivr_originate.c:1425 switch_ivr_originate() Cannot create outgoing channel of type [sofia] cause: [USER_NOT_REGISTERED]
[INFO] mod_dptools.c:1998 audio_bridge_function() OriginateFailed. Cause: USER_NOT_REGISTERED
I am sure that 97710001 is a online user on "192.168.141.187", What's wrong?? |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Tue Jun 02, 2009 12:45 am Post subject: [Freeswitch-users] How to pass a call from one FS to another |
|
|
http://wiki.freeswitch.org/wiki/Dialplan_XML#SIP-Specific_Dialstrings
If you're trying to call a registered user that is NOT the way to do it.
sofia/profile/user%domain
/b
On Jun 2, 2009, at 12:35 AM, Brad Tuan wrote:
Quote: | I have tried
<extension name="remoteFreeswitch">
<condition field="destination_number" expression="^014(\d+)$">
<action application="bridge" data="sofia/external/$1 at 192.168.141.187:5080"/>
</condition>
</extension>
But the console moniter return :
[INFO] mod_dialplan_xml.c:233 dialplan_hunt() Processing 1001->01497710001 in context default
[WARNING] mod_sofia.c:2546 sofia_outgoing_channel() Cannot locate registered user 97710001 at 192.168.141.187:5080@external
[NOTICE] mod_sofia.c:2642 sofia_outgoing_channel() Close Channel N/A [CS_NEW]
[ERR] switch_ivr_originate.c:1425 switch_ivr_originate() Cannot create outgoing channel of type [sofia] cause: [USER_NOT_REGISTERED]
[INFO] mod_dptools.c:1998 audio_bridge_function() OriginateFailed. Cause: USER_NOT_REGISTERED
I am sure that 97710001 is a online user on "192.168.141.187", What's wrong??
_______________________________________________
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
|
Brian West
brian@freeswitch.org
-- Meet us at ClueCon! http://www.cluecon.com |
|
Back to top |
|
|
brad.tuan at gmail.com Guest
|
Posted: Tue Jun 02, 2009 1:19 am Post subject: [Freeswitch-users] How to pass a call from one FS to another |
|
|
Like this??
> <extension name="remoteFreeswitch">
> <condition field="destination_number" expression="^014(\d+)$">
> <action application="bridge" data="sofia/${use_profile}/$1%192.168.141.187"/>
> </extension>
I have tried,but Fs still return:
[INFO] mod_dialplan_xml.c:233 dialplan_hunt() Processing 1001->01497710001 in context default
[WARNING] mod_sofia.c:2534 sofia_outgoing_channel() Cannot locate registered user 97710001@192.168.141.187 (97710001@192.168.141.187)
[NOTICE] mod_sofia.c:2642 sofia_outgoing_channel() Close Channel N/A [CS_NEW]
[ERR] switch_ivr_originate.c:1425 switch_ivr_originate() Cannot create outgoing channel of type [sofia] cause: [USER_NOT_REGISTERED]
[INFO] mod_dptools.c:1998 audio_bridge_function() OriginateFailed. Cause: USER_NOT_REGISTERED
[NOTICE] mod_dptools.c:2030 audio_bridge_function() Hangup sofia/internal/1001@192.168.141.182 ([email]sofia/internal/1001@192.168.141.182[/email]) [CS_EXECUTE] [USER_NOT_REGISTERED] |
|
Back to top |
|
|
brad.tuan at gmail.com Guest
|
Posted: Tue Jun 02, 2009 1:38 am Post subject: [Freeswitch-users] How to pass a call from one FS to another |
|
|
I have tried
<extension name="transfer_to_MeiLan">
<condition field="destination_number" expression="^014(\d+)$">
<action application="bridge" data="sofia/internal/$1%192.168.141.187"/>
</condition>
</extension>
But FS still return the same message........
[WARNING] mod_sofia.c:2534 sofia_outgoing_channel() Cannot locate registered user 97710001@192.168.141.187 (97710001@192.168.141.187)
[NOTICE] mod_sofia.c:2642 sofia_outgoing_channel() Close Channel N/A [CS_NEW]
[ERR] switch_ivr_originate.c:1425 switch_ivr_originate() Cannot create outgoing channel of type [sofia] cause: [USER_NOT_REGISTERED]
[INFO] mod_dptools.c:1998 audio_bridge_function() OriginateFailed. Cause: USER_NOT_REGISTERED
[NOTICE] mod_dptools.c:2030 audio_bridge_function() Hangup sofia/internal/1001@192.168.141.182 ([email]sofia/internal/1001@192.168.141.182[/email]) [CS_EXECUTE] [USER_NOT_REGISTERED] |
|
Back to top |
|
|
brad.tuan at gmail.com Guest
|
Posted: Tue Jun 02, 2009 4:02 am Post subject: [Freeswitch-users] How to pass a call from one FS to another |
|
|
the same message........
2009-06-02 16:49:01 [INFO] mod_dialplan_xml.c:233 dialplan_hunt() Processing 100
1->97710001 in context default
2009-06-02 16:49:01 [WARNING] mod_sofia.c:2546 sofia_outgoing_channel() Cannot l
ocate registered user 97710001 at 192.168.141.187@internal ([email]192.168.141.187@internal[/email])
2009-06-02 16:49:01 [NOTICE] mod_sofia.c:2642 sofia_outgoing_channel() Close Cha
nnel N/A [CS_NEW]
2009-06-02 16:49:01 [ERR] switch_ivr_originate.c:1425 switch_ivr_originate() Can
not create outgoing channel of type [sofia] cause: [USER_NOT_REGISTERED]
2009-06-02 16:49:01 [INFO] mod_dptools.c:1998 audio_bridge_function() Originate
Failed. Cause: USER_NOT_REGISTERED
2009/6/2 Jason White <jason@jasonjgw.net (jason@jasonjgw.net)>
|
|
Back to top |
|
|
krice at suspicious.org Guest
|
Posted: Tue Jun 02, 2009 4:14 am Post subject: [Freeswitch-users] How to pass a call from one FS to another |
|
|
Dumb question... Is 187 the local fs machine? You should have the IP address of the remote FS machine From: Brad Tuan <brad.tuan@gmail.com> Reply-To: <freeswitch-users@lists.freeswitch.org> Date: Tue, 2 Jun 2009 17:00:29 +0800 To: <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] How to pass a call from one FS to another FS ?? the same message........ 2009-06-02 16:49:01 [INFO] mod_dialplan_xml.c:233 dialplan_hunt() Processing 100 1->97710001 in context default 2009-06-02 16:49:01 [WARNING] mod_sofia.c:2546 sofia_outgoing_channel() Cannot l ocate registered user 97710001 at 192.168.141.187@internal 2009-06-02 16:49:01 [NOTICE] mod_sofia.c:2642 sofia_outgoing_channel() Close Cha nnel N/A [CS_NEW] 2009-06-02 16:49:01 [ERR] switch_ivr_originate.c:1425 switch_ivr_originate() Can not create outgoing channel of type [sofia] cause: [USER_NOT_REGISTERED] 2009-06-02 16:49:01 [INFO] mod_dptools.c:1998 audio_bridge_function() Originate Failed. Cause: USER_NOT_REGISTERED 2009/6/2 Jason White <jason@jasonjgw.net> Brad Tuan <brad.tuan@gmail.com> wrote: > I have tried > > <extension name="transfer_to_MeiLan"> > <condition field="destination_number" expression="^014(\d+)$"> > <action application="bridge" data="sofia/internal/$1%192.168.141.187"/> Change the % to an @ in the above. _______________________________________________ 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 <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 |
|
Back to top |
|
|
brad.tuan at gmail.com Guest
|
Posted: Tue Jun 02, 2009 4:26 am Post subject: [Freeswitch-users] How to pass a call from one FS to another |
|
|
FS1's IP is 192.168.141.182 and FS2's IP is 192.168.141.187
These two FS are in the same LAN.
I just try to pass one sip call from one FS to another.
If it works, next is FS1( PublicIP ) to FS2( PublicIP ).
2009/6/2 Ken Rice <krice@suspicious.org (krice@suspicious.org)>
|
|
Back to top |
|
|
brad.tuan at gmail.com Guest
|
Posted: Tue Jun 02, 2009 9:51 pm Post subject: [Freeswitch-users] How to pass a call from one FS to another |
|
|
I was updated my FS and rebuilt it.
<extension name="remoteFreeswitch">
<condition field="destination_number" expression="^014(\d+)$">
<action application="bridge" data="sofia/internal/$1 at 192.168.141.187:5080"/>
</condition>
</extension>
It works........
But when User2(FS2) accept the call from User1(FS1) ,
User2(FS2) display "call established",but User1(FS1) still display "calling".
Why??
(I think maybe that I need to do some setting on FS2.)
2009/6/2 Brad Tuan <brad.tuan@gmail.com (brad.tuan@gmail.com)>
Quote: | FS1's IP is 192.168.141.182 and FS2's IP is 192.168.141.187
These two FS are in the same LAN.
I just try to pass one sip call from one FS to another.
If it works, next is FS1( PublicIP ) to FS2( PublicIP ).
2009/6/2 Ken Rice <krice@suspicious.org (krice@suspicious.org)>
|
|
|
Back to top |
|
|
brad.tuan at gmail.com Guest
|
Posted: Wed Jun 03, 2009 8:09 am Post subject: [Freeswitch-users] How to pass a call from one FS to another |
|
|
I was updated my FS and rebuilt it.
<extension name="remoteFreeswitch">
<condition field="destination_number" expression="^014(\d+)$">
<action application="bridge" data="sofia/internal/$1 at 192.168.141.187:5080"/>
</condition>
</extension>
It works........
But when User2(FS2) accept the call from User1(FS1) ,
User2(FS2) display "call established",but User1(FS1) still display "calling".
Why??
(I think maybe that I need to do some setting on FS2.)
2009/6/2 Brad Tuan <brad.tuan@gmail.com (brad.tuan@gmail.com)>
Quote: | FS1's IP is 192.168.141.182 and FS2's IP is 192.168.141.187
These two FS are in the same LAN.
I just try to pass one sip call from one FS to another.
If it works, next is FS1( PublicIP ) to FS2( PublicIP ).
2009/6/2 Ken Rice <krice@suspicious.org (krice@suspicious.org)>
|
|
|
Back to top |
|
|
|