Hi,
I have installed openser v1.1.0 on Linux system.
I have problem checking if "Route" header contains the
"username" of Req-URI as below:
Req-URI will be like "sip:7267261000@<domain>"
and Route header will be like
"<sip:termdoneatscsf_7267261000@<domain>;lr>
# To get the RURI I did like this
avp_write("$ru/username", "$avp(UNAMEOFRURI)");
avp_print();
# To get the Route Header, I did like this
avp_write("$hdr(Route)", "$avp(ROUTEUSERNAME)");
avp_print();
Now, what is the best way to check if
$avp(ROUTEUSERNAME) contains $avp(UNAMEOFRURI)?
I tried as below, and it gives error "regexp requires
string value"
if(avp_check("$avp(UNAMEOFRURI)","re/$avp(ROUTEUSERNAME)/gi"))
{
log(1, "Usernames of RURI is found inside Route
header.");
} else
{
log(1, "Usernames of RURI is NOT found inside Route
header.");
}
Instead of avp_check, I tried to use search as below:
if(search("^(Route):.*$ru/username.*"))
{
log(1, "Usernames of RURI is found inside
Route header.");
}
But, it didn't work either.
Please suggest what is the best method to do this?
Thanks,
Vivek
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Hi all,
I installed ser adding some external modules but looking at /usr/local/lib/ser I couldn't find them (mysql jabber cpl-c auth_radius group_radius uri_radius avp_radius postgres pa)
make
make all include_modules="mysql jabber cpl-c auth_radius group_radius uri_radius avp_radius postgres pa"
make install
thanks
Giuseppe
Hi Andrey,
Thanks!
Jason
-----Original Message-----
From: serusers-bounces(a)lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of Andrey Kouprianov
Sent: Thursday, July 20, 2006 11:04 AM
To: serusers(a)iptel.org
Subject: Re: [Serusers] Presence issue with SER
Hi,
SER 0.9.6 is not a presence server and pa.so is an incomplete module.
You can try installing test persence version of CVS or FTP under
/pub/ser/presence directory.
Andrey.
On 7/20/06, Jason Terry <jterry(a)airvana.com> wrote:
>
>
>
> Hi,
>
>
>
> I am testing a sip application and I'm using SER as a presence server.
> I see two issues in notifies generated by SER. Here is the actual notify
> that I receive after my app sends a subscribe:
>
>
>
>
>
> NOTIFY sip:Google@10.4.12.10:50600 SIP/2.0
>
> Via: SIP/2.0/UDP 10.4.12.11;branch=z9hG4bK6c01.a4670966.0
>
> To: <sip:Google@127.0.0.1>;tag=2cb6000467458b6bc623
>
> From:
> sip:test@10.4.12.11;tag=5e359e0a74af9df0dcf075250e57d0d9-d5fe
>
> CSeq: 1 NOTIFY
>
> Call-ID: 2cb6000567458b6bc623
>
> Content-Length: 240
>
> User-Agent: Sip EXpress router(0.9.6 (i386/linux))
>
> Event: presence ß The ID from the subscribe is missing
>
> Content-Type: application/pidf+xml
>
> Subscription-State: active;expires=597
>
>
>
> <?xml version="1.0"?>
>
> <!DOCTYPE presence PUBLIC "//IETF//DTD RFCxxxx PIDF 1.0//EN"
> "pidf.dtd">
>
> <presence entity="sip:test@10.4.12.11">
>
> <tuple id="9r28r49">ser"> ß XML Error
>
> <status>
>
> <basic>closed</basic>
>
> </status>
>
> </tuple>
>
> </presence>
>
>
>
> Are these known issues? If so can someone point me to where I can get a
> fix?
>
>
>
> Regards,
>
> Jason
> _______________________________________________
> Serusers mailing list
> Serusers(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>
>
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
i never heard of this interix ... but it does not seem free, so i
would not use it. Also, it comes from microsoft directly, right? uuu
...
And it sounds a bit like cygwin stuff ...
What i was talking about are libraries which you can use to create
fully native .exe files (or .dll, as it fits you) ... For example, by
cross-compiling using mingw32 from a linux host, you get a fully
native windows .exe/.dll file ... Ain't that cool?
I don't want to have to open some kind of terminal window or the like
... i want native windows.
Cesc
PS - let's keep the discussion in the mail list ...
On 7/20/06, Public Dump <pbd(a)suspiria.net> wrote:
> Well, like the other project that tried to port Ser, there is also Microsoft Interix - it is free and should provide a complete POSIX abstraction layer.
>
> > -----Ursprüngliche Nachricht-----
> > Von: Cesc [mailto:cesc.santa@gmail.com]
> > Bereitgestellt: Donnerstag, 20. Juli 2006 16:00
> > Bereitgestellt in: Public Dump
> > Unterhaltung: [Users] openSER on Windows
> > Betreff: Re: [Users] openSER on Windows
> >
> >
> > I had a similar idea ... that is, just an idea :) There are
> > several OS abstraction layer libraries out there ... why not
> > use one of them as a foundation for ser/openser?
> >
> > I am familiar with the one used for MiniSIP (C++), though
> > other are available ... PWLib (used in openh323), sipxtapi
> > uses some OS-AL software, boost (not sure about this one),
> > ... I would say most of them are C++, thus i have never tried
> > how would the integration of openser C code with C++ code ...
> > but hey ...
> >
> > It may be a nice idea ... though this would introduce a whole
> > new range of problems and challenges ... it would also open
> > the door to a whole new big market.
> >
> > Regards,
> >
> > Cesc
> >
> >
> > On 7/20/06, Weiter Leiter <bp4mls(a)googlemail.com> wrote:
> > > There was this project going on:
> > > http://developer.berlios.de/projects/serinterix/ but it
> > seems to have
> > > died in infancy. Maybe you could give it a try and let us
> > know how's
> > > it working (or if).
> > >
> > > WL.
> > >
> > > Public Dump wrote:
> > > > Is it possible to compile openSER on windows, possibly
> > with the help
> > > > of cygwin ?
> > > > Anybody done that ?
> > > >
> > > > _______________________________________________
> > > > Users mailing list
> > > > Users(a)openser.org
> > > > http://openser.org/cgi-bin/mailman/listinfo/users
> > > >
> > > >
> > >
> > >
> > > _______________________________________________
> > > Users mailing list
> > > Users(a)openser.org
> > > http://openser.org/cgi-bin/mailman/listinfo/users
> > >
> >
>
Hi,
I am testing a sip application and I'm using SER as a presence
server. I see two issues in notifies generated by SER. Here is the
actual notify that I receive after my app sends a subscribe:
NOTIFY sip:Google@10.4.12.10:50600 SIP/2.0
Via: SIP/2.0/UDP 10.4.12.11;branch=z9hG4bK6c01.a4670966.0
To: <sip:Google@127.0.0.1>;tag=2cb6000467458b6bc623
From:
sip:test@10.4.12.11;tag=5e359e0a74af9df0dcf075250e57d0d9-d5fe
CSeq: 1 NOTIFY
Call-ID: 2cb6000567458b6bc623
Content-Length: 240
User-Agent: Sip EXpress router(0.9.6 (i386/linux))
Event: presence <-- The ID from the subscribe is missing
Content-Type: application/pidf+xml
Subscription-State: active;expires=597
<?xml version="1.0"?>
<!DOCTYPE presence PUBLIC "//IETF//DTD RFCxxxx PIDF 1.0//EN"
"pidf.dtd">
<presence entity="sip:test@10.4.12.11">
<tuple id="9r28r49">ser"> <-- XML Error
<status>
<basic>closed</basic>
</status>
</tuple>
</presence>
Are these known issues? If so can someone point me to where I can
get a fix?
Regards,
Jason
:)
On 7/20/06, VIDOVIC Mato <Mato.VIDOVIC(a)frequentis.com> wrote:
> Hi, Andrey!
>
> Thank you for response - I tried the command
>
> ./serctl ul show
>
> and got it confirmed that my client was registered.
> However in the syslog I found that the SUSE firewall was missconfigured, so
> after
> correcting this I got it working.
> It was obviously not an SER issue - sorry.
>
> Nevertheless, this corner may obviously cause problems in the first instance.
>
> Thanks once more and
> Best regards,
> Mato
>
>
> -----Original Message-----
> From: serusers-bounces(a)lists.iptel.org
> [mailto:serusers-bounces@lists.iptel.org] On Behalf Of Andrey Kouprianov
> Sent: Donnerstag, 20. Juli 2006 11:37
> To: serusers(a)iptel.org
> Subject: Re: [Serusers] Newbie question: Registration problem
>
> Hi,
>
> Not sure about the problem ur facing, but "./serctl alias show" shows
> aliases, not registrations. if you want to check for registrations then use
>
> ./serctl ul show
>
> As for your messages, check if domain/port/ip is set properly (if you have
> domain at all) on both client and server sides.
>
> Andrey.
>
> On 7/20/06, VIDOVIC Mato <Mato.VIDOVIC(a)frequentis.com> wrote:
> >
> >
> >
> > Hi folks!
> >
> > It is couple of days I am struggling with a problem to get SER up and
> > running.
> > I want to run it under SUSE 10.1 in the first instance simply without
> > MySQL, RADIUS etc. - I am using the SER distribution 0.9.6.
> >
> > To my problem: actually, I can start SER and I get the information as
> > follows:
> > -------------
> > Listening on
> > udp: 127.0.0.1 [127.0.0.1]:5060
> > udp: 169.254.158.130 [169.254.158.130]:5060
> > tcp: 127.0.0.1 [127.0.0.1]:5060
> > tcp: 169.254.158.130 [169.254.158.130]:5060
> > Aliases:
> > tcp: localhost:5060
> > udp: localhost:5060
> >
> > --------------------------
> > The locally started client X-lite registers with SER without a
> > problem (command ./serctl alias show confirms this).
> > However, it is the only one who registers - all other (HW phone
> > snom360 and other soft clients on other machine) send their REGISTER
> >
> > messages, but there is no answer from SER (and no ICMP messages from
> > the machine, what is normal and OK!).
> > In the ethereal trace it may be seen that SIP REGISTER messages are
> > coming to the machine and there is no answer.
> >
> > I would appreciate any hint where I can look to see the problem.
> >
> > Best regards,
> > Mato
> > _______________________________________________
> > Serusers mailing list
> > Serusers(a)lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
> >
> >
> >
> _______________________________________________
> Serusers mailing list
> Serusers(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
Hi,
I decided to create my own tool for reaching RTP streams.
But I need some help on tcpdump usage.
How can I make tcpdump only get SIP pakets with SDP and get the connection information from that packet ?
Is it possible to get fields From, To and c,m (from SDP) from SDP packets by tcpdump ?
Thanks,
ilker
________________________________
From: serusers-bounces(a)lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of İlker Aktuna (Koç.net)
Sent: Wednesday, July 19, 2006 3:30 PM
To: Greger V. Teigre
Cc: serusers(a)iptel.org
Subject: RE: [Serusers] Remote sip and rtp analyzing
Hi,
These are all very nice tools but none of them allow remote capturing of RTP.
I am looking for something which would also capture RTP and let us analyze it.
Thanks,
ilker
________________________________
From: Greger V. Teigre [mailto:greger@teigre.com]
Sent: Wednesday, July 19, 2006 9:52 AM
To: İlker Aktuna (Koç.net)
Cc: serusers(a)iptel.org
Subject: Re: [Serusers] Remote sip and rtp analyzing
Have you looked at these?
http://www.pernau.at/kd/voip/bookmarks-sip-test.html
g-)
İlker Aktuna (Koç.net) wrote:
Hi,
I still couldn't find a nice way of remote sip & rtp packet capturing and analyzing.
Is there any tool to do this ?
Do I need to use rcap protocol ? How can I use it on SER ?
Thanks,
ilker
________________________________
From: serusers-bounces(a)lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of İlker Aktuna (Koç.net)
Sent: Friday, July 07, 2006 2:39 PM
To: serusers(a)iptel.org
Subject: [Serusers] Remote sip and rtp analyzing
Hi,
I am looking for a solution to analyze sip and rtp packets on a Ser + Mediaproxy server.
SIPAlanyzerV6 seems to receive remote capturing, but there is no information on its manuals for remote capture.
What is the best solution to analyze sip and rtp packets remotely from a SER server ?
I also would like to have some statistical output, if possible.
Thanks for your comments.
ilker
C "-//W3C//DTD HTML 4.0 Transitional//EN">
Hi,
I still couldn't find a nice way of remote sip & rtp packet capturing and analyzing.
Is there any tool to do this ?
Do I need to use rcap protocol ? How can I use it on SER ?
Thanks,
ilker
________________________________
From: serusers-bounces(a)lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of İlker Aktuna (Koç.net)
Sent: Friday, July 07, 2006 2:39 PM
To: serusers(a)iptel.org
Subject: [Serusers] Remote sip and rtp analyzing
Hi,
I am looking for a solution to analyze sip and rtp packets on a Ser + Mediaproxy server.
SIPAlanyzerV6 seems to receive remote capturing, but there is no information on its manuals for remote capture.
What is the best solution to analyze sip and rtp packets remotely from a SER server ?
I also would like to have some statistical output, if possible.
Thanks for your comments.
ilker
C "-//W3C//DTD HTML 4.0 Transitional//EN">
Hi,
These are all very nice tools but none of them allow remote capturing of RTP.
I am looking for something which would also capture RTP and let us analyze it.
Thanks,
ilker
________________________________
From: Greger V. Teigre [mailto:greger@teigre.com]
Sent: Wednesday, July 19, 2006 9:52 AM
To: İlker Aktuna (Koç.net)
Cc: serusers(a)iptel.org
Subject: Re: [Serusers] Remote sip and rtp analyzing
Have you looked at these?
http://www.pernau.at/kd/voip/bookmarks-sip-test.html
g-)
İlker Aktuna (Koç.net) wrote:
Hi,
I still couldn't find a nice way of remote sip & rtp packet capturing and analyzing.
Is there any tool to do this ?
Do I need to use rcap protocol ? How can I use it on SER ?
Thanks,
ilker
________________________________
From: serusers-bounces(a)lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of İlker Aktuna (Koç.net)
Sent: Friday, July 07, 2006 2:39 PM
To: serusers(a)iptel.org
Subject: [Serusers] Remote sip and rtp analyzing
Hi,
I am looking for a solution to analyze sip and rtp packets on a Ser + Mediaproxy server.
SIPAlanyzerV6 seems to receive remote capturing, but there is no information on its manuals for remote capture.
What is the best solution to analyze sip and rtp packets remotely from a SER server ?
I also would like to have some statistical output, if possible.
Thanks for your comments.
ilker
C "-//W3C//DTD HTML 4.0 Transitional//EN">
Hi,
I still couldn't find a nice way of remote sip & rtp packet capturing and analyzing.
Is there any tool to do this ?
Do I need to use rcap protocol ? How can I use it on SER ?
Thanks,
ilker
________________________________
From: serusers-bounces(a)lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of İlker Aktuna (Koç.net)
Sent: Friday, July 07, 2006 2:39 PM
To: serusers(a)iptel.org
Subject: [Serusers] Remote sip and rtp analyzing
Hi,
I am looking for a solution to analyze sip and rtp packets on a Ser + Mediaproxy server.
SIPAlanyzerV6 seems to receive remote capturing, but there is no information on its manuals for remote capture.
What is the best solution to analyze sip and rtp packets remotely from a SER server ?
I also would like to have some statistical output, if possible.
Thanks for your comments.
ilker
_____________________________________________________________________________________________________________________________________________
Bu e-posta mesaji kisiye ozel olup, gizli bilgiler iceriyor olabilir. Eger bu e-posta mesaji size yanlislikla ulasmissa, icerigini hic bir sekilde kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta mesajini kullaniciya hemen geri gonderiniz ve tum kopyalarini mesaj kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz. Bu e-posta mesaji viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak yollayici, bu e-posta mesajinin - virus koruma sistemleri ile kontrol ediliyor olsa bile - virus icermedigini garanti etmez ve meydana gelebilecek zararlardan dogacak hicbir sorumlulugu kabul etmez.
This message is intended solely for the use of the individual or entity to whom it is addressed , and may contain confidential information. If you are not the intended recipient of this message or you receive this mail in error, you should refrain from making any use of the contents and from opening any attachment. In that case, please notify the sender immediately and return the message to the sender, then, delete and destroy all copies. This e-mail message, can not be copied, published or sold for any reason. This e-mail message has been swept by anti-virus systems for the presence of computer viruses. In doing so, however, sender cannot warrant that virus or other forms of data corruption may not be present and do not take any responsibility in any occurrence.
_____________________________________________________________________________________________________________________________________________
<http://387555.sigclick.mailinfo.com/sigclick/030A0601/04014E03/03050948/032…>
_____________________________________________________________________________________________________________________________________________
Bu e-posta mesaji kisiye ozel olup, gizli bilgiler iceriyor olabilir. Eger bu e-posta mesaji size yanlislikla ulasmissa, icerigini hic bir sekilde kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta mesajini kullaniciya hemen geri gonderiniz ve tum kopyalarini mesaj kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz. Bu e-posta mesaji viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak yollayici, bu e-posta mesajinin - virus koruma sistemleri ile kontrol ediliyor olsa bile - virus icermedigini garanti etmez ve meydana gelebilecek zararlardan dogacak hicbir sorumlulugu kabul etmez.
This message is intended solely for the use of the individual or entity to whom it is addressed , and may contain confidential information. If you are not the intended recipient of this message or you receive this mail in error, you should refrain from making any use of the contents and from opening any attachment. In that case, please notify the sender immediately and return the message to the sender, then, delete and destroy all copies. This e-mail message, can not be copied, published or sold for any reason. This e-mail message has been swept by anti-virus systems for the presence of computer viruses. In doing so, however, sender cannot warrant that virus or other forms of data corruption may not be present and do not take any responsibility in any occurrence.
_____________________________________________________________________________________________________________________________________________