I'd like to replace just the domain name in the From field with a
different value. I was looking at using either replace or subst but I
cannot seem to get the regular expression right. Does anyone have a
working example?
Thanks,Steve
--
ISC Network Engineering
The University of Pennsylvania
3401 Walnut Street, Suite 221A
Philadelphia, PA 19104
voice: 215-573-8396
215-746-8001
fax: 215-898-9348
sip:blairs@net.isc.upenn.edu
I can make calls from a public UA registered with SER to an internal UA
registered with Asterisk. The problem is the call tear-down; when I hang
up from the public side, the call is torn down properly but when I hang
up from the private side, the public UA never gets the BYE packet.
When I capture the sip packets from the public UA I get this:
192.168.20.242 -> 65.126.236.148 SIP/SD Request: INVITE
sip:0509@pbx.nexusmgmt.com, with session description
65.126.236.148 -> 192.168.20.242 SIP Request: OPTIONS
sip:nexphone.nexusmgmt.com
65.126.236.148 -> 192.168.20.242 SIP Status: 100 trying -- your call is
important to us
65.126.236.148 -> 192.168.20.242 SIP Status: 404 User Not Found
65.126.236.148 -> 192.168.20.242 SIP 180 Ringing
65.126.236.148 -> 192.168.20.242 SIP/SD Status: 200 OK, with session
description
192.168.20.242 -> 65.126.236.148 SIP Request: ACK
sip:65.126.236.148;r2=on
When I hang up from the outside I get:
192.168.20.242 -> 65.126.236.148 SIP Request: BYE :65.126.236.148;r2=on
65.126.236.148 -> 192.168.20.242 SIP Status: 200 OK
I am most worried about the 404 packet; my guess is that it is where the
session breaks. It has these headers:
From: <sip:admin@nexphone.nexusmgmt.com>
To: <sip:nexphone.nexusmgmt.com>
Warning: 392 65.126.236.148:5060 "Noisy feedback tells: pid=23798
req_src_ip=80.176.149.91 req_src_port=5060
in_uri=sip:nexphone.nexusmgmt.comout_uri=sip:nexphone.nexusmgmt.com
via_cnt==1"
I can't work out why the public UA should send a packet to
sip:nexphone.nexusmgmt.com instead of sip:0509@pbx.nexusmgmt.com.
I attach my config files and the SIP packets from the network sniffer.
Thanks,
Bart...
-----Original Message-----
From: Brett N [mailto:brettlist@nemeroff.com]
Sent: 14 March 2006 16:03
To: Vitaly Nikolaev
Cc: Bart J. Smit; serusers(a)lists.iptel.org
Subject: RE: [Serusers] Sample SER + Asterisk conf?
That really shouldn't be necessary. Make sure the approproate domains or
IPs are listed as "aliases" in ser.cfg.
What is the problem you are having? Perhaps if you tell us what is
wrong,
we can help fix it?
On Tue, March 14, 2006 9:03 am, Vitaly Nikolaev wrote:
> I had a problem long time ago with 0.8.14m that ser and asterisk (or
any
> b2bua) can not work on same IP address on different ports, somewhere
in
> the logic of ser it mistakes in "if myself" function, and since then I
> always have them on same server but different IP addresses....
>
> You might try it
>
>
> -----Original Message-----
> From: serusers-bounces(a)iptel.org [mailto:serusers-bounces@lists.iptel.org]
On
> Behalf Of Bart J. Smit
> Sent: Tuesday, March 14, 2006 9:59 AM
> To: serusers(a)lists.iptel.org
> Subject: [Serusers] Sample SER + Asterisk conf?
>
> I'm still having problems with ser and asterisk on the same public
> server.
>
> Could anybody send me a tarball of their ser.cfg and sip.conf
off-list,
> so I can do a sanity check against my files?
>
> Much appreciated.
>
> Bart...
>
> _______________________________________________
> 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,
The devel version contains a new module - statistics module: The
Statistics module is a wrapper over the internal statistics manager,
allowing the script writer to dynamically define and use of statistic
variables.
By bringing the statistics support into the script, it takes advantage
of the script flexibility in defining logics, making possible
implementation of any kind of statistic scenario.
All statistics variables defined via this module will be registered as
"script" to the statistics core manager.
Ex. of usages:
- count number of requests based on types, body, destination,
source, etc
- if signalling is reliable (lossless), to count active calls to a
destination
- whatever else yo can imagine :)
for more info, please refer to the online documentation:
http://openser.org/docs/modules/1.1.x/statistics.html
regards,
bogdan
Hello,
It depends what domains the boxes run.
IMHO if every box runs separate domain(s), you don't need to replicate
registration information (at least for basic service). Every box should
keep 'HLR' register for his own domain(s) only. Then every box handles
requests for its own domain(s) correctly.
If there is need to communicate between proxies, it's done on SIP level,
not on underlaying 'location' dbase.
Or someone please correct me :-)))
--
Regards,
Arek Bekiersz
Lenir wrote:
> Hello guys,
> I was wondering if anybody could share an example config using
> Registration Replication. I have two OpenSER boxes right now. In the
> near future I will be adding a third one.
> Question, If I recall correctly, I think I saw a post saying that
> registration replication only works on a 1-to-1 basis? Is this correct?
> What would be done for someone who has 3+ openser boxes, what can be
> done so that they all know about each other and who’s registered where?
That it... that exactly problem I had! I fixed it by having secondary IP
on the box without much thinking about other ways, thanks for the tip!!!
-----Original Message-----
From: samuel [mailto:samu60@gmail.com]
Sent: Tuesday, March 14, 2006 11:23 AM
To: Vitaly Nikolaev
Cc: Bart J. Smit; serusers(a)lists.iptel.org
Subject: Re: [Serusers] Sample SER + Asterisk conf?
Be carefull when you define alias or listen parameters. If you do not
define any port, by default ALL ports will match myself and therefore
all those requests going to the other program (not SER) will not reach
it because SER will treat the request targeted for itself.
In order to solve it, just add the port where SER is listening to the
alias parameter and you should not have anymore this problem.
Hope it helps,
Samuel.
2006/3/14, Vitaly Nikolaev <vnikolaev(a)intermedia.net>:
> I had a problem long time ago with 0.8.14m that ser and asterisk (or
any
> b2bua) can not work on same IP address on different ports, somewhere
in
> the logic of ser it mistakes in "if myself" function, and since then I
> always have them on same server but different IP addresses....
>
> You might try it
>
>
> -----Original Message-----
> From: serusers-bounces(a)iptel.org [mailto:serusers-bounces@lists.iptel.org]
On
> Behalf Of Bart J. Smit
> Sent: Tuesday, March 14, 2006 9:59 AM
> To: serusers(a)lists.iptel.org
> Subject: [Serusers] Sample SER + Asterisk conf?
>
> I'm still having problems with ser and asterisk on the same public
> server.
>
> Could anybody send me a tarball of their ser.cfg and sip.conf
off-list,
> so I can do a sanity check against my files?
>
> Much appreciated.
>
> Bart...
>
> _______________________________________________
> 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 had a problem long time ago with 0.8.14m that ser and asterisk (or any
b2bua) can not work on same IP address on different ports, somewhere in
the logic of ser it mistakes in "if myself" function, and since then I
always have them on same server but different IP addresses....
You might try it
-----Original Message-----
From: serusers-bounces(a)iptel.org [mailto:serusers-bounces@lists.iptel.org] On
Behalf Of Bart J. Smit
Sent: Tuesday, March 14, 2006 9:59 AM
To: serusers(a)lists.iptel.org
Subject: [Serusers] Sample SER + Asterisk conf?
I'm still having problems with ser and asterisk on the same public
server.
Could anybody send me a tarball of their ser.cfg and sip.conf off-list,
so I can do a sanity check against my files?
Much appreciated.
Bart...
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
Hi again,
isn't there anyone who uses the development SER version ? Anyone using/testing presence server ?
How can I contact the developers ? (serdev(a)lists.iptel.org does not accept my emails)
Maybe someone could point me to another presence server. Is there any presence server available for trying ?
I am desperately trying to build some presence server. Please help me...
Thanks,
ilker
________________________________
From: serusers-bounces(a)iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of İlker Aktuna (Koç.net)
Sent: Tuesday, March 14, 2006 9:12 AM
To: serusers(a)lists.iptel.org
Subject: [Serusers] Problem starting SER with Presence support
Hi everyone,
I am trying to run SER with presence server support. That's why I'm downloading the development sources with command:
cvs -d :pserver:anonymous@cvs.berlios.de:/cvsroot/ser checkout sip_router
I have libxml2 installed and the sources compile fine.
After that I try to start ser with attached config file "ser1.cfg". Actually, it is the simple config from the gettingstarted guide hello world part.
Unfortunately ser does not start with the following error:
# <mailto:ot@asterisk1> /root/ser/sbin/ser -c -f /root/ser/etc/ser/ser.cfg
0(28118) parse error (11,1-5): syntax error
0(28118) parse error (11,1-5):
ERROR: bad config file (2 errors)
Line 11 has the "fifo" file definition. My /tmp folder settings seem ok :
# ls -adl /tmp/
drwxrwxrwt 14 root root 4096 Mar 13 09:25 /tmp/
If I remove fifo line from the config (as in ser2.cfg) , ser starts but I guess that's not the right way. Because that time I can't register any clients and "serctl" command gives following error:
Error opening ser's FIFO /tmp/ser_fifo
Make sure you have line fifo=/tmp/ser_fifo in your config
By any chance, is there any user/developer who may have dealt with thşs problem before ?
Thanks,
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://271570.sigclick.mailinfo.com/sigclick/03060301/0E014E0E/09014E06/911…>
_____________________________________________________________________________________________________________________________________________
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.
_____________________________________________________________________________________________________________________________________________
Hello,
It depends what domains the boxes run.
IMHO if every box runs separate domain(s), you don't need to replicate
registration information (at least for basic service). Every box should
keep 'HLR' register for his own domain(s) only. Then every box handles
requests for its own domain(s) correctly.
If there is need to communicate between proxies, it's done on SIP level,
not on underlaying 'location' dbase.
Or someone please correct me :-)))
--
Regards,
Arek Bekiersz
Lenir wrote:
> Hello guys,
> I was wondering if anybody could share an example config using
> Registration Replication. I have two OpenSER boxes right now. In the
> near future I will be adding a third one.
> Question, If I recall correctly, I think I saw a post saying that
> registration replication only works on a 1-to-1 basis? Is this correct?
> What would be done for someone who has 3+ openser boxes, what can be
> done so that they all know about each other and who’s registered where?
Hello guys,
I was wondering if anybody could share an example config using Registration
Replication. I have two OpenSER boxes right now. In the near future I will
be adding a third one.
Question, If I recall correctly, I think I saw a post saying that
registration replication only works on a 1-to-1 basis? Is this correct? What
would be done for someone who has 3+ openser boxes, what can be done so that
they all know about each other and who's registered where?
Thanks in advance.
Lenir
I'm still having problems with ser and asterisk on the same public
server.
Could anybody send me a tarball of their ser.cfg and sip.conf off-list,
so I can do a sanity check against my files?
Much appreciated.
Bart...