Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] Outbound Proxy


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





PostPosted: Sat Aug 01, 2009 12:36 pm    Post subject: [Freeswitch-users] Outbound Proxy Reply with quote

I am considering using freeswitch and would like to know if this is possible.

The provider I use has a host that sits behind an OpenSER proxy. The hostname cannot get resolved by DNS on the internet.

Using freeswitch, at the moment, I am getting a DNS failure message for the host.

Is there a way of registering to this host and making calls through it by making all traffic go through the outbound proxy?

TIA

__________ Information from ESET NOD32 Antivirus, version of virus signature database 4292 (20090730) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com
Back to top
d at unwire.it
Guest





PostPosted: Sat Aug 01, 2009 2:02 pm    Post subject: [Freeswitch-users] Outbound Proxy Reply with quote

Have you looked over various example configurations on the wiki?  see: SIP Provider Examples

I'm a bit confused by your questions... to make voip calls work, you basically need to register/authenticate with proxies/gateways to send and receive calls through them.  Sounds like you need to find out from your provider's documentation as to how they expect you to connect with them.  Why are you trying to connect to the host behind the proxy rather than the proxy?


On Sat, Aug 1, 2009 at 3:53 AM, Darren Williams <darren@dmmhosting.co.uk (darren@dmmhosting.co.uk)> wrote:
Quote:

I am considering using freeswitch and would like to know if this is possible.
 
The provider I use has a host that sits behind an OpenSER proxy. The hostname cannot get resolved by DNS on the internet.
 
Using freeswitch, at the moment, I am getting a DNS failure message for the host.
 
Is there a way of registering to this host and making calls through it by making all traffic go through the outbound proxy?
 
TIA
 


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4292 (20090730) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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




