Hi All !
I'm implementing SER, SEMS server, I've configured fifo as communication
method between them (folowing install manual). In ser.cfg I've enabled
conference part in INVITE message route handling as follows :
if (uri=~"sip:100.*@") {
if (!t_newtran()){
sl_send_reply("500","Could not create transaction");
break;
};
t_reply("100","Trying - just wait a minute !");
# assumes that Sems configuration parameter 'socket_name='
# has been set to /tmp/am_sock
if(!t_write_req("/tmp/am_fifo","conference")) {
t_reply("500","error contacting sems - in uri check 100");
};
break;
};
I can make a call on sip:100.*, but I don't have received any announcement
and in /var/log/syslog I see following problems with SEMS and more oftenly
with fifo permisions:
Aug 1 14:30:09 mail Sems[25848]: Error:
(SerClient.cpp)(read_from_fifo)(286): no more retries!
Aug 1 14:30:09 mail Sems[25848]: Error:
(SerClient.cpp)(read_from_fifo)(287): last error: Success Aug 1 14:30:09
mail Sems[25848]: Error: (SerClient.cpp)(send)(137): while reading Ser's
response.
Aug 1 14:30:09 mail Sems[25848]: Error: (AmRequest.cpp)(send)(219): while
sending request to Ser Aug 1 14:30:15 mail Sems[25852]: Error:
(SerClient.cpp)(read_from_fifo)(286): no more retries!
Aug 1 14:30:15 mail Sems[25852]: Error:
(SerClient.cpp)(read_from_fifo)(287): last error: Success Aug 1 14:30:15
mail Sems[25852]: Error: (SerClient.cpp)(send)(137): while reading Ser's
response.
Aug 1 14:30:15 mail Sems[25852]: Error: (AmRequest.cpp)(send)(219): while
sending request to Ser Aug 1 14:33:28 mail /usr/sbin/ser[25731]: ERROR:
open_reply_pipe: open error (/tmp/0000660D1443C4FC): Permission denied Aug
1 14:33:28 mail /usr/sbin/ser[25731]: ERROR: fifo_reply: no reply pipe
/tmp/0000660D1443C4FC
Thanks
palo
hello, guys:
I installed freeradiusd and SER. now, i want to connect the two
together. the problme is that when i include dictionary.ser in
raddb/dictionary, and run radiusd -X, then the messages came out as
follow:
-------------------------------------
read_config_files: reading dictionary
Errors reading dictionary: dict_init:
/usr/local/etc/raddb/dictionary[14]: Couldn't open dictionary "
/usr/local/share/freeradius/dictionary": No such file or directory
Errors reading radiusd.conf
--------------------------------------
any one knows how to solve it, please give me hints. thanks lot!
zhu
Hi serusers,
I have been using various versions of SER from last year without any problem
but recently I made a new installation of OpenSER 0.9.5. Since then I am
having problems with digest authentication from some of the phones. I have a
bunch of 186 ATAs and Cisco 7940 phones but they cannot register to the
server, while all the soft phones can register successfully. The server says
Credentials with given realm not found. I tried to change the realm to
localhost, the IP address, with no luck.
And below is the result of ngrep
I tried to grep the messages from the phones and here below is one message
from a Cisco 186 ATA which has failed to register
########### Beginning of the capture ##################
U PHONEIP:5060 -> SERVERIP:5060
REGISTER sip:SERVERIP SIP/2.0.
Via: SIP/2.0/UDP PHONEIP:5060.
From: <sip:06090003@SERVERIP;user=phone>;tag=500808430.
To: <sip:06090003@SERVERIP;user=phone>.
Call-ID: 704382462@PHONEIP.
CSeq: 1 REGISTER.
Contact: <sip:06090003@PHONEIP:5060;user=phone;transport=udp>;expires=3600.
User-Agent: Cisco ATA 186 v2.16.2 ata18x (030829a).
Content-Length: 0.
#
U SERVERIP:5060 -> PHONEIP:5060
SIP/2.0 100 Trying.
Via: SIP/2.0/UDP PHONEIP:5060.
From: <sip:06090003@SERVERIP;user=phone>;tag=500808430.
To: <sip:06090003@SERVERIP;user=phone>.
Call-ID: 704382462@PHONEIP.
CSeq: 1 REGISTER.
Server: OpenSer (0.9.5 (i386/linux)).
Content-Length: 0.
Warning: 392 SERVERIP:5060 "Noisy feedback tells: pid=4490
req_src_ip=PHONEIP req_src_port=5060 in_uri=sip:SERVERIP
out_uri=sip:SERVERIP via_cnt==1".
#
U SERVERIP:5060 -> PHONEIP:5060
SIP/2.0 401 Unauthorized.
Via: SIP/2.0/UDP PHONEIP:5060.
From: <sip:06090003@SERVERIP;user=phone>;tag=500808430.
To:
<sip:06090003@SERVERIP;user=phone>;tag=329cfeaa6ded039da25ff8cbb8668bd2.8af0
.
Call-ID: 704382462@PHONEIP.
CSeq: 1 REGISTER.
WWW-Authenticate: Digest realm="talk.artel.rw",
nonce="42edb29e1dbcc6fa814dd3396634ed7be68eea56".
Server: OpenSer (0.9.5 (i386/linux)).
Content-Length: 0.
Warning: 392 SERVERIP:5060 "Noisy feedback tells: pid=4490
req_src_ip=PHONEIP req_src_port=5060 in_uri=sip:SERVERIP
out_uri=sip:SERVERIP via_cnt==1".
Any idea?
Aimable
Hi,
In my ser.cfg being used with mediaproxy for NAT traversal, there are two
lines reuiqred by this package.
modparam("mediaproxy","sip_asymmetrics","/usr/local/etc/ser/sip-clients")
modparam("mediaproxy","rtp_asymmetrics","/usr/local/etc/ser/rtp-clients")
But these two files do not exist (*anywhere*) on my machine. I suppose that
they are a part of the mediaproxy package.Am I missing them or is the
package outdated.
Regards,
Ashutosh Kumar
Chetu, Inc.
Ph : 1(305) 402 6724 - Witin US
Ph : 91 120 5323340 - Outside US
Fax:1 (305) 832 5987
For more information, please visit http://www.chetu.com
Hi,
I've been working on conference with Xlite but it is not work. The problem
is SEMS starts sending media (default wav) back to Xlite once SEMS receives
the INVITE/SDP from Xlite. It seems a bug on Xlite not listening on the
media port after sending the INVITE thus it replys with ICMP port
unreachable. But I don't see anyone complain this on this list. Is something
wrong with my configuration?
Please please help me.... Thanks,
Pat
hello
i tried running serctl add 1001 1001 chris_cleofe2yahoo.com
but i got this error:
awk: syntax error near line 1
awk: bailing out near line 1
awk: syntax error near line 1
awk: bailing out near line 1
HA1 calculation failed
pls advise.
thnks.
Hi!
Has anyone of you used a database to make routing?
For example: If the caller marks 001 -> Rewritehost("xxx.xxx.xxx.111");
If the caller marks 0049 ->
Rewritehost("xxx.xxx.xxx.222");
The two host names are in my postgres database...
Once I used a command like this to stop calls of users that don't have
credit:
if (!exec_msg('
POS1=`expr index "$SIP_HF_FROM" sip: + 4`;
LENGTH=`expr index "$SIP_HF_FROM" @ - $POS1`;
USER=`expr substr "$SIP_HF_FROM" $POS1 $LENGTH`;
QUERY="select credit from subscriber where username=$USER AND
credit > 0";
RESULT=`psql -U postgres AAA -t -c "$QUERY"`;
if [ -z "$RESULT" ] ; then exit 1; fi ;'
))
{
sl_send_reply("403", "Sorry, not enough credit to make
this call.");
break;
};
... but I have problems to get the result of a psql query... is there any
way to do it??
Thanks!!
Sebastian
Scenario:
IP Phone --> SIP Server --> Asterisk --> (Voice Mailbox)
(G723.1, G729) -> (GSM) -> (GSM, G729) GSM coded file
Is ipphone with codec g723.1 and g729 cabable to retrived voice mail from
the above picture?
If not, please explain a little more.
Thanks a lot.