<div>No,this isn't the problem;I've changed the port on my openser like 5070, and asterisk is set like 5060 in sip.conf, but I've always the same error;</div>
<div><br><font color="#550055">Jun 21 03:33:43 asterisk12 openser[19037]: ERROR: udp_init: bind(6,<br> </font></div><span></span>
<div style="DIRECTION: ltr">0x8119a1c, 16) on <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://192.168.251.11/" target="_blank">192.168.251.11</a> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://192.168.251.11/" target="_blank">
http://192.168.251.11/</a>>: Cannot assign<br>requested address</div>
<p>.....what could be?</p>
<p> </p>
<div><br> </div>
<div><span class="gmail_quote">On 6/21/06, <b class="gmail_sendername">Daniel-Constantin Mierla</b> <<a href="mailto:daniel@voice-system.ro">daniel@voice-system.ro</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">You can safely ignore reverse resolve DNS messages, they are warnings<br>meaning no hostname was found set for those IP addresses - openser tries
<br>to get them in the aliases list. The problem comes from line:<br><br>Jun 21 03:33:43 asterisk12 openser[19037]: ERROR: udp_init: bind(6,<br>0x8119a1c, 16) on <a href="http://192.168.251.11">192.168.251.11</a> <<a href="http://192.168.251.11/">
http://192.168.251.11/</a>>: Cannot assign<br>requested address<br><br>This means that you do not have the IP <a href="http://192.168.251.11">192.168.251.11</a> configured on the<br>system. Do you have asterisk and openser listening on the same port
<br>(5060)? You must use different ports.<br><br>Cheers,<br>Daniel<br><br><br>On 06/21/06 10:55, Shenen Shenen wrote:<br>> Hi!This my openser.cfg;I've 2 asteriskathome with openser installed;I<br>> want to copy the authentificated sip registration from one box to
<br>> another and have always the same Sip registered in all 2 box, so if<br>> one box falls down the other can run without reinitialized all the<br>> sips (like Phoner..cubix...and also IP phones...)....I'm using
<br>> vrrpd...12 is the master, 11 is the slave, 200 is the virtual IP(this<br>> point to the master in the first case..and all Sip proxies like the<br>> phoner or cubix points to the master..(I can set only 1 proxy..
<br>> <a href="http://192.168.251.200">192.168.251.200</a> <<a href="http://192.168.251.200/">http://192.168.251.200/</a>> ..in x-lite I can set more<br>> proxies and I'vent problems..)(for this I must use openser..)
<br>><br>><br>> This is the openser on the "slave" <a href="http://192.168.251.11">192.168.251.11</a> <<a href="http://192.168.251.11/">http://192.168.251.11/</a>><br>><br>><br>> # SCRIPT PER COPIARE LO STATO DELLE REGISTRAZIONI DEI SIP DAL .11 al .12
<br>><br>> # ----------- global configuration parameters ------------------------<br>><br>> debug=3 # debug level (cmd line: -dddddddddd)<br>> fork=no<br>> log_stderror=no # (cmd line: -E)<br>> listen=
<a href="http://192.168.251.12">192.168.251.12</a> <<a href="http://192.168.251.12/">http://192.168.251.12/</a>><br>> listen=<a href="http://192.168.251.11">192.168.251.11</a> <<a href="http://192.168.251.11/">
http://192.168.251.11/</a>><br>> listen=192.1668.251.200<br>> port=5060<br>> children=5<br>> dns=no<br>> rev_dns=no<br>> # ------------------ module loading ----------------------------------<br>><br>
> loadmodule "modules/mysql/mysql.so"<br>> loadmodule "modules/sl/sl.so"<br>> loadmodule "modules/tm/tm.so"<br>> loadmodule "modules/maxfwd/maxfwd.so"<br>> loadmodule "modules/usrloc/usrloc.so"
<br>> loadmodule "modules/registrar/registrar.so"<br>> loadmodule "modules/auth/auth.so"<br>> loadmodule "modules/auth_db/auth_db.so"<br>><br>> # ----------------- setting module-specific parameters ---------------
<br>><br>> # digest generation secret; use the same in backup server;<br>> # also, make sure that the backup server has sync'ed time<br>> modparam("auth", "secret", "alsdkhglaksdhfkloiwr")
<br>><br>> # ------------------------- request routing logic -------------------<br>><br>> # main routing logic<br>><br>> route{<br>><br>> # initial sanity checks -- messages with<br>> # max_forwars==0, or excessively long requests
<br>> if (!mf_process_maxfwd_header("10")) {<br>> sl_send_reply("483","Too Many Hops");<br>> return;<br>> };<br>> if (len_gt( max_len )) {<br>> sl_send_reply("513", "Message too big");
<br>> return;<br>> };<br>><br>> # if the request is for other domain use UsrLoc<br>> # (in case, it does not work, use the following command<br>> # with proper names and addresses in it)<br>> if (uri==myself) {
<br>><br>> if (method=="REGISTER") {<br>><br>> # verify credentials<br>> if (!www_authorize("", "subscriber")) {<br>> www_challenge("", "0");
<br>> return;<br>> };<br>><br>> # if ok, update contacts and ...<br>> save("location");<br>> # ... if this REGISTER is not a replica from our<br>> # peer server, replicate to the peer server
<br>> if (!src_ip== <a href="http://192.168.251.12">192.168.251.12</a> <<a href="http://192.168.251.12/">http://192.168.251.12/</a>>) {<br>> t_replicate("<a href="http://192.168.251.12">192.168.251.12
</a> <<a href="http://192.168.251.12/">http://192.168.251.12/</a>>", "5060");<br>> };<br>> return;<br>> };<br>> # do whatever else appropriate for your domain<br>> log("non-REGISTER\n");
<br>> };<br>> }<br>><br>><br>><br>> This is the openser on the "master" <a href="http://192.168.251.12">192.168.251.12</a><br>> <<a href="http://192.168.251.12/">http://192.168.251.12/</a>
><br>><br>><br>><br>><br>><br>> # SCRIPT PER COPIARE LO STATO DELLE REGISTRAZIONI DEI SIP DAL .12 al .11<br>><br>> # ----------- global configuration parameters ------------------------<br>><br>
> debug=3 # debug level (cmd line: -dddddddddd)<br>> fork=no<br>> log_stderror=yes # (cmd line: -E)<br>> listen= <a href="http://192.168.251.12">192.168.251.12</a> <<a href="http://192.168.251.12/">
http://192.168.251.12/</a>><br>> listen=<a href="http://192.168.251.11">192.168.251.11</a> <<a href="http://192.168.251.11/">http://192.168.251.11/</a>><br>> listen=192.1668.251.200<br>> port=5060<br>> children=5
<br>> dns=no<br>> rev_dns=no<br>><br>> # ------------------ module loading ----------------------------------<br>><br>> loadmodule "modules/mysql/mysql.so"<br>> loadmodule "modules/sl/sl.so"
<br>> loadmodule "modules/tm/tm.so"<br>> loadmodule "modules/maxfwd/maxfwd.so"<br>> loadmodule "modules/usrloc/usrloc.so"<br>> loadmodule "modules/registrar/registrar.so"
<br>> loadmodule "modules/auth/auth.so"<br>> loadmodule "modules/auth_db/auth_db.so"<br>><br>> # ----------------- setting module-specific parameters ---------------<br>><br>> # digest generation secret; use the same in backup server;
<br>> # also, make sure that the backup server has sync'ed time<br>> modparam("auth", "secret", "alsdkhglaksdhfkloiwr")<br>><br>> # ------------------------- request routing logic -------------------
<br>><br>> # main routing logic<br>><br>> route{<br>><br>> # initial sanity checks -- messages with<br>> # max_forwars==0, or excessively long requests<br>> if (!mf_process_maxfwd_header("10")) {
<br>> sl_send_reply("483","Too Many Hops");<br>> return;<br>> };<br>> if (len_gt( max_len )) {<br>> sl_send_reply("513", "Message too big");<br>> return;
<br>> };<br>><br>> # if the request is for other domain use UsrLoc<br>> # (in case, it does not work, use the following command<br>> # with proper names and addresses in it)<br>> if (uri==myself) {<br>
><br>> if (method=="REGISTER") {<br>><br>> # verify credentials<br>> if (!www_authorize("", "subscriber")) {<br>> www_challenge("", "0");<br>
> return;<br>> };<br>><br>> # if ok, update contacts and ...<br>> save("location");<br>> # ... if this REGISTER is not a replica from our<br>> # peer server, replicate to the peer server
<br>> if (!src_ip== <a href="http://192.168.251.11">192.168.251.11</a> <<a href="http://192.168.251.11/">http://192.168.251.11/</a>>) {<br>> t_replicate("<a href="http://192.168.251.11">192.168.251.11
</a> <<a href="http://192.168.251.11/">http://192.168.251.11/</a>>", "5060");<br>> };<br>> return;<br>> };<br>> # do whatever else appropriate for your domain<br>> log("non-REGISTER\n");
<br>> };<br>> }<br>><br>> If I run the following command... I've problems with resolution of IP<br>> addresses... how can I resolve this problem??????????<br>><br>> 100000000000000000000000000000000000000000000000000000
<br>> thanks.....................help me please!!!!!I'm becoming crazy...<br>><br>><br>> [root@asterisk12 ~]# tail -f /var/log/messages<br>> Jun 21 03:33:43 asterisk12 openser: WARNING: fix_socket_list: could
<br>> not rev. resolve <a href="http://192.168.251.11">192.168.251.11</a> <<a href="http://192.168.251.11/">http://192.168.251.11/</a>><br>> Jun 21 03:33:43 asterisk12 openser: WARNING: fix_socket_list: could<br>
> not rev. resolve <a href="http://192.168.251.200">192.168.251.200</a> <<a href="http://192.168.251.200/">http://192.168.251.200/</a>><br>> Jun 21 03:33:43 asterisk12 openser[19037]: Maxfwd module- initializing
<br>> Jun 21 03:33:43 asterisk12 openser[19037]: AUTH module - initializing<br>> Jun 21 03:33:43 asterisk12 openser[19037]: AUTH_DB module - initializing<br>> Jun 21 03:33:43 asterisk12 openser[19037]: INFO: udp_init: SO_RCVBUF
<br>> is initially 110592<br>> Jun 21 03:33:43 asterisk12 openser[19037]: INFO: udp_init: SO_RCVBUF<br>> is finally 221184<br>> Jun 21 03:33:43 asterisk12 openser[19037]: INFO: udp_init: SO_RCVBUF<br>> is initially 110592
<br>> Jun 21 03:33:43 asterisk12 openser[19037]: INFO: udp_init: SO_RCVBUF<br>> is finally 221184<br>> Jun 21 03:33:43 asterisk12 openser[19037]: ERROR: udp_init: bind(6,<br>> 0x8119a1c, 16) on <a href="http://192.168.251.11">
192.168.251.11</a> <<a href="http://192.168.251.11/">http://192.168.251.11/</a>>: Cannot<br>> assign requested address<br>> Jun 21 03:34:01 asterisk12 crond(pam_unix)[19040]: session opened for<br>> user root by (uid=0)
<br>> Jun 21 03:34:01 asterisk12 crond(pam_unix)[19040]: session closed for<br>> user root<br>><br></blockquote></div><br>