Dear all,
I would like to say thanks for everybody help and kind-hearted who always give me some helps to solve my problem. Thank you very much.
Now, I have a problem in my openser. I can`t make a calling from client using the xlite. It is meant that the client can not make a call by using xlite ( It can not connect to server) .
In xlite screen, it always shows "403 forbidden" message. Does anybody can give me a suggesstion what is meant? Where the problem comes from? Please help me ...…
[View More]Please.
For the information:
1. The client use IP 202.95.149.2
2. This is the log message that I have got from xlite diagnostic:
SEND TIME: 3836510
SEND >> 202.95.149.250:5060
REGISTER sip:pcr.ac.id SIP/2.0
Via: SIP/2.0/UDP 202.95.149.40:5060;rport;branch=z9hG4bKC098998FE862469BBE0A3F218390D2B1
From: aldi <sip:123@pcr.ac.id>;tag=4145118495
To: aldi <sip:123@pcr.ac.id>
Contact: "aldi" <sip:123@202.95.149.40:5060>
Call-ID: AF8EEFDE9AD94CC5B910233C4AFA09BF(a)pcr.ac.id
CSeq: 5795 REGISTER
Expires: 1800
Max-Forwards: 70
User-Agent: X-Lite release 1105x
Content-Length: 0
RECEIVE TIME: 3836512
RECEIVE << 202.95.149.250:5060
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 202.95.149.40:5060;rport=5060;branch=z9hG4bKC098998FE862469BBE0A3F218390D2B1
From: aldi <sip:123@pcr.ac.id>;tag=4145118495
To: aldi <sip:123@pcr.ac.id>;tag=98a2bfb09e790c090877fa710657efb6.0d98
Call-ID: AF8EEFDE9AD94CC5B910233C4AFA09BF(a)pcr.ac.id
CSeq: 5795 REGISTER
Server: OpenSer (1.1.0-tls (i386/linux))
Content-Length: 0
Warning: 392 202.95.149.250:5060 "Noisy feedback tells: pid=4439 req_src_ip=202.95.149.40 req_src_port=5060 in_uri=sip:pcr.ac.id out_uri=sip:pcr.ac.id via_cnt==1"
3.What is the meaning : " 2(4454) is_local(): Realm 'pcr.ac.id' is not local"?
I got it when I run "openser" command. This is the message that I got:
get_hdr_field: cseq <CSeq>: <1497> <REGISTER>
2(4454) DEBUG:maxfwd:is_maxfwd_present: value = 70
2(4454) parse_headers: flags=200
2(4454) DEBUG: get_hdr_body : content_length=0
2(4454) found end of header
2(4454) find_first_route: No Route headers found
2(4454) loose_route: There is no Route HF
2(4454) is_local(): Realm 'pcr.ac.id' is not local
2(4454) DEBUG: add_param: tag=888227406
2(4454) DEBUG:parse_to:end of header reached, state=29
2(4454) DBUG:parse_to: display={123}, ruri={sip:123@pcr.ac.id}
2(4454) is_local(): Realm 'pcr.ac.id' is not local
2(4454) parse_headers: flags=ffffffffffffffff
2(4454) check_via_address(202.95.149.2, 202.95.149.2, 0)
2(4454) DEBUG:destroy_avp_list: destroying list (nil)
2(4454) receive_msg: cleaning up
4(4460) udp_rcv_loop: probing packet received from 202.95.149.2 50195
5(4461) udp_rcv_loop: probing packet received from 202.95.149.2 50195
2(4454) udp_rcv_loop: probing packet received from 202.95.149.2 50195
4.This is the contain of mysql:
mysql> select * from aliases;
+----------+-----------+--------------------+----------+------+---------------------+------+---------------------------------------------------------------------+------+---------------------+-------+---------------------+--------+---------+| username | domain | contact | received | path | expires
| q | callid
| cseq | last_modified | flags | user_agent | socket | methods |+----------+-----------+--------------------+----------+------+---------------------+------+---------------------------------------------------------------------+------+---------------------+-------+---------------------+--------+---------+| 123 | pcr.ac.id | sip:coba@pcr.ac.id | NULL | NULL | 2006-08-09 02:53:59 | 1.00 | The-Answer-To-The-Ultimate-Question-Of-Life-Universe-And-Everything | 42 | 1970-01-01 07:00:00 | 128 | OpenSER Server FIFO | NULL | NULL || 456 | pcr.ac.id | sip:feri@pcr.ac.id | NULL | NULL | 2006-08-09 06:57:28 | 1.00 | The-Answer-To-The-Ultimate-Question-Of-Life-Universe-And-Everything | 42 | 1970-01-01 07:00:00 | 128 | OpenSER Server FIFO | NULL | NULL
|+----------+-----------+--------------------+----------+------+---------------------+------+---------------------------------------------------------------------+------+---------------------+-------+---------------------+--------+---------+2 rows in set (0.00 sec)
I do hope anybody can help me. I have tried to solve this problem 2 days but I can`t. Please help me..please..
Regards with cheers,
Ferianto
---------------------------------
Do you Yahoo!?
Next-gen email? Have it all with the all-new Yahoo! Mail Beta.
---------------------------------
Get your email and more, right on the new Yahoo.com
[View Less]
Hello All,
I am using ser-0.8.14 as the proxy and seeing the below given crash
frequently. Please let me know what is causing the issue. The pool size is
around 16mb.
Loaded symbols for /lib/libnss_dns.so.2
#0 qm_malloc (qm=0x80cea20, size=16) at mem/q_malloc.c:239
239 FRAG_END(next)->prev_free=prev;
(gdb) bt
#0 qm_malloc (qm=0x80cea20, size=16) at mem/q_malloc.c:239
#1 0x080cea20 in mem_block ()
#2 0x08069dce in hostent_cpy (dst=0x80d0d74, src=0x80b8ce0) …
[View More]at proxy.c:133
#3 0x08069576 in mk_proxy (name=0xbfffe540, port=5060, proto=1) at proxy.c
:228
#4 0x40296c41 in uri2proxy (uri=0xbfffe798, proto=16) at ut.h:120
#5 0x40295ab9 in uri2sock (uri=0x10, to_su=0xbfffe6b0, proto=16) at ut.h
:141
#6 0x4029476a in build_dlg_ack (rpl=0xbfffe7a0, Trans=0x42533318,
branch=16, to=0xbfffe748, len=0xbfffe7a0, next_hop=0xbfffe798)
at t_msgbuilder.c:410
#7 0x402992a1 in build_local_ack (rpl=0x80d18c8, trans=0x10, branch=16,
ret_len=0x10, next_hop=0x10) at t_reply.c:274
#8 0x40298621 in reply_received (p_msg=0x80d18c8) at t_reply.c:1217
#9 0x080569a0 in forward_reply (msg=0x80d18c8) at forward.c:504
#10 0x0806bea1 in receive_msg (
buf=0x80b9700 "SIP/2.0 200 OK\r\nVia: SIP/2.0/UDP 4.71.12.219:5068
;branch=z9hG4bKe921.67e8dc61.0\r\nFrom:
<sip:+xxxxxx@xx.xx.xx.xxx:xxxx>;tag=5df86c24f8e00fb2ae17ab041c094b88-7a49\r\nTo:
<sip:+xxxxx@xx.xx.xx.xxx:"..., len=592, rcv_info=0x80d18c8) at receive.c:201
#11 0x080795ef in udp_rcv_loop () at udp_server.c:370
#12 0x0805aa89 in main_loop () at main.c:1107
#13 0x0805ce8e in main (argc=1108556168, argv=0xbfffed14) at main.c:2130
#14 0x42015574 in __libc_start_main () from /lib/tls/libc.so.6
(gdb) f 0
#0 qm_malloc (qm=0x80cea20, size=16) at mem/q_malloc.c:239
239 FRAG_END(next)->prev_free=prev;
(gdb) list 239
234
235 prev=FRAG_END(frag)->prev_free;
236 next=frag->u.nxt_free;
237 prev->u.nxt_free=next;
238 if(prev)
239 FRAG_END(next)->prev_free=prev;
240 }
241
242
243 #ifdef DBG_QM_MALLOC
(gdb)
Looking forward for the reply
Thanks
Suresh
[View Less]
When I try to use avp_pushto() in one section of ser.cfg it works and in
another section it doesn't. When I use it to out right forward a call it
works fine (callfwd). When it's used in the failure_route[1] it doesn't seem
to push a value onto ruri (I have made sure that avp_db_load() has been
called/used) . I'm wondering if avp_pushto() one of those methods that can't
be called from a failed route ?
I get the following error when I use it:
ERROR: t_forward_nonack: no branched for …
[View More]forwarding
ERROR: w_t_relay (failure mode): forwarding failed
ERROR: sl_reply_error used: I'm terribly sorry, server error occurred (1/SL)
I tried taking away voicemail section in failure_route[1] and made sure I was
phoning extension with a number instead of 'voicemail' in value column of the
database. That made no difference. When I tried adding append_branch() after
avp_pushto() it just ends up ringing the original phone number again.
Thanks in advance
-Shaun
route[1] {
# ----------------------------------------------------------
# Default Message Handler
# ----------------------------------------------------------
t_on_reply("1");
if (!t_relay()) {
if (method=="INVITE" || method=="ACK") {
end_media_session();
};
sl_reply_error();
};
}
route[3] {
# ----------------------------------------------------------
# INVITE Message Handler
# ----------------------------------------------------------
if (!allow_trusted()) {
if (!proxy_authorize("","subscriber")) {
proxy_challenge("","0");
break;
} else if (!check_from()) {
sl_send_reply("403", "Use From=ID");
break;
};
consume_credentials();
};
if (client_nat_test("3")) {
setflag(7);
force_rport();
fix_nated_contact();
};
lookup("aliases");
if (uri!=myself) {
route(4);
route(1);
break;
};
if (avp_db_load("$ruri/username", "s:callfwd")) {
setflag(22);
avp_pushto("$ruri", "s:callfwd");
route(6);
break;
};
if (!lookup("location")) {
if (uri=~"^sip:0[1-9][0-9]{8}") { # Domestic PSTN
route(4);
route(5);
break;
};
sl_send_reply("404", "User Not Found");
break;
};
if (avp_db_load("$ruri/username", "s:fwdnoanswer")) {
if (!avp_check("s:fwdnoanswer", "eq/$ruri/i")) {
setflag(27);
};
};
log(1,"t on fail \n");
t_on_failure("1");
route(4);
route(1);
}
route[4] {
# ----------------------------------------------------------
# NAT Traversal Section
# ----------------------------------------------------------
if (isflagset(6) || isflagset(7) || isflagset(11)) {
if (!isflagset(8)) {
setflag(8);
use_media_proxy();
};
};
}
route[6] {
# ----------------------------------------------------------
# Call Forwarding Handler
# ----------------------------------------------------------
lookup("aliases");
if (uri!=myself) {
if (!isflagset(22)) {
append_branch();
};
route(4);
route(1);
break;
};
if (!lookup("location")) {
if (uri=~"^sip:88[0-9]{8}") { # Offline VoIP Network user
sent to * for voicemail
route(4);
route(5);
break;
};
sl_send_reply("404", "User Not Found");
break;
};
route(4);
route(1);
}
failure_route[1] {
if (t_check_status("487")) {
break;
};
if (isflagset(26) && t_check_status("408")) {
if (avp_check("s:fwdnoanswer","eq/voicemail/I")) {
avp_delete("s:fwdnoanswer");
resetflag(26);
revert_uri();
rewritehostport("x.x.x.x:5060");#goto voicemail server
append_branch();
t_relay_to_udp("x.x.x.x", "5060");
break;
} else {
avp_pushto("$ruri", "s:fwdnoanswer");
avp_delete("s:fwdnoanswer");
resetflag(26);
route(6);
break;
};
};
end_media_session();
}
[View Less]
Hi!
Does somebody know why 'fr_inv_timer_avp' does nothing when I use it as
follow:
...
modparam("tm", "fr_inv_timer_avp", "inv_timeout")
modparam("avpops","avp_url","mysql://root@localhost/ser")
modparam("avpops","avp_table","avptimer")
# 'avptimer' is like 'usr_preferences'
...
avp_db_load("$ruri","inv_timeout/avptimer");
Actually I try to set a fr_inv_timer different from an user to another.
'avptimer' timer defines, for each users, their proper fr_inv_timer.
If somebody can help...
…
[View More]Thanks in advance,
Michel
[View Less]
Hello everybody,
Can anybody tell me about xmlrpc module? I've found it in the CVS version. I could not find any docs about it yet.
What is this module suppose to do, exactly?
Thanks in advance,
Victoria
Hi,
I am looking for a VoIP wholesaler who will allow us to operate our own SIP
server infrastructure while
we can forward all PSTN destined calls to their gateway. I really didn't
think that it would be hard to find one but
I have not been successful. I have checked so far with iCallGlobe.com and
Deltathree.com.
Can any of you recommend us some VoIP wholesaler with quality service and
competitive rate who allows this business setup?
Below is logical business relation setup:
Our …
[View More]subscriber <--->ATA setup to connect sip.ours.com<----->PSTN gateway of
wholesaler.com<--->PSTN
Basically we are looking for good "wholesaler.com".
Any comments will be appreciated.
John K.
[View Less]
Thanks Victor - unfortunately Cirpack does not support North American networks.
On 8/9/06, Victor Stanescu <victor.stanescu(a)gtstelecom.ro> wrote:
> I don't know what is reasonable for you, but I really advise you to take
> a look at Cirpack (www.cirpack.com). It's the full option gateway/switch
> (isdn, r2, ss7, v5, mgcp, sip, h.323, h.248), and if you take time to
> study their hardware, you can start from very small and pay as you grow.
>
> I am using Cirpack's for …
[View More]3 years and I was never more happier about
> other telco equipment :-)
>
> Max Clark wrote:
> > Hi all,
> >
> > I am looking for a _resonable_ cost SS7 solution to bundle with a TDM
> > <-> SIP media gateway. I know the Cisco 5350 supports SS7 when bundled
> > with an external solution - is there anything reasonably priced that
> > will give me SS7 capability?
> >
> > Thanks in advance,
> > Max
> >
>
--
Max Clark
http://www.clarksys.com
[View Less]
I have been running SER quite successfully for a long time now. So tonight I
dared to replicate the database to a remote server and changed the ser.cfg
as follows.
This is the two lines I changed in my ser.cfg filen
#fifo_db_url="mysql://ser:heslo@localhost/ser"
fifo_db_url="mysql://ser:heslo@192.168.12.140/ser"
#modparam("auth_db|permissions|uri_db|usrloc|acc", "db_url",
"mysql://ser:heslo@localhost/ser")
modparam("auth_db|…
[View More]permissions|uri_db|usrloc|acc", "db_url",
"mysql://ser:heslo@192.168.121.140/ser")
Also updated serctl as follows:
SQL_HOST=192.168.121.140
I then Stopped Ser, MySQL and restarted SER.
It takes a long time then I get these line in the error log.. and ser fails
to start.
Aug 9 22:36:08 ns2 ser[43517]: new_connection(): Can't connect to local
MySQL server through socket '/tmp/mysql.sock' (2)
Aug 9 22:36:08 ns2 ser[43517]: db_init(): Could not create a connection
Aug 9 22:36:08 ns2 ser[43517]: ERROR: group_db_ver: unable to open database
connection
Aug 9 22:36:08 ns2 ser[43517]: group:mod_init(): Error while querying table
version
Aug 9 22:36:08 ns2 ser[43517]: init_mod(): Error while initializing module
group
Then I start the old local mySQL server again and restart ser and it springs
to life.
Why is that? I am not pointing to the local mysql server anymore... Have I
missed something in the configuration?
Even more strange, it seems that all authentication and accounting gets
queried in the new server as I see can see the data in the new server alse
sees the client connection from SER.
Any one who can help with an explanation on this behaviour?
Kind regards
Roger
[View Less]
Dear all,
Now, I try to test my openser configuration by using xlite. I tried to call from client to test the openser configuration that I have built working sucessfully.
So, I must create a new user by using "openserctl add" command.
But when i tried to do that, I got an error message. The error message said that " no rows effected". I think that this message said that I can not add a new user.
For example:
#openserctl add aldi aldi aldi(a)pcr.ac.id
What can i do for solve this …
[View More]problem? I do hope anybody can give me a sugesstion.Please help me...Please
Note: I use mysql for the database, and it can work goodly. ( I can show all the table that there is in openser database)
Thanks with cheers,
Ferianto
---------------------------------
Do you Yahoo!?
Next-gen email? Have it all with the all-new Yahoo! Mail Beta.
[View Less]