--

) ) ) ) ) ) ) ) ) UNWIRE.IT ( ( ( ( ( ( ( ( (
broadband internet for west hollywood
   d@unwire.it (d@unwire.it)        http://unwire.it
Back to top
brian at freeswitch.org
Guest





PostPosted: Sun Aug 02, 2009 3:46 am    Post subject: [Freeswitch-users] Outbound Proxy Reply with quote

Fill out proxy... with the fake hostname... then fill out register-proxy and/or outbound-proxy.

/b

On Aug 1, 2009, at 1:57 PM, Darin Weeks wrote:
Quote:
Have you looked over various example configurations on the wiki? see: SIP Provider Examples

I'm a bit confused by your questions... to make voip calls work, you basically need to register/authenticate with proxies/gateways to send and receive calls through them. Sounds like you need to find out from your provider's documentation as to how they expect you to connect with them. Why are you trying to connect to the host behind the proxy rather than the proxy?


On Sat, Aug 1, 2009 at 3:53 AM, Darren Williams <darren@dmmhosting.co.uk (darren@dmmhosting.co.uk)> wrote:
Quote:

I am considering using freeswitch and would like to know if this is possible.

The provider I use has a host that sits behind an OpenSER proxy. The hostname cannot get resolved by DNS on the internet.

Using freeswitch, at the moment, I am getting a DNS failure message for the host.

Is there a way of registering to this host and making calls through it by making all traffic go through the outbound proxy?

TIA


Back to top
darren at dmmhosting.c...
Guest





PostPosted: Sun Aug 02, 2009 5:38 am    Post subject: [Freeswitch-users] Outbound Proxy Reply with quote

“and/or outbound proxy”, I do not seem to be able to find this parameter.

It is probably my terminology which is confusing too and what exactly I want to do. All I know is that on my Thomson ST2030. If I enter:

Registrar Server Address: bmnha-01.bt.com
Proxy Server Address: bmnha-01.bt.com
Outbound Proxy Server:www.bbvservice-560129.bt.com

Everything works fine, I would just like to be able to transfer this config to freeswitch.

From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West
Sent: 02 August 2009 09:34
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Outbound Proxy



Fill out proxy... with the fake hostname... then fill out register-proxy and/or outbound-proxy.


/b


On Aug 1, 2009, at 1:57 PM, Darin Weeks wrote:




Have you looked over various example configurations on the wiki? see: SIP Provider Examples

I'm a bit confused by your questions... to make voip calls work, you basically need to register/authenticate with proxies/gateways to send and receive calls through them. Sounds like you need to find out from your provider's documentation as to how they expect you to connect with them. Why are you trying to connect to the host behind the proxy rather than the proxy?


On Sat, Aug 1, 2009 at 3:53 AM, Darren Williams <darren@dmmhosting.co.uk (darren@dmmhosting.co.uk)> wrote:
I am considering using freeswitch and would like to know if this is possible.


The provider I use has a host that sits behind an OpenSER proxy. The hostname cannot get resolved by DNS on the internet.


Using freeswitch, at the moment, I am getting a DNS failure message for the host.


Is there a way of registering to this host and making calls through it by making all traffic go through the outbound proxy?


TIA








__________ Information from ESET NOD32 Antivirus, version of virus signature database 4297 (20090801) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4297 (20090801) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com
Back to top
brian at freeswitch.org
Guest





PostPosted: Sun Aug 02, 2009 6:14 pm    Post subject: [Freeswitch-users] Outbound Proxy Reply with quote

set the proxy, register-proxy to bmnha-01.bt.com and the outbound-proxy to www.bbvservice-560129.bt.com, I regard this type of config B R O K EN and the provider shouldn't be doing this with DNS names that do not exist in my opinion... if they are doing this for security sake they should just setup VPN or direct access... this type of setup must makes my skin crawl.

/b

On Aug 2, 2009, at 5:31 AM, Darren Williams wrote:
Quote:
“and/or outbound proxy”, I do not seem to be able to find this parameter.

It is probably my terminology which is confusing too and what exactly I want to do. All I know is that on my Thomson ST2030. If I enter:

Registrar Server Address: bmnha-01.bt.com
Proxy Server Address: bmnha-01.bt.com
Outbound Proxy Server:www.bbvservice-560129.bt.com

Everything works fine, I would just like to be able to transfer this config to freeswitch.
Back to top
darren at dmmhosting.c...
Guest





PostPosted: Mon Aug 03, 2009 4:23 am    Post subject: [Freeswitch-users] Outbound Proxy Reply with quote

Brian, this “broken” business explains a lot, I just assumed this was a normal practise. This “outbound-proxy” parameter, I don’t see any reference to this anywhere.

This just causes Registration Failed with status DNS Error [503]


From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West
Sent: 03 August 2009 00:11
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Outbound Proxy



set the proxy, register-proxy to bmnha-01.bt.com and the outbound-proxy to www.bbvservice-560129.bt.com, I regard this type of config B R O K EN and the provider shouldn't be doing this with DNS names that do not exist in my opinion... if they are doing this for security sake they should just setup VPN or direct access... this type of setup must makes my skin crawl.


/b


On Aug 2, 2009, at 5:31 AM, Darren Williams wrote:




“and/or outbound proxy”, I do not seem to be able to find this parameter.



It is probably my terminology which is confusing too and what exactly I want to do. All I know is that on my Thomson ST2030. If I enter:



Registrar Server Address: bmnha-01.bt.com

Proxy Server Address: bmnha-01.bt.com

Outbound Proxy Server:www.bbvservice-560129.bt.com



Everything works fine, I would just like to be able to transfer this config to freeswitch.






__________ Information from ESET NOD32 Antivirus, version of virus signature database 4299 (20090802) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4299 (20090802) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com
Back to top
brian at freeswitch.org
Guest





PostPosted: Mon Aug 03, 2009 7:49 am    Post subject: [Freeswitch-users] Outbound Proxy Reply with quote

You must be on SVN trunk.

/b

On Aug 3, 2009, at 4:12 AM, Darren Williams wrote:
Quote:
Brian, this “broken” business explains a lot, I just assumed this was a normal practise. This “outbound-proxy” parameter, I don’t see any reference to this anywhere.

This just causes Registration Failed with status DNS Error [503]

Back to top
darren at dmmhosting.c...
Guest





PostPosted: Mon Aug 03, 2009 12:38 pm    Post subject: [Freeswitch-users] Outbound Proxy Reply with quote

Definitely the same reply:

FreeSWITCH Version 1.0.trunk (14457)

[ERR] sofia_reg.c:1460 05061292117 Registration Failed with status DNS Error [503]. failure #1 and so on.

The complete config is:

<include>
<gateway name="05061292117">
<param name="username" value="05061292117"/>
<param name="realm" value="bmnha-01.bt.com"/>
<param name="from-user" value="05061292117"/>
<param name="from-domain" value="bmnha-01.bt.com"/>
<param name="password" value="XXXXXXXXXXXXXXX"/>
<param name="proxy" value="bmnha-01.bt.com"/>
<param name="register-proxy" value="bmnha-01.bt.com"/>
<param name="outbound-proxy" value="www.bbvservice-560129.bt.com"/>
<param name="register" value="true"/>
<param name="register-transport" value="udp"/>
<param name="retry-seconds" value="10"/>
</gateway>
</include>
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West
Sent: 03 August 2009 13:41
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Outbound Proxy



You must be on SVN trunk.


/b


On Aug 3, 2009, at 4:12 AM, Darren Williams wrote:




Brian, this “broken” business explains a lot, I just assumed this was a normal practise. This “outbound-proxy” parameter, I don’t see any reference to this anywhere.



This just causes Registration Failed with status DNS Error [503]








__________ Information from ESET NOD32 Antivirus, version of virus signature database 4299 (20090802) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4299 (20090802) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com
Back to top
brian at freeswitch.org
Guest





PostPosted: Mon Aug 03, 2009 4:36 pm    Post subject: [Freeswitch-users] Outbound Proxy Reply with quote

which of the hostnames is fake?

/b

On Aug 3, 2009, at 12:25 PM, Darren Williams wrote:
Quote:
Definitely the same reply:

Back to top
darren at dmmhosting.c...
Guest





PostPosted: Mon Aug 03, 2009 4:45 pm    Post subject: [Freeswitch-users] Outbound Proxy Reply with quote

The bmnha-01.bt.com is the one that doesn’t resolve
www.bbvservice-560129.bt.com resolves to 62.239.15.140


From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West
Sent: 03 August 2009 22:24
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Outbound Proxy



which of the hostnames is fake?


/b


On Aug 3, 2009, at 12:25 PM, Darren Williams wrote:




Definitely the same reply:








__________ Information from ESET NOD32 Antivirus, version of virus signature database 4299 (20090802) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4299 (20090802) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com
Back to top
brian at freeswitch.org
Guest





PostPosted: Mon Aug 03, 2009 10:50 pm    Post subject: [Freeswitch-users] Outbound Proxy Reply with quote

Put the real hostname in register-proxy and outbound-proxy and the proxy needs to hold the fake one.

/b

On Aug 3, 2009, at 4:39 PM, Darren Williams wrote:
Quote:
The bmnha-01.bt.com is the one that doesn’t resolve
www.bbvservice-560129.bt.com resolves to 62.239.15.140

Back to top
digitaldaz100 at gmail...
Guest





PostPosted: Tue Aug 04, 2009 4:21 am    Post subject: [Freeswitch-users] Outbound Proxy Reply with quote

This produces:

send 639 bytes to udp/[62.239.15.140]:5060 at 09:06:29.640488:
------------------------------------------------------------------------
REGISTER sip:bmnha-01.bt.com SIP/2.0
Via: SIP/2.0/UDP 91.121.159.57:5080;rport;branch=z9hG4bKQFFy1Ug5DcU0S
Max-Forwards: 70
From: <sip:05061292117@bmnha-01.bt.com;transport=udp>;tag=NKaDDXrtme3Sr
To: <sip:05061292117@bmnha-01.bt.com;transport=udp>
Call-ID: 88de957f-0907-4488-9b19-043ff13391f4
CSeq: 118570058 REGISTER
Contact: <sip:gw+05061292117@91.121.159.57:5080;transport=udp>
Expires: 3600
User-Agent: THOMSON ST2030 hw5 fw1.56 00-1F-9F-16-4E-99
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO
Supported: timer, precondition, path, replaces
Content-Length: 0

------------------------------------------------------------------------
recv 726 bytes from udp/[62.239.15.140]:5060 at 09:06:29.656368:
------------------------------------------------------------------------
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 91.121.159.57:5080;received=91.121.159.57;branch=z9hG4bKQFFy1Ug5DcU0S;rport=5080
From: <sip:05061292117@bmnha-01.bt.com;transport=udp>;tag=NKaDDXrtme3Sr
To: <sip:05061292117@bmnha-01.bt.com;transport=udp>;tag=SD567ec99-8a92eaf49d827b084b51e364ec68ae70.bc35
Call-ID: 88de957f-0907-4488-9b19-043ff13391f4
CSeq: 118570058 REGISTER
WWW-Authenticate: Digest realm="bmnha-01.bt.com", nonce="4a77fb4b6fe33ffccf77e6bdd6f7a7a397cdfd17", qop="auth"
Server: Sip EXpress router (0.9.6 (sparc/solaris))
Content-Length: 0
Warning: 392 sip:5060 "Noisy feedback tells: pid=9150 req_src_ip=172.20.92.61 req_src_port=5060 in_uri=sip:bmnha-01.bt.com out_uri=sip:bmnha-01.bt.com via_cnt==1"

------------------------------------------------------------------------
2009-08-04 11:06:29.655585 [ERR] sofia_reg.c:1460 05061292117 Registration Failed with status Operation has no matching challenge [904]. failure #1 and so on.

Should my side not have responded at this point with another REGISTER with auth information in?

From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West
Sent: 04 August 2009 04:36
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Outbound Proxy



Put the real hostname in register-proxy and outbound-proxy and the proxy needs to hold the fake one.


/b


On Aug 3, 2009, at 4:39 PM, Darren Williams wrote:


The bmnha-01.bt.com is the one that doesn’t resolve

www.bbvservice-560129.bt.com resolves to 62.239.15.140








__________ Information from ESET NOD32 Antivirus, version of virus signature database 4299 (20090802) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4299 (20090802) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4299 (20090802) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com
Back to top
mike at jerris.com
Guest





PostPosted: Sat Aug 08, 2009 12:43 am    Post subject: [Freeswitch-users] Outbound Proxy Reply with quote

Please follow up with this on jira so we can make sure this gets addressed.

Mike

On Aug 4, 2009, at 5:10 AM, Darren Williams wrote:
Quote:
This produces:

send 639 bytes to udp/[62.239.15.140]:5060 at 09:06:29.640488:
------------------------------------------------------------------------
REGISTER [url=sip:bmnha-01.bt.com]sip:bmnha-01.bt.com[/url] SIP/2.0
Via: SIP/2.0/UDP 91.121.159.57:5080;rport;branch=z9hG4bKQFFy1Ug5DcU0S
Max-Forwards: 70
From: <[url=sip:05061292117@bmnha-01.bt.com;transport=udp]sip:05061292117@bmnha-01.bt.com;transport=udp[/url]>;tag=NKaDDXrtme3Sr
To: <[url=sip:05061292117@bmnha-01.bt.com;transport=udp]sip:05061292117@bmnha-01.bt.com;transport=udp[/url]>
Call-ID: 88de957f-0907-4488-9b19-043ff13391f4
CSeq: 118570058 REGISTER
Contact: <[url=sip:gw+05061292117@91.121.159.57:5080;transport=udp]sip:gw+05061292117@91.121.159.57:5080;transport=udp[/url]>
Expires: 3600
User-Agent: THOMSON ST2030 hw5 fw1.56 00-1F-9F-16-4E-99
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO
Supported: timer, precondition, path, replaces
Content-Length: 0

------------------------------------------------------------------------
recv 726 bytes from udp/[62.239.15.140]:5060 at 09:06:29.656368:
------------------------------------------------------------------------
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 91.121.159.57:5080;received=91.121.159.57;branch=z9hG4bKQFFy1Ug5DcU0S;rport=5080
From: <[url=sip:05061292117@bmnha-01.bt.com;transport=udp]sip:05061292117@bmnha-01.bt.com;transport=udp[/url]>;tag=NKaDDXrtme3Sr
To: <[url=sip:05061292117@bmnha-01.bt.com;transport=udp]sip:05061292117@bmnha-01.bt.com;transport=udp[/url]>;tag=SD567ec99-8a92eaf49d827b084b51e364ec68ae70.bc35
Call-ID: 88de957f-0907-4488-9b19-043ff13391f4
CSeq: 118570058 REGISTER
WWW-Authenticate: Digest realm="bmnha-01.bt.com", nonce="4a77fb4b6fe33ffccf77e6bdd6f7a7a397cdfd17", qop="auth"
Server: Sip EXpress router (0.9.6 (sparc/solaris))
Content-Length: 0
Warning: 392 [url=sip:5060]sip:5060[/url] "Noisy feedback tells: pid=9150 req_src_ip=172.20.92.61 req_src_port=5060 in_uri=[url=sip:bmnha-01.bt.com]sip:bmnha-01.bt.com[/url] out_uri=[url=sip:bmnha-01.bt.com]sip:bmnha-01.bt.com[/url] via_cnt==1"

------------------------------------------------------------------------
2009-08-04 11:06:29.655585 [ERR] sofia_reg.c:1460 05061292117 Registration Failed with status Operation has no matching challenge [904]. failure #1 and so on.

Should my side not have responded at this point with another REGISTER with auth information in?


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