Hallo,
I run openser on a debian used the deb package to install it.
I have a ndb-cluster setup that I have used successfully with SER 0.9.4, now I have tested to install openser and I
can't manage to get the openser mysql module to find the correct libmysql.
I have:
/usr/lib/libmysqlclient.so.12
/usr/lib/libmysqlclient.so.15
I have tried with a softlink from libmysql.so.10 but I don't manage.
What is the difference from standard SER and openser mysql module?
Regards
/Maria
Maria Yndefors
_______________________________________________________________
System Management & Development
BREDBANDSBOLAGET / B2 Bredband AB
Direct: +46 (0)8 50 69 83 80
Mobile: +46 (0)7 33 81 92 51
Fax: +46 (0)8 54 90 46 08
http://www.bredband.com
_______________________________________________________________
If there is an incoming request for, say, user 399(a)domain.com i want to
load an alternate fr_invite_timer using AVP. According to the TM module
docs, this is supported with the parameter fr_inv_timer_avp.
I've studied the AVP & TM docs but i still don't fully understand how to
get this working. Do I have to use avp_load statements, or does the TM
module automaticaly recognize the right user ?
Another question is, if i rewrite the user's URI, what will happen with
the AVP?
Ive created an AVP entry in the usr_preferences table for user
399(a)domain.com, with a string attribute 'hg_invite_timer' and an integer
value of 5. (which would be type 1).
Thanks in advance,
Hilco
=================
Below are my TM and AVPOPS papameters from the config file. I dont use
any other avp funtion calls.
#
# TM params
#
modparam("tm", "fr_inv_timer", 15 )
modparam("tm", "fr_inv_timer_avp","s:hg_invite_timer")
#
# AVPOPS params
#
modparam("avpops","avp_url","mysql://openser:xxxxx@localhost/openser")
modparam("avpops","avp_table","usr_preferences")
=================
Hi,
If I perform a parallel forking (in a failure route after that the first
call downs in timeout) I see that if one of the recever decline the call
the other destination continues to ring.
Is there a command to terminate all parallel calls.
Matteo
Netcall - Job opportunity
Netcall (www.netcall.pt) is the leading VoIP service provider in Portugal.
Netcall is also the new kid on the block, we are fighting the established
old fashioned telco's.
We are currently searching for an experienced systems engineer, highly
specialized on VoIP services, to join our team in Porto, Portugal.
We offer you a great career opportunity in a young and dynamic company,
where your contribution would have a direct impact on the business
definition and strategy.
You will work as a member of the development team, designing and developing
next generation VoIP services.
Candidates should have:
- Deep knowledge on networking and VoIP related protocols (SIP, IAX, ENUM,
etc.)
- Experience on SER, Asterisk and MySQL
- Strong troubleshooting, debugging, problem solving, and analytical skills
So if you want to get for a period experience abroad and also work in a
challenging area where you can express yourself with your knowledge...
please make the time to address us an email with CV...
If you're interested and/or would like to get additional info, please feel
free to contact us: emprego(a)netcall.pt
I'm trying to setup PSTN gateway for termination and i would like to use SER
as a guard + to collect CDR's. but my consurn is the BYE messages i don't
know how many failed BYE messages i'll get in realtime operation because i
can't get correct cdr's without BYE.
Is there a way to use mediaproxy rtp timeout so when i don't receive BYE i
the call will be terminated let's say in 30 sec. What kind of message does
mediaproxy send after that idle time CANCEL?
And what is better way to do billing? Set cron to check balance on 5 min. or
to use exec module and do mysql query after every BYE or CANCEL message?
Using cron will make me lose maximum of 5 min. * number of PSTN lines and
with query after every call i will lose only charge for active calls.
Regards
Samuel,
I guess I can't call t_replicate more than once. Dammit!
Doug.
-----Original Message-----
From: samuel [mailto:samu60@gmail.com]
Sent: Wednesday, December 14, 2005 10:27 AM
To: Douglas Garstang
Cc: users(a)openser.org
Subject: Re: [Users] Tricky Question
Have you tried t_replicate instead of t_relay???
This t_replicate function should send the REGISTER to the other
registrar and absorve the answers. However this t_replicate has (or
had??) an inconvenient: it can be used with only one secondary
host...so it's not possible to use it with several asterisks. Please,
correct me if I am wrong.
Samuel.
2005/12/14, Douglas Garstang <dgarstang(a)oneeighty.com>:
> Here's a tricky question for the list.
>
> I have phones registering with OpenSER. After authenticating and saving the location, it forwards each registration request onto multiple Asterisk systems who send back Trying, OK, etc. OpenSER forwards these back to the phones eventhough they don't need to be. I want to stop them from getting back to the phones, because from the phone's perspective they've already registered, and now these extra Trying, Ok messages are coming back. Furtunately it doesn't seem to be causing any problems for the Polycom phones, but I'd still like ton get rid of them.
>
> How....? Maybe call setflag() when I get a registration, and then look for messages coming back with the flag?
>
> Doug
>
>
> _______________________________________________
> Users mailing list
> Users(a)openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
I still can't register with another port.
This is what I am getting from ngrep.
interface: \ (10.0.1.0/255.255.255.0)
#
#
U 10.0.1.105:8080 -> 10.0.1.99:8080
REGISTER sip:10.0.1.99 SIP/2.0..Via: SIP/2.0/UDP
10.0.1.105:8080;rport;bran
ch=z9hG4bKA2546AEF22FA4766A172D9533D938D55..From: Juan
<sip:677403479814529
@10.0.1.99>;tag=2853267163..To: Juan
<sip:677403479814529@10.0.1.99>..Conta
ct: "Juan" <sip:677403479814529@10.0.1.105:8080>..Call-ID:
1BEBA6527D3A4797
93E960D259872D75@10.0.1.99..CSeq: 41059 REGISTER..Expires:
1800..Max-Forwar
ds: 70..User-Agent: X-Lite release 1103m..Content-Length: 0....
#
I 10.0.1.99 -> 10.0.1.105 3:3
....E...}@.........i...c........REGISTER sip:10.0.1.99 SIP/2.0..Via:
SIP/2.
0/UDP
10.0.1.105:8080;rport;branch=z9hG4bKA2546AEF22FA4766A172D9533D938D55.
.From: Juan <sip:677403479814529@10.0.1.99>;tag=2853267163..To: Juan
<sip:6
77403479814529(a)10.0.1.99 <mailto:77403479814529@10.0.1.99>..Contact>
>..Contact: "Juan" <sip:677403479814529@10.0.1.105:
8080>..Call-ID: 1BEBA6527D3A479793E960D259872D75@10.0.1.99..CSeq: 41059
REG
ISTER..Expires: 1800..Max-Forwards: 70..User-Agent: X-Lite release
1103m..C
ontent-Length: 0....
#
U 10.0.1.105:8080 -> 10.0.1.99:8080
..
#
I 10.0.1.99 -> 10.0.1.105 3:3
....E...}B.........i...c..........
I don't know why SER (10.0.1.99) is not sending a 100 trying but instead is
sending like the echo of the REGISTER request to 10.0.1.105 3:3 ?
Can some one enlight me?
THANKS
Juan
Hello all,
I am trying to integrate SER and Asterisk. So could anybody
please guide me with the changes and the configuration that I need to in
either SER or Asterisk for achieving it.
Like for suppose I want to achieve a call being placed from
a User 1 registered to SER to User 2 who is registered to Asterisk.. So
how do I move ahead to achieve the same.
And are there any other new things that one can come up
with using SER and Asterisk together which can't be achieved using SER
or Asterisk alone? Kindly do let me know.
Thanks and Regards,
Bharat Sarvan
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
Here's a tricky question for the list.
I have phones registering with OpenSER. After authenticating and saving the location, it forwards each registration request onto multiple Asterisk systems who send back Trying, OK, etc. OpenSER forwards these back to the phones eventhough they don't need to be. I want to stop them from getting back to the phones, because from the phone's perspective they've already registered, and now these extra Trying, Ok messages are coming back. Furtunately it doesn't seem to be causing any problems for the Polycom phones, but I'd still like ton get rid of them.
How....? Maybe call setflag() when I get a registration, and then look for messages coming back with the flag?
Doug
Klaus,
Adding a second nic can't hurt. Asterisk can bind to multiple interfaces in a system. We don't have to have the info in OpenSER. We're using OpenSER as a means by which we can 'copy' the registrations to all the Asterisk systems, as Asterisk has no way to do this. By nature of the fact that OpenSER is also doing the registration authentication, it's interfacing to MySQL and for now I'm saving the location info there as well.
IMO most other people's setup's look a little under-engineered. Most people seem to be happy with having a hot or even cold spare. We're a telco (CLEC) so downtown is a deal breaker.
Doug.
-----Original Message-----
From: Klaus Darilion [mailto:klaus.mailinglists@pernau.at]
Sent: Wednesday, December 14, 2005 9:41 AM
To: Douglas Garstang
Cc: users(a)openser.org
Subject: Re: [Users] RE: failure_route.... I could cry...
If you already have 2 asterisk boxes, I do not think that adding a
second NIC in each asterisk will increase availability. Does Asterisk
bind to both interfaces? Which interface will be used by asterisk for
sending requests? Which src_IP will be used? What if this interface is
broken?
Why do you need the location info in Asterisk and openser?
IMO your setup looks like a little bit over-engineered.
regards
klaus
Douglas Garstang wrote:
> Klaus,
>
> Yes. It's necessary to replicate 4 times. We're implementing a 'farm' of Asterisk hosts. Asterisk has a serious limitation where there's no way to share contact info for phones between them. OpenSER seemed like it may be able to address this issue, by accepting registrations from the phones and then 'fanning' them out to ALL the Asterisk boxes. In this way, each Asterisk box knows where every phone is. Up to this point I had just been calling forward() multiple times, once to each Asterisk system and it seemed to work well. With the addition of extra ethernet ports in each Asterisk box (for extra redundancy), it got more complicated as I didn't want to register twice to the same Asterisk system. While I don't think that would cause a problem, I was just trying to make it as bullet-proof as I could.
>
> Doug.
>
> -----Original Message-----
> From: Klaus Darilion [mailto:klaus.mailinglists@pernau.at]
> Sent: Wednesday, December 14, 2005 9:06 AM
> To: Douglas Garstang
> Cc: users(a)openser.org
> Subject: Re: [Users] RE: failure_route.... I could cry...
>
>
> That's a difficult setup. I've never did this yet and do not know if it
> is possible at all. you can use t_replicate but this works only with 1
> host. I think someone solved this using forward_tcp.
>
> is it really necessary to replicate 4 times?
>
> regards
> klaus
>
> Douglas Garstang wrote:
>
>>Oh dear... it's failing because as far as t_relay() is concerned, the packet has been delivered, and the transaction is complete, right? If that's the case, how can I also send the REGISTRATION packet to another destination? Can I use forward() with failure_route? Arrgh!.
>>
>>
>>
>>>-----Original Message-----
>>>From: Douglas Garstang
>>>Sent: Tuesday, December 13, 2005 6:01 PM
>>>To: 'users(a)openser.org'
>>>Subject: failure_route.... I could cry...
>>>
>>>I am trying to have OpenSER forward registration requests to multiple Asterisk boxes with failover. Each Asterisk box has two ip addresses. My logic tries to relay to the first IP on the first Asterisk box (192.168.10.100). If that fails, it tries to relay to the second IP on the first Asterisk box (192.168.10.17). It then goes on and repeats the process with another Asterisk box who's IP's are 192.168.10.10.101 and 192.168.10.8.
>>>
>>>Actually the first IP address on each Asterisk system is fake (100 and 101)... that's how I am testing that it will fail to the second one.
>>>
>>>The openser.cfg below is causing this to be logged to messages:
>>>Dec 13 17:50:08 bil-pdev-3 openser[22318]: route10: Asterisk-1, NIC-1
>>>Dec 13 17:50:08 bil-pdev-3 openser[22318]: route20: Asterisk-2, NIC-1
>>>Dec 13 17:50:08 bil-pdev-3 openser[22318]: ERROR: t_newtran: transaction already in process 0xb6126560 < --- Why?
>>>Dec 13 17:50:08 bil-pdev-3 openser[22318]: route20: t_relay returned error <--- Why?
>>>Dec 13 17:50:09 bil-pdev-3 openser[22328]: failure21: Failed to register with Asterisk-2, NIC-1
>>>Dec 13 17:50:09 bil-pdev-3 openser[22328]: route22: Asterisk-2, NIC-2
>>>Dec 13 17:50:09 bil-pdev-3 openser[22328]: route22: End of routine
>>>Dec 13 17:50:10 bil-pdev-3 openser[22322]: User local found
>>>Dec 13 17:50:10 bil-pdev-3 openser[22320]: User local found
>>>
>>>Why am I getting the t_newtran and t_relay errors in there? What am I doing wrong? I'm just calling rewritehostport(next-ip), followed by append_branch() and t_relay. In fact something really weird happens. When I have the code there for route[20], failure_route[21] and route[22], it causes the code for the first three routing blocks, route[10], failure_route[11] and route[12] to act differently. It seems to make route20 fail to connect eventhough it comes AFTER it in the code.
>>>
>>>I'd really appreciate some help! Am I doing something wrong with rewritehostport and append_branch, because quite frankly the docs are terrible.
>>>
>>>
>>> if ( method == REGISTER ) {
>>> if ( !www_authorize("voip.com", "subscriber") ) {
>>> www_challenge("voip.com", "0");
>>> };
>>> save("location");
>>> route(10);
>>> route(20);
>>>
>>>#
>>># First Asterisk System.
>>>#
>>>
>>># Try first IP on this system (fake - will fail)
>>>route[10] {
>>> xlog ("L_INFO","route10: Asterisk-1, NIC-1");
>>> t_on_failure("11");
>>> rewritehostport("192.168.10.100:5060");
>>> append_branch();
>>> if ( !t_relay() ) {
>>> xlog ("L_INFO","route10: t_relay returned error");
>>> }
>>>}
>>>
>>>failure_route[11] {
>>> xlog ("L_INFO","failure11: Failed to register with Asterisk-1, NIC-1");
>>> route(12);
>>>}
>>>
>>># Try second IP on this system (real - should work)
>>>route[12] {
>>> xlog ("L_INFO","route12: Asterisk-1, NIC-2");
>>> t_on_failure("13");
>>> rewritehostport("192.168.10.17:5060");
>>> append_branch();
>>> if ( !t_relay() ) {
>>> xlog ("L_INFO","route12: t_relay returned error");
>>> }
>>> xlog ("L_INFO","route12: End of routine");
>>> return;
>>>}
>>>
>>>#
>>># Second Asterisk System
>>>#
>>>
>>># Try first IP on this system (fake - will fail)
>>>route[20] {
>>> xlog ("L_INFO","route20: Asterisk-2, NIC-1");
>>> t_on_failure("21");
>>> rewritehostport("192.168.10.101:5060");
>>> append_branch();
>>> if ( !t_relay() ) {
>>> xlog ("L_INFO","route20: t_relay returned error");>
>>> }
>>>}
>>>
>>>failure_route[21] {
>>> xlog ("L_INFO","failure21: Failed to register with Asterisk-2, NIC-1");
>>> route(22);
>>>}
>>>
>>># Try second IP on this system (real - should work)
>>>route[22] {
>>> xlog ("L_INFO","route22: Asterisk-2, NIC-2");
>>> t_on_failure("23");
>>> rewritehostport("192.168.10.8:5060");
>>> append_branch();
>>> if ( !t_relay() ) {
>>> xlog ("L_INFO","route22: t_relay returned error");
>>> }
>>> xlog ("L_INFO","route22: End of routine");
>>> return;
>>>}
>>>
>>>Doug
>>>
>>>
>>
>>
>>_______________________________________________
>>Users mailing list
>>Users(a)openser.org
>>http://openser.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
>