[Serusers] Can I use realm name without DNS SRV
Antonio Cano damas
antonio at igestec.com
Mon Jun 6 12:06:35 CEST 2005
Hello all,
First of all excuses for my bad english. I was looking into the list and
doesn't find nothing similar to my problem maybe I didn't use the
correct keywords.
I've got a Proxy that is behaind and Public IP and I've got a subdomain
name pointing to this machine. But the DNS server isn't mine and I can't
add a SRV record, I've redirected all petitions to this server and in
that way if I make a petition of anykind service (ssh, web, ...) to the
subdomain.name.com it comes into the machine.
The problem is that all de UA i try (X-Lite, Grandstream and Asterisk)
makes DNS SRV queries and i don't know how to avoid this.
For example:
My subdomain is redstar.organization.org and I'd like to use the realm
organization.org
+ File /etc/hosts
192.168.1.5 Public_IP_Of_RedStar redstar.organization.org
redstar
+ In /etc/init.d/ser I've got this params line:
PARAMS="-P $PIDFILE -u root -g root -l redstar.organization.org"
--->I try using -l organization.org, but the server said to me:
0(0) ERROR: udp_init: bind(5, 0x80c8cc0, 16) on
IP_Organization.org: Cannot assign requested address
+ In /etc/ser/ser.cfg added this:
alias="organization.org"
alias="redstar.organization.org"
+ MySQL tables the domain field value is 'organization.org'
When I start the SER it tells me:
Restarting ser: serListening on
Public_IP_Of_Redstar [192.168.1.5]:5060
Aliases: redstar:5060 redstar.organization.org:* organization.org:*
The UA Grandstream config is:
SIP Server: organization.org
Outbound Proxy: redstar.organization.org
And the received answer is a 478 Unresolveable destination. Can anyone
help me? What can I do? I'm a little desesperated :(
Thanks in advance,
Antonio F. Cano
Ngrep log result into redstar.organization.org machine:
U UA_Public_IP:62303 -> 192.168.1.5:5060
REGISTER sip:192.168.1.5organization.org SIP/2.0..Via: SIP/2.0/UDP
192.168.0.9:62303;branch=z9hG4bK083fbe
2c60e48e32..From: "Antonio F. Cano (iGT)"
<sip:10101 at organization.org;user=phone>;tag=b511698681c5146b..T
o: <sip:10101 at organization.org;user=phone>..Contact:
<sip:10101 at 192.168.0.9:62303;user=phone>..Call-ID: 3
4ee28e5dad286d9 at 192.168.0.9..CSeq: 100 REGISTER..Expires:
3600..User-Agent: Grandstream HT487 1.0.5.
18..Max-Forwards: 70..Allow:
INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE..Content-Leng
th:
0....
#
Why this 'sip:192.168.1.5organization.org'?
U 192.168.1.5:32863 -> 195.235.113.3:53
Z............_sip._udp.192.168.1.5organization.org..!..
######################################################################
U UA_Public_IP:62303 -> 192.168.1.5:5060
REGISTER sip:192.168.1.5organization.org SIP/2.0..Via: SIP/2.0/UDP
192.168.0.9:62303;branch=z9hG4bK083fbe
2c60e48e32..From: "Antonio F. Cano (iGT)"
<sip:10101 at organization.org;user=phone>;tag=b511698681c5146b..T
o: <sip:10101 at organization.org;user=phone>..Contact:
<sip:10101 at 192.168.0.9:62303;user=phone>..Call-ID: 3
4ee28e5dad286d9 at 192.168.0.9..CSeq: 100 REGISTER..Expires:
3600..User-Agent: Grandstream HT487 1.0.5.
18..Max-Forwards: 70..Allow:
INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE..Content-Leng
th:
0....
#########################################################
U 195.235.113.3:53 -> 192.168.1.5:32863
Z............_sip._udp.192.168.1.5organization.org..!...)......*0.=.a.gtld-servers.).nstld.verisign-grs.c
om.B.. at ..........:.....
#
U 192.168.1.5:32863 -> 195.235.113.3:53
Z............_sip._udp.192.168.1.5organization.org..!..
##########
U 195.235.113.3:53 -> 192.168.1.5:32863
Z............_sip._udp.192.168.1.5organization.org..!...)......*0.=.a.gtld-servers.).nstld.verisign-grs.c
om.B.. at ..........:.....
##################################################################################################################
U UA_Public_IP:62303 -> 192.168.1.5:5060
REGISTER sip:192.168.1.5organization.org SIP/2.0..Via: SIP/2.0/UDP
192.168.0.9:62303;branch=z9hG4bK083fbe
2c60e48e32..From: "Antonio F. Cano (iGT)"
<sip:10101 at organization.org;user=phone>;tag=b511698681c5146b..T
o: <sip:10101 at organization.org;user=phone>..Contact:
<sip:10101 at 192.168.0.9:62303;user=phone>..Call-ID: 3
4ee28e5dad286d9 at 192.168.0.9..CSeq: 100 REGISTER..Expires:
3600..User-Agent: Grandstream HT487 1.0.5.
18..Max-Forwards: 70..Allow:
INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE..Content-Leng
th:
0....
###########################################################################################################################
U 192.168.1.5:5060 -> UA_Public_IP:62303
SIP/2.0 478 Unresolveable destination (478/TM)..Via: SIP/2.0/UDP
192.168.0.9:62303;branch=z9hG4bK083
fbe2c60e48e32;rport=62303;received=80.32.90.5..From: "Antonio F. Cano
(iGT)" <sip:10101 at organization.org;
user=phone>;tag=b511698681c5146b..To:
<sip:10101 at organization.org;user=phone>;tag=1b908f8c725dfd3e50cbc74
f548dfb0d-588b..Call-ID: 34ee28e5dad286d9 at 192.168.0.9..CSeq: 100
REGISTER..Server: Sip EXpress route
r (0.8.14 (i386/linux))..Content-Length: 0..Warning: 392
80.38.244.122:5060 "Noisy feedback tells:
pid=8023 req_src_ip=80.32.90.5 req_src_port=62303
in_uri=sip:192.168.1.5organization.org out_uri=sip:192.
168.1.5organization.org
via_cnt==1"....
More information about the sr-users
mailing list