Just some terminological clarifications:
Harpinning is a valid case: PSTN caller calls a SIP user who is currently
off-line and redirects incoming calls back to PSTN. Using Asterisk may be
a gateway choice for some. Failing to process hairpinned call by Asterisk
is a problem in Asterisk's SIP stack and ought to be fixed there.
-jiri
At 02:03 AM 1/18/2005, Matt Schulte wrote:
>Yes this is a big no no, forgive my ignorance I understand using SER as
>a proxy but if you are dealing with one server why run both SER and Ast?
>It's most likely confused because of the callid being the same. If you
>*really* wanted to you could media proxy via SER and potentially
>generate a second callid.. I tried doing this myself in a similar
>situation and realized it's more a pain than it's worth..
>
>-----Original Message-----
>From: Alexander Hoffmann [mailto:alexander.hoffmann@netgenius.de]
>On Friday 14 January 2005 12:53, Klaus Darilion wrote:
>> What does hairpin in asterisk terminology mean?
>>
> Thus it is absolutely ok if there is an INV
>from ISDN card1 -> going to SER -> returning to * -> terminated at ISDN
>card2.
>You can easily configure * to route calls like this, but it will
>complain
>about loops. If you comment out the loop detection in the source code
>(because this is not a loop here) then Asterisk will run into a
>deadlock. I googled for a solution and saw people discussing similar
>issues and talking
>about hairpins. IMHO: What ever you call this, it stays a bug in
>ASTERISK.
>If you have any suggestions what to do, please let me know !
>
>Thanks,
>Alex
>
>_______________________________________________
>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
--
Jiri Kuthan http://iptel.org/~jiri/
Hi,
Is there a simple way to lookup contacts directly from a DB table
instead of memory? A quick look into the register module doesn't show
anything like that.
The idea behind that is to build a redundant SER cluster. All nodes
write their registrations directly into a MySQL master database, which
replicates the contacts to the slave databases. The SERs then lookup
contacts from their local slave databases. The master database will be
secured by a MySQL cluster.
This is because if I replicate registers on SIP layer (for example with
t_replicate()), I have to synchronize the location databases manually
from time to time, because register replications get lost on heavy SIP
load, and there is actually no way to automatically load contacts which
are stored on other nodes while one SER was down.
Their is also no need to send replicated registers over the net which
reduces SIP messages.
I don't really know how much impact this approach will have regarding
performance (going around the internal location memory), but I think it
will not hurt as much as having out-of-synch location tables on the SER
nodes.
Any comments on this approach? Anybody who is also interested in such
approach?
Andy
> 1) I want to use SER as the only point where to implement all call
routing
This is very similar to how we do things at our company. We use Asterisk
as our IAX/PRI/misc media proxy, and SER does all of our LCR/CDR's. What
I was getting at is, is SER a centralized server ie housing many
servers? Or is this a per server basis, such as this:
Server1 <Asterisk/SER> Server2 <Asterisk/SER>
If it's a scenario where your LCR is not centralized then it's almost
unneeded. In our situation, we dedicate servers to a single function,
for scalability and also to get by this problem that you're seeing.
> 2) I need a gateway that supports ISDN NT-mode
I'm not bad mouthing Asterisk, we love it for a media gateway and as a
PBX, for that it's priceless. For call routing though, etc yes it's a
baby.
Matt
-----Original Message-----
From: Alexander Hoffmann [mailto:alexander.hoffmann@netgenius.de]
Hi,
The reason why I need both is:
1) I want to use SER as the only point where to implement all
call routing
logic
2) I need a gateway that supports ISDN NT-mode
Because of 2 I am using Asterisk, do you know something better ?
Regards,
Alex
Hi all,
I hope you can help me because I am under pressure from the powers
that be to get this completed. I have set up SER and Asterisk on the
same pc. SER is listening on 5060 and Asterisk on 5061. I had
originally created user accounts in asterisk but now I would like
users to register with ser instead. However this is proving difficult.
Obviously I must create a user account before users can register. I
have run the mysql script and it successfully installed. However when
I run the serctl facility i.e. serctl add xxxx xxx xxx, I get the
following error:
ERROR: 2005 Unknown Mysql Server Host 'dbhost'
Also when I type mysql at the command line I am told:
Error: 1045: Access denied for user: 'root@localhost' (Using
password: NO)
If someone could help me with this, I would really appreciate it.
Please note that Im new to linux so please make it as simple as
possible.
Thanks again,
Aisling.
-------------------Legal Disclaimer---------------------------------------
The above electronic mail transmission is confidential and intended only for the person to whom it is addressed. Its contents may be protected by legal and/or professional privilege. Should it be received by you in error please contact the sender at the above quoted email address. Any unauthorised form of reproduction of this message is strictly prohibited. The Institute does not guarantee the security of any information electronically transmitted and is not liable if the information contained in this communication is not a proper and complete record of the message as transmitted by the sender nor for any delay in its receipt.
Please note that i have tried the default password heslo and also my
root password and every other password I use on this machine. I didnt
create a user dbhost so I dotn know where this came from.
Am I correct in my understanding that a user account MUST be created
before a user can register?
Any help with this would be greatly appreciated!
Aisling.
---- Original Message ----
From: ashling.odriscoll(a)cit.ie
To: serusers(a)iptel.org
Subject: FW: Re: [Serusers] MySql error
Date: Tue, 18 Jan 2005 12:00:00 -0000
Thank you for that reply.That command now allows me to access the
mysql database. Do you have any idea why it is that the serctl gives
me the following error though when trying to add a user?:
>ERROR: 2005 Unknown Mysql Server Host 'dbhost'
I would rather use this facility that adding them directly to the
database.
Thanks again,
Aisling.
---- Original Message ----
From: ritesh.j(a)net4india.net
To: ashling.odriscoll(a)cit.ie, serusers(a)iptel.org
Subject: Re: [Serusers] MySql error
Date: Tue, 18 Jan 2005 17:31:39 +0530
>Hi
>Pls type
>mysql -u root -p
>instead of only mysql
>then it will ask for the password, key in the password and enter
>
>Thanks & Regards
>Ritesh Jalan
>Senior Engineer - Test & Audit
>Net4india Ltd.
>504, Bhikaji Cama Bhawan
>11, Bhikaji Cama Place
>New Delhi 110066
>Tel: 91 (011) (26160129 - 131) (Extn 131)
>URL: http://www.net4india.com
>----- Original Message -----
>From: "Ashling O'Driscoll" <ashling.odriscoll(a)cit.ie>
>To: <serusers(a)iptel.org>
>Sent: Tuesday, January 18, 2005 4:49 PM
>Subject: [Serusers] MySql error
>
>
>Hi all,
>
>I hope you can help me because I am under pressure from the powers
>that be to get this completed. I have set up SER and Asterisk on the
>same pc. SER is listening on 5060 and Asterisk on 5061. I had
>originally created user accounts in asterisk but now I would like
>users to register with ser instead. However this is proving
>difficult.
>
>Obviously I must create a user account before users can register. I
>have run the mysql script and it successfully installed. However when
>I run the serctl facility i.e. serctl add xxxx xxx xxx, I get the
>following error:
>
>ERROR: 2005 Unknown Mysql Server Host 'dbhost'
>
>Also when I type mysql at the command line I am told:
>
>Error: 1045: Access denied for user: 'root@localhost' (Using
>password: NO)
>
>If someone could help me with this, I would really appreciate it.
>Please note that Im new to linux so please make it as simple as
>possible.
>
>Thanks again,
>Aisling.
>
>
>-------------------Legal
>Disclaimer---------------------------------------
>
>The above electronic mail transmission is confidential and intended
>only for
>the person to whom it is addressed. Its contents may be protected by
>legal
>and/or professional privilege. Should it be received by you in error
>please
>contact the sender at the above quoted email address. Any
>unauthorised form
>of reproduction of this message is strictly prohibited. The Institute
>does
>not guarantee the security of any information electronically
>transmitted and
>is not liable if the information contained in this communication is
>not a
>proper and complete record of the message as transmitted by the
>sender nor
>for any delay in its receipt.
>
>_______________________________________________
>Serusers mailing list
>Serusers(a)iptel.org
>http://mail.iptel.org/mailman/listinfo/serusers
>
>
>-------------------Legal
>Disclaimer---------------------------------------
>
>The above electronic mail transmission is confidential and intended
>only for the person to whom it is addressed. Its contents may be
>protected by legal and/or professional privilege. Should it be
>received by you in error please contact the sender at the above
>quoted email address. Any unauthorised form of reproduction of this
>message is strictly prohibited. The Institute does not guarantee the
>security of any information electronically transmitted and is not
>liable if the information contained in this communication is not a
>proper and complete record of the message as transmitted by the
>sender nor for any delay in its receipt.
>
-------------------Legal Disclaimer---------------------------------------
The above electronic mail transmission is confidential and intended only for the person to whom it is addressed. Its contents may be protected by legal and/or professional privilege. Should it be received by you in error please contact the sender at the above quoted email address. Any unauthorised form of reproduction of this message is strictly prohibited. The Institute does not guarantee the security of any information electronically transmitted and is not liable if the information contained in this communication is not a proper and complete record of the message as transmitted by the sender nor for any delay in its receipt.
Thanks for your help
I manually changed the tables from MySql to Postgres... but in the
"ser_mysql.sh" there are no links (foreign keys) between the tables, maybe
because MySQl dont have control over it.... but Postgres have, and would be
cool to have correct foreign keys in the Postgres database. Is there any
place in the distribution or in some web page that have the foreign keys
between the tables.
Obrigado
João Pereira
PS: não existirão listas destas em Portugues? :P
----- Original Message -----
From: "Welesley Sibelson Dias" <leley.dias(a)redevox.com.br>
To: "Joao Pereira" <joao.pereira(a)fccn.pt>
Sent: Monday, January 17, 2005 11:05 AM
Subject: Re: [Serusers] mysql or postgres database
Joao No... :(
i have one script copy_to_pgsql do you first create tables in mysql and
convert to pgsql
but Joao it easy find one converter of mysql to pgsql tables.
Em Seg 17 Jan 2005 12:52, você escreveu:
> Thank you very much...
> and is there any place in the distribution with the DB tables in Postgres?
>
> Joao
>
>
> ----- Original Message -----
> From: "Welesley Sibelson Dias" <leley.dias(a)redevox.com.br>
> To: <serusers(a)lists.iptel.org>
> Sent: Monday, January 17, 2005 10:29 AM
> Subject: Re: [Serusers] mysql or postgres database
>
> > Joao
> > into directory modules/postgres
> > exist one script serpgctl it serctl to postgres
> >
> > Em Seg 17 Jan 2005 12:15, Joao Pereira escreveu:
> > > Hi
> > > I m already using a Postgres database in my PC and now I wanted to
>
> connect
>
> > > SER with it, but serctl and all the SER arquitecture is in MySql. I
> > > have SER already using a postgres SQL for registering and accounting,
> > > but
>
> with
>
> > > serctl is more dificult.... Should I insist in postgres because SER
>
> really
>
> > > supports it or should I give up and install mysql??
> > >
> > > Thaks
> > > Joao
> > >
> > > _______________________________________________
> > > 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
Thank you for that reply.That command now allows me to access the
mysql database. Do you have any idea why it is that the serctl gives
me the following error though when trying to add a user?:
>ERROR: 2005 Unknown Mysql Server Host 'dbhost'
I would rather use this facility that adding them directly to the
database.
Thanks again,
Aisling.
---- Original Message ----
From: ritesh.j(a)net4india.net
To: ashling.odriscoll(a)cit.ie, serusers(a)iptel.org
Subject: Re: [Serusers] MySql error
Date: Tue, 18 Jan 2005 17:31:39 +0530
>Hi
>Pls type
>mysql -u root -p
>instead of only mysql
>then it will ask for the password, key in the password and enter
>
>Thanks & Regards
>Ritesh Jalan
>Senior Engineer - Test & Audit
>Net4india Ltd.
>504, Bhikaji Cama Bhawan
>11, Bhikaji Cama Place
>New Delhi 110066
>Tel: 91 (011) (26160129 - 131) (Extn 131)
>URL: http://www.net4india.com
>----- Original Message -----
>From: "Ashling O'Driscoll" <ashling.odriscoll(a)cit.ie>
>To: <serusers(a)iptel.org>
>Sent: Tuesday, January 18, 2005 4:49 PM
>Subject: [Serusers] MySql error
>
>
>Hi all,
>
>I hope you can help me because I am under pressure from the powers
>that be to get this completed. I have set up SER and Asterisk on the
>same pc. SER is listening on 5060 and Asterisk on 5061. I had
>originally created user accounts in asterisk but now I would like
>users to register with ser instead. However this is proving
>difficult.
>
>Obviously I must create a user account before users can register. I
>have run the mysql script and it successfully installed. However when
>I run the serctl facility i.e. serctl add xxxx xxx xxx, I get the
>following error:
>
>ERROR: 2005 Unknown Mysql Server Host 'dbhost'
>
>Also when I type mysql at the command line I am told:
>
>Error: 1045: Access denied for user: 'root@localhost' (Using
>password: NO)
>
>If someone could help me with this, I would really appreciate it.
>Please note that Im new to linux so please make it as simple as
>possible.
>
>Thanks again,
>Aisling.
>
>
>-------------------Legal
>Disclaimer---------------------------------------
>
>The above electronic mail transmission is confidential and intended
>only for
>the person to whom it is addressed. Its contents may be protected by
>legal
>and/or professional privilege. Should it be received by you in error
>please
>contact the sender at the above quoted email address. Any
>unauthorised form
>of reproduction of this message is strictly prohibited. The Institute
>does
>not guarantee the security of any information electronically
>transmitted and
>is not liable if the information contained in this communication is
>not a
>proper and complete record of the message as transmitted by the
>sender nor
>for any delay in its receipt.
>
>_______________________________________________
>Serusers mailing list
>Serusers(a)iptel.org
>http://mail.iptel.org/mailman/listinfo/serusers
>
>
>-------------------Legal
>Disclaimer---------------------------------------
>
>The above electronic mail transmission is confidential and intended
>only for the person to whom it is addressed. Its contents may be
>protected by legal and/or professional privilege. Should it be
>received by you in error please contact the sender at the above
>quoted email address. Any unauthorised form of reproduction of this
>message is strictly prohibited. The Institute does not guarantee the
>security of any information electronically transmitted and is not
>liable if the information contained in this communication is not a
>proper and complete record of the message as transmitted by the
>sender nor for any delay in its receipt.
>
-------------------Legal Disclaimer---------------------------------------
The above electronic mail transmission is confidential and intended only for the person to whom it is addressed. Its contents may be protected by legal and/or professional privilege. Should it be received by you in error please contact the sender at the above quoted email address. Any unauthorised form of reproduction of this message is strictly prohibited. The Institute does not guarantee the security of any information electronically transmitted and is not liable if the information contained in this communication is not a proper and complete record of the message as transmitted by the sender nor for any delay in its receipt.
Hi serusers,
after reading lots of docs and mailing lists I still have some doubts about
nathelper+rtpproxy and the error message I usually get from it is
rtpproxy: can't bind to the IPv4 port 35000: Cannot assign requested address
what is the correct way to start rtpproxy? do I have to provide nat and public
ip?
In the following situation: machine behind nat with private IP, running ser
and reachable from the outside via port forwarding on router's public ip
(forwarding port 5060 for ser and ports 35000-.... for rtpproxy range, both
udp/tcp), can I use rtpproxy? how should i start it?
(in the above situation ser registration from the outside works!)
thanks in advance
--
Giovanni Balasso
giaso(a)yahoo.it
Yes this is a big no no, forgive my ignorance I understand using SER as
a proxy but if you are dealing with one server why run both SER and Ast?
It's most likely confused because of the callid being the same. If you
*really* wanted to you could media proxy via SER and potentially
generate a second callid.. I tried doing this myself in a similar
situation and realized it's more a pain than it's worth..
-----Original Message-----
From: Alexander Hoffmann [mailto:alexander.hoffmann@netgenius.de]
On Friday 14 January 2005 12:53, Klaus Darilion wrote:
> What does hairpin in asterisk terminology mean?
>
Thus it is absolutely ok if there is an INV
from ISDN card1 -> going to SER -> returning to * -> terminated at ISDN
card2.
You can easily configure * to route calls like this, but it will
complain
about loops. If you comment out the loop detection in the source code
(because this is not a loop here) then Asterisk will run into a
deadlock. I googled for a solution and saw people discussing similar
issues and talking
about hairpins. IMHO: What ever you call this, it stays a bug in
ASTERISK.
If you have any suggestions what to do, please let me know !
Thanks,
Alex
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers