How to pass a call from one FS to another FS ??

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

How to pass a call from one FS to another FS ??

Brad Tuan
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 [hidden email]
[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 [hidden email] [CS_EXECUTE] [USER_NOT_REGISTERED]

_______________________________________________
Freeswitch-users mailing list
[hidden email]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Reply | Threaded
Open this post in threaded view
|

Re: How to pass a call from one FS to another FS ??

Jason White-2
Brad Tuan <[hidden email]> 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
[hidden email]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Reply | Threaded
Open this post in threaded view
|

Re: How to pass a call from one FS to another FS ??

Brad Tuan
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 [hidden 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 <[hidden email]>
Brad Tuan <[hidden email]> 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
[hidden email]
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
[hidden email]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Reply | Threaded
Open this post in threaded view
|

Re: How to pass a call from one FS to another FS ??

Ken Rice-3
Re: [Freeswitch-users] How to pass a call from one FS to another FS ?? Dumb question... Is 187 the local fs machine? You should have the IP address of the remote FS machine



From: Brad Tuan <[hidden email]>
Reply-To: <[hidden email]>
Date: Tue, 2 Jun 2009 17:00:29 +0800
To: <[hidden email]>
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 <[hidden email]>
Brad Tuan <[hidden email]> 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
[hidden email]
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
[hidden email]
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
[hidden email]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Reply | Threaded
Open this post in threaded view
|

Re: How to pass a call from one FS to another FS ??

Brad Tuan
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 <[hidden email]>
Dumb question... Is 187 the local fs machine? You should have the IP address of the remote FS machine



From: Brad Tuan <[hidden email]>
Reply-To: <[hidden email]>
Date: Tue, 2 Jun 2009 17:00:29 +0800
To: <[hidden email]>
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 <[hidden email]>
Brad Tuan <[hidden email]> 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
[hidden email]
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
[hidden email]
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
[hidden email]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Reply | Threaded
Open this post in threaded view
|

Re: How to pass a call from one FS to another FS ??

Brad Tuan
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 <[hidden email]>
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 <[hidden email]>

Dumb question... Is 187 the local fs machine? You should have the IP address of the remote FS machine



From: Brad Tuan <[hidden email]>
Reply-To: <[hidden email]>
Date: Tue, 2 Jun 2009 17:00:29 +0800
To: <[hidden email]>
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 <[hidden email]>
Brad Tuan <[hidden email]> 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
[hidden email]
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
[hidden email]
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
[hidden email]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Reply | Threaded
Open this post in threaded view
|

Re: How to pass a call from one FS to another FS ??

Brad Tuan
In reply to this post by Brad Tuan

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 <[hidden email]>
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 <[hidden email]>

Dumb question... Is 187 the local fs machine? You should have the IP address of the remote FS machine



From: Brad Tuan <[hidden email]>
Reply-To: <[hidden email]>
Date: Tue, 2 Jun 2009 17:00:29 +0800
To: <[hidden email]>
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 <[hidden email]>
Brad Tuan <[hidden email]> 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
[hidden email]
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
[hidden email]
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
[hidden email]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org