Hi all,
I'm using SER2.0 (testing) and I have a question regarding checking the
acl AVP to verify that the user is allowed to call PSTN destinations
with if (!$f.gw_acl=="1") { ...
In the "user_attrs" table I have this entry:
uid name value type flags
alice(a)xyz.hr gw_acl 1 2 61
before checking this "gw_acl" I do load attributes with
load_attrs("$fu", "$fu.uid"); but I keep entering above "if" statement.
So I would appreciate any help about how to solve this issue, in which
tables I need to enter which values...
I have solved this checking with avpops module and "avp_check" function,
but as I already use new AVP schema in SER2.0 for loading other user
attributes I would like to use it with this "gw_acl" also.
Thanks
/davor
Hi,
I made a pretty basic openser config with Sipwise but Im having problems
when sending BYE to my upstream SIP provider. When I do a CANCEL it
works but sending BYE the server doesnt forward any packets. Here's a
ngrep of whats happening. My complete openser.cfg can be found at
http://port53.se/openser.txt
#
U 99.88.164.203:30824 -> 101.12.20.26:5060
BYE sip:0709955324@bbr-ssw.sto.la.aa.net SIP/2.0.
Via: SIP/2.0/UDP
10.45.0.98:30824;branch=z9hG4bK-d87543-f13c745a11112e7c-1--d87543-;rport.
Max-Forwards: 70.
Route: <sip:101.12.20.26;lr;ftag=9a47eb12;nat=yes>.
Route: <sip:sipgw.sds.se;lr>.
Contact: <sip:0722465930@99.88.164.203:30824>.
To: "0709955324"<sip:0709955324@proxy.realm.se>;tag=ecbc244f.
From: "0722465930"<sip:0722465930@proxy.realm.se>;tag=9a47eb12.
Call-ID: ZDYwNjNjMmYzMTdiZGE3NTc4Nzc4OTA2NjdkOTllYTU..
CSeq: 3 BYE.
Proxy-Authorization: Digest
username="30000",realm="proxy.realm.se",nonce="487473f9db3e3da3ae9c3115a6d87d2023cc6b0a",uri="sip:0709955324@bbr-ssw.sto.la.aa.net",response="d9dc90e88deba0d9ba428bc11554b193",algorithm=MD5.
User-Agent: X-Lite release 1011s stamp 41150.
Reason: SIP;description="User Hung Up".
Content-Length: 0.
.
#
U 101.12.20.26:5060 -> 99.88.164.203:30824
SIP/2.0 500 I'm terribly sorry, server error occurred (7/TM).
Via: SIP/2.0/UDP
10.45.0.98:30824;branch=z9hG4bK-d87543-f13c745a11112e7c-1--d87543-;rport=30824;received=99.88.164.203.
To: "0709955324"<sip:0709955324@proxy3.digisip.net>;tag=ecbc244f.
From: "0722465930"<sip:0722465930@proxy3.digisip.net>;tag=9a47eb12.
Call-ID: ZDYwNjNjMmYzMTdiZGE3NTc4Nzc4OTA2NjdkOTllYTU..
CSeq: 3 BYE.
Server: OpenSer (1.1.0-notls (i386/linux)).
Content-Length: 0.
.
#
TLS uses a different port than TCP. TCP is 5060 and TLS is 5061.
Regards,
Bogdan
pravin.swami(a)wipro.com wrote:
> Hi Bogdan-Andrei Iancu,
>
> Thanks for your reply .
>
> When Sending a INVITE request without (no-TLS) proxy establishes TCP
> connection successfully & call Succeeds.
> But, when tried INVITE with (TLS) proxy fails to establish TCP
> connection & get the below error.
>
> Am I missing something??
> Is there any configurable parameter which has to be used in ser.cfg
>
> Regards,
> Pravin.swami
>
>
>
>
>
> -----Original Message-----
> From: Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro]
> Sent: Monday, July 14, 2008 2:02 PM
> To: Pravin Sidram swami (WT01 - MCE-Mobile Devices)
> Cc: users(a)lists.openser.org
> Subject: Re: [OpenSER-Users] FW: OpenSER 1.3.2-tls - error
> tcp_blocking_connect
>
> Hi,
>
> The error message specks for it self :
> Connection refused
>
> So, your OpenSER tried to open a TCP/TLS connection to an address where
> nobody was listening.
>
> Regards,
> Bogdan
>
>
> pravin.swami(a)wipro.com wrote:
>
>>
>> Hi... All ,
>>
>> I have Configured OpenSER 1.3.2-tls source code & compiled
>> successfully .
>>
>> Registration is successful with TLS handshake .
>>
>> Below is the scenario of my test .
>>
>> UA1 & UA2 clients Registers on TLS.
>>
>> When UA1 send INVITE request to UA2
>>
>> I got the Following Error :
>>
>> : SIP/2.0 477 Send failed (477/TM)
>>
>> When i scanned through the logs of openser I got the following Message
>>
>
>
>> : proxy always trying to establish TCP connection but it Fails.
>>
>> Jul 11 23:55:20 [22415] DBG:core:check_via_address: params
>> 10.200.68.220, 10.200.68.220, 0 Jul 11 23:55:20 [22415]
>> DBG:core:tcp_send: no open tcp connection found, opening new one Jul
>> 11 23:55:20 [22415] ERROR:core:tcp_blocking_connect: poll error:
>> flags 18
>> Jul 11 23:55:20 [22415] ERROR:core:tcp_blocking_connect: failed to
>> retrieve SO_ERROR (111) Connection refused Jul 11 23:55:20 [22415]
>> ERROR:core:tcpconn_connect:
>> tcp_blocking_connect failed
>> Jul 11 23:55:20 [22415] ERROR:core:tcp_send: connect failed Jul 11
>> 23:55:20 [22415] ERROR:tm:msg_send: tcp_send failed Jul 11 23:55:20
>> [22415] ERROR:tm:t_forward_nonack: sending request failed Jul 11
>> 23:55:20 [22415] DBG:tm:t_relay_to: t_forward_nonack returned error
>> Jul 11 23:55:20 [22415] DBG:core:parse_headers: flags=ffffffffffffffff
>>
>
>
>> Jul 11 23:55:20 [22415] DBG:core:check_via_address: params
>> 10.200.68.220, 10.200.68.220, 0 Jul 11 23:55:20 [22415]
>> DBG:tm:run_trans_callbacks: trans=0xb5db7e50, callback type 128, id 0
>> entered
>> ACC: call missed:
>> timestamp=1215800720;method=INVITE;from_tag=20282693445eido3yklvo4;to_
>> tag=;call_id=8307080595eido3erlzgw;code=477;reason=Request
>> Failure
>>
>> - Presently i don't have any DNS server , is that
>> really matters ??
>> - While openser tries to open TCP connection with
>> UAS it's sending port ' 0 ' , but fails is it ok .?? , or Anything
>> I'm missing in Configuration .
>> I have Attahced config file Also.
>>
>> Thanks & Regards,
>> Pravin.swami
>>
>>
Hi Experts,
I need information on RLS. I have downloaded some material on RLS from internet.
I have read document ,Though i got brief idea on this.I am not clear on how to proceed.
I have to develop the code from scratch or and RPM is available.
please suggest me on this.
Regards,
Mahesh Peddi
Infospectrum India Pvt. Ltd.
Cell: +91 9765775176
IP-Phone Ext. - 764
Hi,
I've installed asterisk on a computer and openser on an other, I already
have a mysql database for openser,
and I'm now trying to install one for asterisk, but when I type:
CREATE DATABASE asterisk;
USE asterisk;
CREATE VIEW voicemail AS
SELECT phplib_id as uniqueid,
username as customer_id,
'default' as context,
username as mailbox,
vmail_password as password,
CONCAT(first_name,' ',last_name) as fullname,
email_address as email,
NULL as pager,
datetime_created as stamp
FROM openser.subscriber WHERE
vmail = TRUE;
I have the following error:
ERROR 1054 (42S22): Unknown column 'phplib_id' in 'field list'
I already had this problem for opensertcl, but I fixed it by adding
WEBSER="yes" on openserctlr.
thanks,
Eliass
Hi... All ,
I have Configured OpenSER 1.3.2-tls source code & compiled
successfully .
Registration is successful with TLS handshake .
Below is the scenario of my test .
UA1 & UA2 clients Registers on TLS.
When UA1 send INVITE request to UA2
I got the Following Error :
: SIP/2.0 477 Send failed (477/TM)
When i scanned through the logs of openser
I got the following Message : proxy always trying to establish TCP
connection but it Fails.
Jul 11 23:55:20 [22415] DBG:core:check_via_address: params
10.200.68.220, 10.200.68.220, 0
Jul 11 23:55:20 [22415] DBG:core:tcp_send: no open tcp connection found,
opening new one
Jul 11 23:55:20 [22415] ERROR:core:tcp_blocking_connect: poll error:
flags 18
Jul 11 23:55:20 [22415] ERROR:core:tcp_blocking_connect: failed to
retrieve SO_ERROR (111) Connection refused
Jul 11 23:55:20 [22415] ERROR:core:tcpconn_connect: tcp_blocking_connect
failed
Jul 11 23:55:20 [22415] ERROR:core:tcp_send: connect failed
Jul 11 23:55:20 [22415] ERROR:tm:msg_send: tcp_send failed
Jul 11 23:55:20 [22415] ERROR:tm:t_forward_nonack: sending request
failed
Jul 11 23:55:20 [22415] DBG:tm:t_relay_to: t_forward_nonack returned
error
Jul 11 23:55:20 [22415] DBG:core:parse_headers: flags=ffffffffffffffff
Jul 11 23:55:20 [22415] DBG:core:check_via_address: params
10.200.68.220, 10.200.68.220, 0
Jul 11 23:55:20 [22415] DBG:tm:run_trans_callbacks: trans=0xb5db7e50,
callback type 128, id 0 entered
ACC: call missed:
timestamp=1215800720;method=INVITE;from_tag=20282693445eido3yklvo4;to_ta
g=;call_id=8307080595eido3erlzgw;code=477;reason=Request Failure
- Presently i don't have any DNS server , is that
really matters ??
- While openser tries to open TCP connection with UAS
it's sending port ' 0 ' , but fails is it ok .?? , or Anything I'm
missing in Configuration .
I have Attahced config file Also.
Thanks & Regards,
Pravin.swami
Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
Hello evryone,
I am using openser-1.1.1-notls version.
I am using auth_radius module for the registratrion.
When i was firing the call continues then after some time openser gives
me the error like
ERROR:registrar:update_contacts: invalid cseq for aor <8885073>.
This error comes continuesly and bcz of that retramision is increasing.
I have used only this paramater of userloc module
modparam("usrloc", "db_mode", 2)
So what may be problem??
Can anybody help me to solve the problem.
Can u explain me.
Regards,
Dilip
Hey everybody,
I use OpenSER (openser 1.3.2-tls (x86_64/linux), svnrevision: 2:4420)
and the RTPproxy (1.1) and everything works fine expect for one thing.
If I try to use T.38 with following scenario:
SIP-FAX1 (NAT) <-> RTPProxy+OpenSER <-> Asterisk <-> Carrier
the Asterisk always produce this kind of warning:
'WARNING[1493]: rtp.c:1145 ast_rtp_read: RTP Read too short'.
The SIP-signaling with the re-INVITE works fine. If I get an re-INVITE I
call the force_rpt_proxy( 'l' ).
Has anybody an idea what I should change in the RTPproxy to get this
scenario working?
Thanks for your help,
Jens
hello,
I was wondering if any one have had any experience on making RTP-proxy work
behind a Firewall-NAT-Router like in this:
[Nated Clients]
|
|
[ROUTER--NAT--FIREWALL] (192.168.5.1 / 77.95.143.30)
|
[ Openser/RTP-Proxy] (192.168.5.40) uses Dispatcher module to
distribute calls to asterisk servers
| |
| |
[ASTERISK]1(.41) [ASTERISK2](.42)
| |
| |
--------[T1/PRI/SIP/H323]-----
if so ,,how can this be achieve ?
Thanks
Vicox
Hi... All ,
I have Configured OpenSER 1.3.2-tls source code & compiled
successfully .
Registration is successful with TLS handshake .
Below is the scenario of my test .
UA1 & UA2 clients Registers on TLS.
When UA1 send INVITE request to UA2
I got the Following Error :
: SIP/2.0 477 Send failed (477/TM)
When i scanned through the logs of openser
I got the following Message : proxy always trying to establish TCP
connection but it Fails.
Jul 11 23:55:20 [22415] DBG:core:check_via_address: params
10.200.68.220, 10.200.68.220, 0
Jul 11 23:55:20 [22415] DBG:core:tcp_send: no open tcp connection found,
opening new one
Jul 11 23:55:20 [22415] ERROR:core:tcp_blocking_connect: poll error:
flags 18
Jul 11 23:55:20 [22415] ERROR:core:tcp_blocking_connect: failed to
retrieve SO_ERROR (111) Connection refused
Jul 11 23:55:20 [22415] ERROR:core:tcpconn_connect: tcp_blocking_connect
failed
Jul 11 23:55:20 [22415] ERROR:core:tcp_send: connect failed
Jul 11 23:55:20 [22415] ERROR:tm:msg_send: tcp_send failed
Jul 11 23:55:20 [22415] ERROR:tm:t_forward_nonack: sending request
failed
Jul 11 23:55:20 [22415] DBG:tm:t_relay_to: t_forward_nonack returned
error
Jul 11 23:55:20 [22415] DBG:core:parse_headers: flags=ffffffffffffffff
Jul 11 23:55:20 [22415] DBG:core:check_via_address: params
10.200.68.220, 10.200.68.220, 0
Jul 11 23:55:20 [22415] DBG:tm:run_trans_callbacks: trans=0xb5db7e50,
callback type 128, id 0 entered
ACC: call missed:
timestamp=1215800720;method=INVITE;from_tag=20282693445eido3yklvo4;to_ta
g=;call_id=8307080595eido3erlzgw;code=477;reason=Request Failure
- Presently i don't have any DNS server , is that
really matters ??
- While openser tries to open TCP connection with UAS
it's sending port ' 0 ' , but fails is it ok .?? , or Anything I'm
missing in Configuration .
I have Attahced config file Also.
Thanks & Regards,
Pravin.swami
Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com