Hello,
I have a couple instances of the following error in my logs. I am not
sure where to start here.
ERROR:core:udp_send:
sendto(sock,0x2ac741ab2828,999,0,0x2ac741ab0e50,16): Invalid
argument(22)
CRITICAL:core:udp_send: invalid sendtoparameters one possible reason
is the server is bound to localhost and attempts to send to the net
ERROR:tm:msg_send: udp_send failed
ERROR:tm:t_forward_nonack: sending request failed
The system is being used for two things.
1 - a PSTN routing engine using the LCR module. I have two gateways
in the same group with the same weight, so I suppose I am just doing
round-robin load balancing on the two.
2 - a SIP proxy where I send INVITE to the Kamailio server with a
Route header set with a fully qualified SIP URI.
I am not sure which of these two scenarios could cause this issue...
mostly because I don't really know what I am looking at. Please note,
this system processed about 25,000+ successful outbound calls today,
and this error only cropped up 3 times in the logs.
Thanks!
Geoff
hi~
I wonder is there any load balance sheme used by SER?
If there are multiple servers responsible for a domain. One is used as main server. Suppose main server is full weight load. To which server the main server decides to relay?
___________________________________________________________
好玩贺卡等你发,邮箱贺卡全新上线!
http://card.mail.cn.yahoo.com/
Hello all,
I have a new problem. I am using Open SER (1.3.3 tls) as a presence
server with an Open IMS Core. On the event presence, the OpenIMS server
redirects to OpenSER. I am also using UCTImsclient for testing. The
registration is ok, the messages also. The problem is the presence: it
works once and after that it doesn't work all the day.
Have anyone tested all theses?
Thanks for your help,
Loredana
> We are having something of an issue with lookup_user() and
> lookup_contacts().
>
>
>
> Our UA's are added to the proxy using "ser_ctl user add
> 1234567890(a)ourdomain.com -p password" which works great
>
> And the UA's register just fine.
>
>
>
> When a call comes in from a carrier, the invite is for
> 1234567890(a)12.34.56.78 where 12.34.56.78 is the IP address of our
proxy.
>
>
>
> When we do a lookup to see if the call is destined for a local user
via
> lookup_user("$tu.uid","@ruri") it fails because the registration is
done
> using the URL and not the IP address.
>>If you are not yet using the domain module, you should start doing so.
>>You can then add both ourdomain.com and 12.34.56.78 to the same domain
>>id, which you in turn use in the uri table for your users.
Thanks Martin.
I saved the current UA's from ser.credentials, then using ser_ctl
removed them and the domain.
I added the domain plus the URL as an alias and recreated the UA's using
ser_ctl.
Everything now works great.
Thanks again!
Bill
Hi, perhaps I miss something but I don't get set_dlg_profile() working:
----------------
modparam("dialog", "dlg_flag", FLAG_DIALOG)
modparam("dialog", "dlg_match_mode", 1)
modparam("dialog", "db_mode", 1)
modparam("dialog", "profiles_no_value", "inbound ; outbound")
if is_method("INVITE") {
setflag(FLAG_DIALOG);
set_dlg_profile("outbound");
...
----------------
But when I run "kamctl fifo profile_list_dlgs outbound" I see nothing (the
dialog does appear listed in "kamctl fifo dlg_list").
I've also added into the loose_route section:
if (is_in_profile("outbound")) {
xlog("L_CRIT", "*** this request belongs to an outbound call\n");
}
This should appear when the ACK-200 arrives, also in any re-INVITE or BYE, but
it doesn't ¿?
Do I miss something? Thanks.
--
Iñaki Baz Castillo
Daniel-Constantin Mierla napsal(a):
> Hello,
>
> On 03/21/2009 11:30 AM, kokoska.rokoska wrote:
>> Hi all,
>>
>> I have small (and may be stupid) question:
>>
>> could I store BIGNT from MySQL DB into avp using avp_db_query? And if
>> yes, how?
>>
> no, avps can hold only string or integer values.
Thank you very much, Daniel, for your answer!
Maybe you can get what
> you want via string - keep the bigint as string. Probably in the future
> will take this in consideration.
>
I'm affraid I can't do that, 'cause it is primamy key and there are a
lot of foreign keys linked to it. And due to performance loss I worry
about to change all of them to strings...
May be I should "cast" them (by SELECT) to strings.
> Now the focus is to integrate http://sip-router.org -- several modules
> left there and then we can take new features request on board:
> http://sip-router.org/wiki/devel/kamailio-integration#module_integration_st…
>
:-)
Thanks once more, Daniel!
Best regards,
kokoska.rokoska
Dear All,
I'm trying to send FAX to an endpoint Behind NAT...The scenario i the
following:
PSTN_GW-->Asterisk-->kamailio-->Endpoint behind NAT..
The FAX is failed and I got the following error log on asterisk:
Mar 20 09:21:09] WARNING[20388]: chan_sip.c:12409 handle_response_invite:
Re-invite to non-existing call leg on other UA. SIP dialog
'76c64f8373def68d5088690816c67493@Asterisk_IP'. Giving up
On kamilio everything looks great except the received value in the INVITE
message...I guess it should be the Public IP of the endpoint and not
asterisk IP address...
Can you please help me in order to find the real issue? the log is under
http://pastebin.com/d1e7ba841
Regards
Hi all,
I have small (and may be stupid) question:
could I store BIGNT from MySQL DB into avp using avp_db_query? And if
yes, how?
BTW: I tried to do it, but avp was always null. When I tried sql_query,
I saw one row was red (with one column) but $dbr(ra=>[0,0]) was empty.
If I changed colmun (well, better to say, I changed returning type from
my stored function) to INT, everything worked well...
Any hint is welcome :-)
Best regards,
kokoska.rokoska
Hello
What is the easiest way to know how many calls per second a proxy is handling at a given time? I looked thru the SNMPSTATS and STATISTICS modules w/o luck.
cheers
jp
Hi,
I installed openSER 1.3, Freeradius 1.1.6, CDRTool v6.7.2
Now I can see in my CDRtool web-interface successfully calls (OK 200), but I
want to see unsuccessfully calls too (like Cancel, etc)
In radius RFC this type of calls binded by
VALUE Acct-Status-Type Failed 15 # RFC2866, acc
So, in radius debug I see messages like:
raddact:
Mon Mar 23 09:14:51 2009
Acct-Status-Type = Failed
Service-Type = Sip-Session
Sip-Response-Code = 487
Sip-Method = Invite
Event-Timestamp = "Mar 23 2009 09:14:51 MSK"
Sip-From-Tag = "f758dc31"
Sip-To-Tag = "5affff00ff10ff10ff00003048ffff26"
Acct-Session-Id = "OTQxMDJmOGE4ZjQ0MjVlNTJlMjE0ZGNmYjg1YjlmZmE."
Acct-Session-Id = "OTQxMDJmOGE4ZjQ0MjVlNTJlMjE0ZGNmYjg1YjlmZmE."
Calling-Station-Id = "sip:33640000@mysipserver.com"
Sip-Translated-Request-URI = "sip:2984545@xx.xxx.xxx.xx:5060"
User-Name = "3360000"
Media-Codecs = "call|3360000|mysipserver.com|<null>"
Media-Info = "2984545|xxx.xx.xxx.xx|<null>"
NAS-Port = 5060
Acct-Delay-Time = 0
NAS-IP-Address = 127.0.0.1
Timestamp = 1237788891
and radius.log:
Sat Mar 21 20:39:18 2009 : Info: rlm_sql (sql): Unsupported Acct-Status-Type = 15
I tried to install Freeradius-2.1.4 and I get same thing:
Mon Mar 23 11:17:29 2009 : Error: rlm_radutmp: NAS localhost port 5060 unknown packet type 15)
But! I see success processing Cancel-calls at AG-projects in screen
like http://cdrtool.ag-projects.com/attachment/wiki/WikiStart/CDRTool-CallSearch…
So, how may I fix this trouble?
Thanks a lot.
--
Best Regards,
Ilya Pichugin