Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Using an outbound proxy [SOLVED]


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
ibc at aliax.net
Guest





PostPosted: Sun Nov 23, 2008 6:28 am    Post subject: [Freeswitch-users] Using an outbound proxy [SOLVED] Reply with quote

El Domingo, 23 de Noviembre de 2008, Iñaki Baz Castillo escribió:
Quote:
Hi, I want FS receiving an INVITE and generating a leg_b like this:

INVITE sip:alice@domain.org SIP/2.0

but I need this INVITE being sent to a specific IP X.X.X.X (instead of
resolving "domain.org" and so).

This is: I need the Request URI being "sip:alice@domain.org" but FS sending
the request to IP X.X.X.X, is it possible?

Ok, I've got it creating a gateway (without registration).


--
Iñaki Baz Castillo

_______________________________________________
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
brian at freeswitch.org
Guest





PostPosted: Sun Nov 23, 2008 8:39 pm    Post subject: [Freeswitch-users] Using an outbound proxy [SOLVED] Reply with quote

YOu can also use the sip_invite_domain variable to accomplish the same
thing.

/b

On Nov 23, 2008, at 4:21 AM, Iñaki Baz Castillo wrote:

Quote:
El Domingo, 23 de Noviembre de 2008, Iñaki Baz Castillo escribió:
Quote:
Hi, I want FS receiving an INVITE and generating a leg_b like this:

INVITE sip:alice@domain.org SIP/2.0

but I need this INVITE being sent to a specific IP X.X.X.X (instead
of
resolving "domain.org" and so).

This is: I need the Request URI being "sip:alice@domain.org" but FS
sending
the request to IP X.X.X.X, is it possible?

Ok, I've got it creating a gateway (without registration).


--
Iñaki Baz Castillo

_______________________________________________
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
Back to top
ibc at aliax.net
Guest





PostPosted: Mon Nov 24, 2008 3:52 am    Post subject: [Freeswitch-users] Using an outbound proxy [SOLVED] Reply with quote

El Lunes, 24 de Noviembre de 2008, Brian West escribió:
Quote:
YOu can also use the sip_invite_domain variable to accomplish the same
thing.

Thanks, it works but just if I use it as:

<action application="bridge"
data="{sip_invite_domain=${sip_from_host}}sofia/gateway/gw1/XXX@XXXXXXX"/>

Why doesn't it work if I use:

<action application="set" data="sip_invite_domain=${sip_from_host}"/>
<action application="bridge" data="sofia/gateway/gw1/XXX@XXXXXXX"/>


Thanks a lot.

--
Iñaki Baz Castillo

_______________________________________________
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
kokoska.rokoska at pos...
Guest





PostPosted: Mon Nov 24, 2008 4:13 am    Post subject: [Freeswitch-users] Using an outbound proxy [SOLVED] Reply with quote

Iñaki Baz Castillo napsal(a):
Quote:
El Lunes, 24 de Noviembre de 2008, Brian West escribió:
Quote:
YOu can also use the sip_invite_domain variable to accomplish the same
thing.

Thanks, it works but just if I use it as:

<action application="bridge"
data="{sip_invite_domain=${sip_from_host}}sofia/gateway/gw1/XXX@XXXXXXX"/>

Why doesn't it work if I use:

<action application="set" data="sip_invite_domain=${sip_from_host}"/>
<action application="bridge" data="sofia/gateway/gw1/XXX@XXXXXXX"/>



Hi Iñaki,

I have just a thought - try "export" instead of "set":

<action application="export" data="sip_invite_domain=${sip_from_host}"/>
<action application="bridge" data="sofia/gateway/gw1/XXX@XXXXXXX"/>

Best regards,

kokoska.rokoska


_______________________________________________
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
ibc at aliax.net
Guest





PostPosted: Mon Nov 24, 2008 4:16 am    Post subject: [Freeswitch-users] Using an outbound proxy [SOLVED] Reply with quote

El Lunes, 24 de Noviembre de 2008, Brian West escribió:
Quote:
YOu can also use the sip_invite_domain variable to accomplish the same
thing.

Since that variable is no documented I've started a "SIP related variables"
section in the wiki, starting with "sip_invite_domain". I hope it's correct:
http://wiki.freeswitch.org/wiki/Channel_Variables#SIP_related_variables



--
Iñaki Baz Castillo

_______________________________________________
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
ibc at aliax.net
Guest





PostPosted: Mon Nov 24, 2008 4:24 am    Post subject: [Freeswitch-users] Using an outbound proxy [SOLVED] Reply with quote

El Lunes, 24 de Noviembre de 2008, kokoska rokoska escribió:
Quote:
Iñaki Baz Castillo napsal(a):
Quote:
El Lunes, 24 de Noviembre de 2008, Brian West escribió:
Quote:
YOu can also use the sip_invite_domain variable to accomplish the same
thing.

Thanks, it works but just if I use it as:

<action application="bridge"
data="{sip_invite_domain=${sip_from_host}}sofia/gateway/gw1/XXX@XXXXXXX"/

Why doesn't it work if I use:

<action application="set" data="sip_invite_domain=${sip_from_host}"/>
<action application="bridge" data="sofia/gateway/gw1/XXX@XXXXXXX"/>

Hi Iñaki,

I have just a thought - try "export" instead of "set":

<action application="export" data="sip_invite_domain=${sip_from_host}"/>
<action application="bridge" data="sofia/gateway/gw1/XXX@XXXXXXX"/>

Thanks! I was reading about "export" app right now Smile


--
Iñaki Baz Castillo

_______________________________________________
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
kokoska.rokoska at pos...
Guest





PostPosted: Mon Nov 24, 2008 4:31 am    Post subject: [Freeswitch-users] Using an outbound proxy [SOLVED] Reply with quote

Iñaki Baz Castillo napsal(a):
Quote:
El Lunes, 24 de Noviembre de 2008, kokoska rokoska escribió:
Quote:
Iñaki Baz Castillo napsal(a):
Quote:
El Lunes, 24 de Noviembre de 2008, Brian West escribió:
Quote:
YOu can also use the sip_invite_domain variable to accomplish the same
thing.
Thanks, it works but just if I use it as:

<action application="bridge"
data="{sip_invite_domain=${sip_from_host}}sofia/gateway/gw1/XXX@XXXXXXX"/
Why doesn't it work if I use:

<action application="set" data="sip_invite_domain=${sip_from_host}"/>
<action application="bridge" data="sofia/gateway/gw1/XXX@XXXXXXX"/>
Hi Iñaki,

I have just a thought - try "export" instead of "set":

<action application="export" data="sip_invite_domain=${sip_from_host}"/>
<action application="bridge" data="sofia/gateway/gw1/XXX@XXXXXXX"/>

Thanks! I was reading about "export" app right now Smile



You are welcome! Nice to see xxxSER guys at FreeSWITCH Smile

Best regards,

kokoska.rokoska


_______________________________________________
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
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services