Inbound/Outbound proxy mixup, incorrect SIP headers?

User to User - Answers are provided by the community. 3CX does NOT provide technical support via this forum. Commercial grade support should NOT be expected

Moderators: kevin, 3CX staff

Inbound/Outbound proxy mixup, incorrect SIP headers?

Postby Daikoku » Mon Jan 23, 2012 11:53 pm

Hi,

I'm having an issue with Vitelity as they require a different proxy for inbound and outbound.
Vitelity says:

Code: Select all
Inbound = sip24.vitelity.net
Outbound = outbound.vitelity.net


So I went ahead and in 3cx console I set:

Code: Select all
SIP server hostname or IP = sip24.vitelity.net
Outbound proxy hostname or IP = outbound.vitelity.net


Now when I do a wireshark trace, I see that the traffic correctly goes to outbound.vitelity.net but the header is for the inbound header?

71 4.636552 192.168.1.250 outbound.vitelity.net SIP 427 Request: ACK sip:1941350xxxx@sip24.vitelity.net:5060

Anyone has an explanation for this, why is the traffic sent to the right server with the inbound SIP header?

Thanks!
Daikoku
New User
 
Posts: 27
Joined: Sat Sep 22, 2007 12:24 pm

Re: Inbound/Outbound proxy mixup, incorrect SIP headers?

Postby Daikoku » Mon Jan 23, 2012 11:54 pm

I see the same issue on the REGISTER packets - inbound and outbound are mixed up:

1958 102.988398 192.168.1.250 outbound.vitelity.net SIP 828 Request: REGISTER sip:sip24.vitelity.net:5060
Daikoku
New User
 
Posts: 27
Joined: Sat Sep 22, 2007 12:24 pm

Re: Inbound/Outbound proxy mixup, incorrect SIP headers?

Postby Daikoku » Wed Jan 25, 2012 9:30 pm

anybody has any idea?
Daikoku
New User
 
Posts: 27
Joined: Sat Sep 22, 2007 12:24 pm

Re: Inbound/Outbound proxy mixup, incorrect SIP headers?

Postby danhriscanu » Thu Jan 26, 2012 12:03 pm

Hi,

This is not a mix up.
sip24.vitelity.net its your sip server and outbound.vitelity.net is your outbound proxy.
Your SIP address should be like XXX@sip24.vitelity.net and the packets for registration should be send to that server.
What is your problem? What is not working?
------------------------------------------------------------------------------------
Dan Hriscanu
3CX - Developers of IP PBX software
http://www.3cx.com
Read & comment on 3CX Phone System news on the 3CX Blog
http://www.3cx.com/blog/
danhriscanu
3CX Support
3CX Support
 
Posts: 132
Joined: Tue Nov 29, 2011 9:52 am

Re: Inbound/Outbound proxy mixup, incorrect SIP headers?

Postby Daikoku » Thu Jan 26, 2012 3:10 pm

Initially I had an issue with inbound calls not working on Vitelity and Vitelity support said that the reason is that 3CX sends the REGISTER to the outbound proxy rather than the SIP server.

They suggested that I set the outbound proxy to sip24.vitelity.net and by doing so the inbound calls started working as the REGISTER packets now went to sip24.vitelity.net

The problem with that though is that outbound calls now also go to sip24.vitelity.net rather than outbound.vitelity.net, which works occasionally but more often than not I'm getting a 603 Forbidden.
Daikoku
New User
 
Posts: 27
Joined: Sat Sep 22, 2007 12:24 pm

Re: Inbound/Outbound proxy mixup, incorrect SIP headers?

Postby danhriscanu » Thu Jan 26, 2012 4:12 pm

I think this issue is from your provider. Try to put outbound proxy the same as your SIP server. The outbound proxy, if its different should only help passing the packet to SIP registrar. If this doesn't work you should speak with your provider to try to solve this.
------------------------------------------------------------------------------------
Dan Hriscanu
3CX - Developers of IP PBX software
http://www.3cx.com
Read & comment on 3CX Phone System news on the 3CX Blog
http://www.3cx.com/blog/
danhriscanu
3CX Support
3CX Support
 
Posts: 132
Joined: Tue Nov 29, 2011 9:52 am

Re: Inbound/Outbound proxy mixup, incorrect SIP headers?

Postby Daikoku » Thu Jan 26, 2012 4:40 pm

I tried this but then it appears the register fails and I'm not getting any inbound calls.

I'm not really too familiar with SIP but per specs, is it correct to send the REGISTER packets to the outbound proxy address? My assumption would be that only outbound calls should be sent to the outbound proxy but the REGISTER packets should go to the SIP address?
Daikoku
New User
 
Posts: 27
Joined: Sat Sep 22, 2007 12:24 pm

Re: Inbound/Outbound proxy mixup, incorrect SIP headers?

Postby danhriscanu » Fri Jan 27, 2012 8:28 am

Yes! You are right. The REGISTER packets should be sent to SIP server. That is why I told you to put only SIP server address in the Outbound proxy field. If it doesn't work contact your SIP provider to solve this issue. Keep in mind that 3cx Phone System does not mix up SIP header and it does exactly what you tell it to do.
------------------------------------------------------------------------------------
Dan Hriscanu
3CX - Developers of IP PBX software
http://www.3cx.com
Read & comment on 3CX Phone System news on the 3CX Blog
http://www.3cx.com/blog/
danhriscanu
3CX Support
3CX Support
 
Posts: 132
Joined: Tue Nov 29, 2011 9:52 am

Re: Inbound/Outbound proxy mixup, incorrect SIP headers?

Postby Daikoku » Fri Jan 27, 2012 3:15 pm

Sorry but what you are saying doesn't make any sense to me. I'd expect the REGISTER packet to go to the server entered as SIP server, regardless of what is set as outbound proxy. Anyways, Vitelity support was helpful and re-provisioned my account to another server that supports in and outbound calls, thus solving the issue.
Daikoku
New User
 
Posts: 27
Joined: Sat Sep 22, 2007 12:24 pm


Return to 3CX Phone System - General (Community-led, no tech support)


Who is online

Users browsing this forum: gschwab and 1 guest

Announcements: