View Single Post
Unread 07-27-2007, 02:27 PM   #4
v164
Member
 
Join Date: Mar 2006
Posts: 96
Thanks: 8
Thanked 26 Times in 19 Posts
v164 is a jewel in the roughv164 is a jewel in the rough
Default change "From" domain

Quote:
Originally Posted by stefanop View Post
I'm trying to call my voxalot accout from another domain but the voxalot server require authorization. Is it normal? I would receive free call from anyone.
VoXaLot's SIP proxy responds with "407 Proxy Authentication Required" if the domain in the "From:" header is "us.voxalot.com" etc, because it thinks the caller is a VoXaLot user wishing to make a call through VoXaLot.

The SIP INVITE packet would look like this:
Code:
INVITE sip:12xxxx@us.voxalot.com SIP/2.0
Via: SIP/2.0/UDP 221.xx.xx.xx:5060;branch=zh4K500614582
From: 66xxxx <sip:66xxxx@us.voxalot.com>;tag=06810
...

You need to change the "From:" part to something else, like this:
Code:
INVITE sip:12xxxx@us.voxalot.com SIP/2.0
Via: SIP/2.0/UDP 221.xx.xx.xx:5060;branch=zh4K500614582
From: 66xxxx <sip:66xxxx@sip.pennytel.com>;tag=06810
...
For this SIP INVITE, VoXaLot will (attempt to) connect the call to VoXaLot user 12xxxx, without challenging for credentials.
v164 is offline   Reply With Quote