>> Hi all,
>> i am new to use SER. i want to build a test bed using SER as proxy server and SIPp as user agents to make some measurements as follows:
>>
>> A -------------------------- SER ---------------------------------- B
>> SIPp SIPp
>>
>>
>> i have a problem using SER :
>> I did registration for the user agents with the server and i can see them in location table in SER database, when A start a call to B the server respond to the INVITE with 100 trying then can't relay the message to B until A gets 408 request timeout , it seems that the server cannot retrieve the contact of B from the database.
>>
>> the Request URI i am using is sip:B@192.168.165.18 which is the IP of the server and i tried also using alias like ser.org so it became sip:B@ser.org but still have the same problem.
>>
>> i m putting below my config file ser.cfg
>>
>> i have also some questions:
>>
>> 1/ the domain field of location table in database is empty, so is this normal situation, actually i did set it manually to my domain.
>> 2/ also i have noticed that when using the command : serctl moni , i got the following message:
>> root@amar-desktop:~# serctl moni
>> [: 1074: ==: unexpected operator
>> [: 1074: 0: unexpected operator
>>
>> despite that ser is starting by using the command : serctl start, and i can see it is starting and even there is no error in /var/log/syslog.
>>
>> 3/ is there a way to view the sip messages traversing the server, i mean to monitor it., and is /var/log/syslog the only place to see the logs.
>>
>> i would be thankful if someone can help me with that cause i have task to do and i got stuck beside having very limited time.
>>
>>
>> Amar
>>
>>
>>
>>
>> _________________________________________________________________
>> You live life beyond your PC. So now Windows goes beyond your PC.
>> http://clk.atdmt.com/MRT/go/115298556/direct/01/
>
> _________________________________________________________________
> You live life beyond your PC. So now Windows goes beyond your PC.
> http://clk.atdmt.com/MRT/go/115298556/direct/01/
_________________________________________________________________
When your life is on the go—take your life with you.
http://clk.atdmt.com/MRT/go/115298558/direct/01/
>
> Hi all,
> i am new to use SER. i want to build a test bed using SER as proxy server and SIPp as user agents to make some measurements as follows:
>
> A -------------------------- SER ---------------------------------- B
> SIPp SIPp
>
>
> i have a problem using SER :
> I did registration for the user agents with the server and i can see them in location table in SER database, when A start a call to B the server respond to the INVITE with 100 trying then can't relay the message to B until A gets 408 request timeout , it seems that the server cannot retrieve the contact of B from the database.
>
> the Request URI i am using is sip:B@192.168.165.18 which is the IP of the server and i tried also using alias like ser.org so it became sip:B@ser.org but still have the same problem.
>
> i m putting below my config file ser.cfg
>
> i have also some questions:
>
> 1/ the domain field of location table in database is empty, so is this normal situation, actually i did set it manually to my domain.
> 2/ also i have noticed that when using the command : serctl moni , i got the following message:
> root@amar-desktop:~# serctl moni
> [: 1074: ==: unexpected operator
> [: 1074: 0: unexpected operator
>
> despite that ser is starting by using the command : serctl start, and i can see it is starting and even there is no error in /var/log/syslog.
>
> 3/ is there a way to view the sip messages traversing the server, i mean to monitor it., and is /var/log/syslog the only place to see the logs.
>
> i would be thankful if someone can help me with that cause i have task to do and i got stuck beside having very limited time.
>
>
> Amar
>
>
>
>
> _________________________________________________________________
> You live life beyond your PC. So now Windows goes beyond your PC.
> http://clk.atdmt.com/MRT/go/115298556/direct/01/
_________________________________________________________________
You live life beyond your PC. So now Windows goes beyond your PC.
http://clk.atdmt.com/MRT/go/115298556/direct/01/
Hi all,
i am new to use SER. i want to build a test bed using SER as proxy server and SIPp as user agents to make some measurements as follows:
A -------------------------- SER ---------------------------------- B
SIPp SIPp
i have a problem using SER :
I did registration for the user agents with the server and i can see them in location table in SER database, when A start a call to B the server respond to the INVITE with 100 trying then can't relay the message to B until A gets 408 request timeout , it seems that the server cannot retrieve the contact of B from the database.
the Request URI i am using is sip:B@192.168.165.18 which is the IP of the server and i tried also using alias like ser.org so it became sip:B@ser.org but still have the same problem.
i m putting below my config file ser.cfg
i have also some questions:
1/ the domain field of location table in database is empty, so is this normal situation, actually i did set it manually to my domain.
2/ also i have noticed that when using the command : serctl moni , i got the following message:
root@amar-desktop:~# serctl moni
[: 1074: ==: unexpected operator
[: 1074: 0: unexpected operator
despite that ser is starting by using the command : serctl start, and i can see it is starting and even there is no error in /var/log/syslog.
3/ is there a way to view the sip messages traversing the server, i mean to monitor it., and is /var/log/syslog the only place to see the logs.
i would be thankful if someone can help me with that cause i have task to do and i got stuck beside having very limited time.
Amar
_________________________________________________________________
You live life beyond your PC. So now Windows goes beyond your PC.
http://clk.atdmt.com/MRT/go/115298556/direct/01/
Hello,
being the time for a new IRC devel meeting, I propose Thursday, Nov 6,
2008, at 15:00UTC, on channel #kamailio, server irc.freenode.net
The focus is to sync the developers related the work since the last
major release, roadmap to next major release as well as minor releases
scheduling.
Please add to the agenda at:
http://www.kamailio.org/dokuwiki/doku.php/development:irc-meeting-agenda-dr…
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com
Hello,
I have a problem in accounting INVITE. When the call is connected with duration the INVITE, ACK, BYE are accounted in db. But the problem is when the call is disconnected before it is actually attempting to connect. i am getting only CANCEL accounted whereas INVITE is not accounted for the cancelled call. I have the xlogs showing INVITE and CANCEL both for this call only no accounting is performed for INVITE.
following is the config for INVITE & CANCEL;
if (is_method("INVITE")) {
setflag(1);
setflag(2); # MISSED
if (allow_trusted()) {
rewritehostport("xx.xxx.xy.xyz:5060");
route(1);
} else {
sl_send_reply("401", "Unauthorized");
route(1);
exit;
}
}
# CANCEL processing
if (is_method("CANCEL")) {
setflag(1);
setflag(3);
if (t_check_trans())
t_relay();
exit;
}
t_check_trans();
Please let me know what should be changed so that for the Call that is cancelled before it actually connects can have INVITE also accounted along w/ CANCEL.
Thanks,
KChris.
Connect with friends all over the world. Get Yahoo! India Messenger at http://in.messenger.yahoo.com/?wm=n/
Hey all ,
I want to make some ACL for the INVITES come from a PSTN-GW to certain users
on my OpenSER server.
for ex: I have the following extensions on my OpenSER server :
11001
11002
|
|
|
|
11111
What I want to implement is something similar to this :
Caller <-------> PSTN-GW <------->OpenSER <----> (complete this call to this
extension ) 11001
Caller <-------> PSTN-GW <------->OpenSER <----> (reject this call for this
user ) 11002
and so on for other extensions . any way to implement this feature in
openser ?
Hi list, always looking for as solving my audio problem with mediaproxy asterisk and openser, there will be some form of telling to the openser that when he comes from the from sip:asterisk@192.168.10.1:5070 that doesn't use the mediaproxy or the onreply_route[1] ,
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.10.1:5070;branch=z9hG4bK36b7f619;rport=5070
Record-Route: <sip:192.168.10.1;lr=on;ftag=as42edbc9b;nat=yes>
From: "asterisk" <sip:asterisk@192.168.10.1:5070>;tag=as42edbc9b
To: <sip:113@192.168.10.1>;tag=6d45d2188218c8ef
Call-ID: 5a1c60382f18bd832fa3bdc54dc6ab13(a)192.168.10.1
CSeq: 102 INVITE
User-Agent: Grandstream GXP2020 1.1.6.16
Contact: <sip:113@192.168.10.30:5062;transport=udp>
Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE
Content-Type: application/sdp
Supported: replaces, timer
Content-Length: 212
P-hint: Onreply-route - fixcontact
P-hint: onreply_route|usemediaproxy
v=0
o=113 8000 8000 IN IP4 192.168.10.30
s=SIP Call
c=IN IP4 192.168.1.64
t=0 0
m=audio 35064 RTP/AVP 0 101
a=sendrecv
a=rtpmap:0 PCMU/8000
a=ptime:20
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11
making other tests if I change this form the onreply_route[1], I have audio in the openser extension, but the one that this behind the pstn doesn't have audio or he doesn't listen to me
onreply_route[1] {
#
#-- On-replay block routing --
#
if (client_nat_test("1")) {
append_hf("P-hint: Onreply-route - fixcontact \r\n");
fix_nated_contact();
};
if ((isflagset(6) || isflagset(7)) && (status=~"(180)|(183)|2[0-9][0-9]")) {
if (search("^Content-Type:[ ]*application/sdp")) {
append_hf("P-hint: onreply_route|usemediaproxy \r\n");
use_media_proxy();
};
};
exit;
}
my best regardss
rickygm