Hi All,
if I rewrite ruri in the INVITE message I have to rewrite ruri in any
subsequent messages (CANCEL, BYE, ACK) in the same dialog ? Or rewrite
INVITE is enough ?
thx,
imedve
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@organization.org;user=phone>;tag=b511698681c5146b..T
o: <sip:10101@organization.org;user=phone>..Contact:
<sip:10101@192.168.0.9:62303;user=phone>..Call-ID: 3
4ee28e5dad286d9@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@organization.org;user=phone>;tag=b511698681c5146b..T
o: <sip:10101@organization.org;user=phone>..Contact:
<sip:10101@192.168.0.9:62303;user=phone>..Call-ID: 3
4ee28e5dad286d9@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..@..........:.....
#
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..@..........:.....
##################################################################################################################
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@organization.org;user=phone>;tag=b511698681c5146b..T
o: <sip:10101@organization.org;user=phone>..Contact:
<sip:10101@192.168.0.9:62303;user=phone>..Call-ID: 3
4ee28e5dad286d9@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@organization.org;
user=phone>;tag=b511698681c5146b..To:
<sip:10101@organization.org;user=phone>;tag=1b908f8c725dfd3e50cbc74
f548dfb0d-588b..Call-ID: 34ee28e5dad286d9@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"....
Dear Helpers!
I am very new to linux and SER. I have read the article on your website and am very interested in learning about the sip proxy SER. However, I am still unable to install the SER.
Would you please tell me how to install the SER or directly me to an article of step by step how to install the SER.
I have read you how to. However, I'm pretty now to linux, and I am still unable to install it.
I would be very appreciated for your time!
Thanks in advance!
Lan
Dear Helpers!
I am very new to linux and SER. I have read the article on your website and am very interested in learning about the sip proxy SER. However, I am still unable to install the SER.
Would you please tell me how to install the SER or directly me to an article of step by step how to install the SER.
I have read you how to. However, I'm pretty now to linux, and I am still unable to install it.
I would be very appreciated for your time!
Thanks in advance!
Lan
Hi list !
I have a Problem with the appending of an rpid with the
functions avp_load_radius(), append_rpid_hf().
In my Radius DB i have an SIP-AVP field which is filled with the Value
rpid:[NUMBER]
When i run manuall the Radius Reply-Query i get the correct value for
SIP-AVP.
Now, i reconfigured my ser.cfg so that an avp_load_radius() is executed
after an incoming INVITE.
My Radius is answering on the command and sends the correct SIP-AVP
Value for the User.
Now my Problem:
I can't append the RPID or anything else to the SIP-Header after the
answer from the Radius.
So the call is going out without the rpid in the Header.
Can anyone help me ?
Here is the Configure-Snip:
if (method=="INVITE") { # here comes the invite
if (!radius_proxy_authorize("")) { # for the digest avp_load_radius it seems that i must use an proxy auth
proxy_challenge("","0"); # and an proxy challenge
if(!avp_load_radius("digest")) { # here i get the SIP-AVP from the radius
log(1,"Failure with the AVP-Value\n"); # if it fails i'll get a message
break; # go out
}
avp_print(); # print all avp's (this command is never executed :( )
append_hf ("Remote-Party-ID: 111222333\r\n"); # append this silly row - it is never executed
append_rpid_hf("", ";party=calling;id-type=subscriber;screen=yes"); # append the rpid from SIP-AVP - and this command is also never executed
break; # go out
};
route(3); # go to route block 3
break; # end
}
I tried also this snippet without the breaks and proxy-commands but it doesn't work.
I don't know what is wrong - please help me :s
Thanks !
Dirk
any comments how to reslove this issue
auth_radius.so>:
/usr/local/lib/ser/modules/auth_radius.so: undefined
symbol: fm_malloc
May 26 16:32:04 voice ser: parse error (25,13-14):
failed to load module
May 26 16:32:04 voice ser: ERROR: load_module: could
not open module
</usr/local/lib/ser/modules/uri_radius.so>:
/usr/local/lib/ser/modules/uri_radius.so: undefined
symbol: fm_malloc
May 26 16:32:04 voice ser: parse error (35,13-14):
failed to load module
May 26 16:32:04 voice ser: set_mod_param_regex: No
module matching auth_radius found |
May 26 16:32:04 voice ser: parse error (48,18-19):
Can't set module parameter
May 26 16:32:04 voice ser: set_mod_param_regex: No
module matching auth_radius found |
May 26 16:32:04 voice ser: parse error (49,18-19):
Can't set module parameter
__________________________________
Discover Yahoo!
Stay in touch with email, IM, photo sharing and more. Check it out!
http://discover.yahoo.com/stayintouch.html
Hello, is version 0.9.0 stable? Do you recommend to install it, or 0.8.14 works better?
I am running 0.8.14 compiled from source on freebsd. I had some trouble trying to compile radius modules so I think 0.9.0 could fix this.
thanks for your recommendation,
Pablo.
---------------------------------
Discover Yahoo!
Use Yahoo! to plan a weekend, have fun online & more. Check it out!
Hello seruser,
I'm using SER 0.8.14 with freeradius 1.0.2 and radiusclient 0.4.8 .
All connections are going through a rtpproxy.
Now my Question: Is it possible to get a "watchdog" - functionality with SER?
I need to get an entry (stop or failure) in my detail-yyyy-mm-dd file when
the connection has been terminated by an error or by disconnecting one phone
from the net.
thanks
--
___________________________
Stefan Abu Salah
Stefan(a)AbuSalah.com
www.AbuSalah.com
0179 140 89 17