search for: netsock

Displaying 20 results from an estimated 27 matches for "netsock".

Did you mean: netsoc
2010 Dec 08
1
Error building network library on OpenSolaris and 1.8.1-rc1
...39; was going really well as well, in fact this is the farthest I've ever seen it ever go with the minor hitch compalining about format_mp3 but it suggested I use that script in contrib and download the code for that and that made it run again. BUT just my luck, it crapped out with this error *netsock.c: In function `ast_set_default_eid': netsock.c:250: error: structure has no member named `ifr_hwaddr' make[1]: *** [netsock.o] Error 1 make: *** [main] Error 2 * Can anyone please help me resolve this? I don't even know where to look. Google came back with nothing. Same with a search t...
2009 Jul 20
0
No subject
stack pbx.c: -- Executing [s at from-pstn-4:2] Answer("DAHDI/4-1", "") in new stack pbx.c: -- Executing [s at from-pstn-4:3] Dial("DAHDI/4-1", "SIP/1000") in new stack netsock.c: == Using SIP RTP TOS bits 184 netsock.c: == Using SIP RTP CoS mark 5 app_dial.c: -- Called 1000 app_dial.c: -- SIP/1000-00000012 is ringing pbx.c: == Spawn extension (from-pstn-4, s, 3) exited non-zero on 'DAHDI/4-1' chan_dahdi.c: -- Hungup 'DAHDI/4-1' chan_dahd...
2013 Jun 23
1
IAX2 netsock error with name resolution
Am getting netsock error like this when using IAX2, Connected to Asterisk 11.2.1 currently running on indiaprimaryast01 (pid = 4270) == Using SIP RTP CoS mark 5 -- Executing [2001 at Test:1] Dial("SIP/4090-00000005", "SIP/2001 at IAX2/IND-MAN,30") in new stack [Jun 23 06:31:36] NOTICE[4383]...
2011 Aug 22
0
netsock error? some sip clients crashing!
...local GSM (3G) provider -- several SIP clients crash on the android phone, when switching to 3G network, and in asterisks logs it looks like this - client registers on server successfull and then crashesh immediately. Here's suspicious part of asterisk log: [2011-08-22 19:38:12] ERROR[28605]: netsock2.c:263 ast_sockaddr_resolve: getaddrinfo("212.93.105.54:4798", "4798", ...): Name or service not known [2011-08-22 19:38:12] DEBUG[28605]: chan_sip.c:15343 check_via: Not an IPv4 nor IPv6 address, cannot get port. [2011-08-22 19:38:12] ERROR[28605]: netsock2.c:263 ast_sockaddr_r...
2010 Jun 11
7
How to stop intruder from registering sip?
...n_sip.c: -- Registered SIP '151' at 79.117.17.247 port 5060 [Jun 10 15:51:20] NOTICE[1662] chan_sip.c: Peer '151' is now Reachable. (161ms / 2000ms) [Jun 10 15:51:20] NOTICE[1662] chan_sip.c: Received SIP subscribe for peer without mailbox: 151 [Jun 10 15:51:21] VERBOSE[1662] netsock.c: == Using SIP RTP TOS bits 184 [Jun 10 15:51:21] VERBOSE[1662] netsock.c: == Using SIP RTP CoS mark 5 [Jun 10 15:51:21] VERBOSE[1662] netsock.c: == Using SIP VRTP CoS mark 6 [Jun 10 15:51:21] VERBOSE[1662] netsock.c: == Using UDPTL TOS bits 184 [Jun 10 15:51:21] VERBOSE[1662] netsock.c:...
2010 May 05
0
T38 trunk configuration for relay appears to affect default trunks for voip
...but they can't hear nothing and we don't receive any kind of signal or tone in the phones. It's more and more extrange if I tell you that if we hang the call and retry a few seconds later, the call is made perfectly. We got some logs when this happened: [Apr 30 09:34:31] VERBOSE[5296] netsock.c: == Using SIP RTP TOS bits 184 [Apr 30 09:34:31] VERBOSE[5296] netsock.c: == Using SIP RTP CoS mark 5 [Apr 30 09:34:31] VERBOSE[5296] netsock.c: == Using UDPTL TOS bits 184 [Apr 30 09:34:31] VERBOSE[5296] netsock.c: == Using UDPTL CoS mark 5 [Apr 30 09:34:31] VERBOSE[12649] pbx.c: --...
2005 Aug 29
2
Compile problem with 1.2 beta 1
....c app.c asterisk.c ast_expr2.c ast_expr2f.c astmm.c autoservice.c callerid.c cdr.c channel.c chanvars.c cli.c config.c config_old.c db.c devicestate.c dlfcn.c dns.c dnsmgr.c dsp.c enum.c file.c frame.c fskmodem.c image.c indications.c io.c jitterbuf.c loader.c logger.c manager.c md5.c muted.c netsock.c pbx.c plc.c poll.c privacy.c rtp.c say.c sched.c slinfactory.c srv.c strcompat.c tdd.c term.c translate.c ulaw.c utils.c build_tools/make_version_h > include/asterisk/version.h.tmp if cmp -s include/asterisk/version.h.tmp include/asterisk/version.h ; then echo; else \ mv include/as...
2010 Nov 10
1
Random call drops on IAX2
...51, the outgoing call gets hanged up. The user claims the outgoing call got cut off - but I don't see any error in the logs: [Nov 10 11:22:22] VERBOSE[4365] pbx.c: == Spawn extension (from_internal_phones, 23, 1) exited non-zero on 'SIP/25-00000087' [Nov 10 11:22:45] VERBOSE[3242] netsock.c: == Using SIP RTP TOS bits 184 [Nov 10 11:22:45] VERBOSE[3242] netsock.c: == Using SIP RTP CoS mark 5 [Nov 10 11:22:45] VERBOSE[4366] pbx.c: -- Executing [901512541010 at from_internal_phones:1] NoOp("SIP/23-00000089", "Adding call to trunk group") in new stack [Nov...
2011 Nov 22
1
Asterisk refuses INVITE (401) and I don't know why
....tld s=- i=(o=IN IP4 10.1.2.35) c=IN IP4 AS.AS.AS.AS t=0 0 m=audio 62654 RTP/AVP 8 0 a=rtcp:65115 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=ptime:20 <-------------> [Nov 18 15:14:35] VERBOSE[2255] chan_sip.c: [Nov 18 15:14:35] --- (16 headers 11 lines) --- [Nov 18 15:14:35] VERBOSE[2255] netsock.c: [Nov 18 15:14:35] == Using SIP RTP TOS bits 184 [Nov 18 15:14:35] VERBOSE[2255] netsock.c: [Nov 18 15:14:35] == Using SIP RTP CoS mark 5 [Nov 18 15:14:35] VERBOSE[2255] chan_sip.c: [Nov 18 15:14:35] Sending to AS.AS.AS.AS : 61490 (no NAT) [Nov 18 15:14:35] VERBOSE[2255] chan_sip.c: [Nov 1...
2011 Mar 17
0
blind transfer from AGI triggered call -> dropped
...13 09:51:54] VERBOSE[4699] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php [2011-03-13 09:51:55] VERBOSE[4699] res_agi.c: -- AGI Script Executing Application: (DIAL) Options: (SIP/pozitel/37129238254,60,tTL(34980000:61000:30000)) [2011-03-13 09:51:55] VERBOSE[4699] netsock.c: == Using UDPTL TOS bits 184 [2011-03-13 09:51:55] VERBOSE[4699] netsock.c: == Using UDPTL CoS mark 5 [2011-03-13 09:51:55] VERBOSE[4699] netsock2.c: == Using SIP RTP TOS bits 184 [2011-03-13 09:51:55] VERBOSE[4699] netsock2.c: == Using SIP RTP CoS mark 5 [2011-03-13 09:51:55] VERBOSE[469...
2005 Sep 01
1
Loop error when compiling CVS version of 1.2-Beta
...alaw.c app.c ast_expr2.c ast_expr2f.c asterisk.c astmm.c autoservice.c callerid.c cdr.c channel.c chanvars.c cli.c config.c config_old.c db.c devicestate.c dlfcn.c dns.c dnsmgr.c dsp.c enum.c file.c frame.c fskmodem.c image.c indications.c io.c jitterbuf.c loader.c logger.c manager.c md5.c muted.c netsock.c pbx.c plc.c poll.c privacy.c rtp.c say.c sched.c slinfactory.c srv.c strcompat.c tdd.c term.c translate.c ulaw.c utils.c This is the contents of the include/asterisk/version.h file. /* * version.h * Automatically generated */ #define ASTERISK_VERSION "CVS-Nv1-2-0-beta1-09/01/05-11:06:0...
2012 Jan 18
1
Compile error 1.8.8.1
....o chanvars.o cli.o config.o data.o datastore.o db.o devicestate.o dial.o dns.o dnsmgr.o dsp.o enum.o event.o features.o file.o fixedjitterbuf.o frame.o framehook.o fskmodem.o global_datastores.o hashtab.o heap.o http.o image.o indications.o io.o jitterbuf.o loader.o lock.o logger.o manager.o md5.o netsock.o netsock2.o pbx.o plc.o poll.o privacy.o rtp_engine.o say.o sched.o security_events.o sha1.o slinfactory.o srv.o ssl.o stdtime/localtime.o strcompat.o strings.o stun.o syslog.o taskprocessor.o tcptls.o tdd.o term.o test.o threadstorage.o timing.o translate.o udptl.o ulaw.o utils.o version.o xml.o...
2010 Jun 23
2
"Hidden" memory leak
...in 1191 allocations in file 'indications.c' 7809 bytes in 281 allocations in file 'asterisk.c' 22413 bytes in 285 allocations in file 'config.c' 2077300 bytes in 32793 allocations in file 'chan_iax2.c' 212 bytes in 3 allocations in file 'netsock.c' 45309 bytes in 539 allocations in file 'xmldoc.c' 99512 bytes in 239 allocations in file 'app_queue.c' 23080 bytes ( 23080 cache) in 73 allocations in file 'frame.c' 3308 bytes in 139 allocations in file 'pbx_config.c' 379223...
2011 Mar 07
1
[1.8.3] Error compiling Asterisk: __sync_fetch_and_add
....o chanvars.o cli.o config.o data.o datastore.o db.o devicestate.o dial.o dns.o dnsmgr.o dsp.o enum.o event.o features.o file.o fixedjitterbuf.o frame.o framehook.o fskmodem.o global_datastores.o hashtab.o heap.o http.o image.o indications.o io.o jitterbuf.o loader.o lock.o logger.o manager.o md5.o netsock.o netsock2.o pbx.o plc.o poll.o privacy.o rtp_engine.o say.o sched.o security_events.o sha1.o slinfactory.o srv.o ssl.o stdtime/localtime.o strcompat.o strings.o stun.o syslog.o taskprocessor.o tcptls.o tdd.o term.o test.o threadstorage.o timing.o translate.o udptl.o ulaw.o utils.o version.o xml.o...
2010 Nov 03
1
inbound call issue...
...:0 PCMU/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:8 PCMA/8000 a=rtpmap:96 iLBC/8000 a=fmtp:96 mode=30 a=rtpmap:9 G722/8000 a=rtpmap:101 telephone-event/8000 <-------------> [Nov 3 02:08:40] VERBOSE[7207] chan_sip.c: --- (11 headers 14 lines) --- [Nov 3 02:08:40] VERBOSE[7207] netsock.c: == Using SIP RTP CoS mark 5 [Nov 3 02:08:40] VERBOSE[7207] chan_sip.c: Sending to 147.135.32.221 : 5060 (NAT) [Nov 3 02:08:40] VERBOSE[7207] chan_sip.c: Using INVITE request as basis request - 31007e-31 at 147.135.32.221 [Nov 3 02:08:40] VERBOSE[7207] chan_sip.c: Found peer 'trunk_1'...
2005 Oct 04
0
compile loop?
...t.c aeskey.c aestab.c alaw.c app.c asterisk.c astmm.c autoservice.c callerid.c cdr.c channel.c chanvars.c cli.c config.c config_old.c db.c devicestate.c dlfcn.c dns.c dnsmgr.c dsp.c enum.c file.c frame.c fskmodem.c image.c indications.c io.c jitterbuf.c loader.c logger.c manager.c md5.c muted.c netsock.c pbx.c plc.c poll.c privacy.c rtp.c say.c sched.c slinfactory.c srv.c strcompat.c tdd.c term.c translate.c ulaw.c utils.c --------------------------------------------------------------------------- and after around 4-5 seconds, this same bit spits out again. is it possible that the code from 0...
2005 Oct 15
2
What would cause a high memory usage in pbx_spool.c ?
Hi, After only 4 days I have 107472352 bytes in 46007 allocations in file 'pbx_spool.c' asterisk*CLI> show memory summary 180 bytes in 2 allocations in file 'netsock.c' 12 bytes in 1 allocations in file 'devicestate.c' 2268 bytes in 1 allocations in file 'jitterbuf.c' 8160 bytes in 1 allocations in file 'localtime.c' 1232 bytes in 1 allocations in file 'app_queue.c' 1 bytes i...
2011 Mar 07
1
Error compiling Asterisk 1.8.3 on Sun SPARC x64 w/Debian Squeeze
....o chanvars.o cli.o config.o data.o datastore.o db.o devicestate.o dial.o dns.o dnsmgr.o dsp.o enum.o event.o features.o file.o fixedjitterbuf.o frame.o framehook.o fskmodem.o global_datastores.o hashtab.o heap.o http.o image.o indications.o io.o jitterbuf.o loader.o lock.o logger.o manager.o md5.o netsock.o netsock2.o pbx.o plc.o poll.o privacy.o rtp_engine.o say.o sched.o security_events.o sha1.o slinfactory.o srv.o ssl.o stdtime/localtime.o strcompat.o strings.o stun.o syslog.o taskprocessor.o tcptls.o tdd.o term.o test.o threadstorage.o timing.o translate.o udptl.o ulaw.o utils.o version.o xml.o...
2016 May 05
2
cannot find -lasteriskssl
...global_datastores.o hashtab.o heap.o http.o image.o indications.o io.o jitterbuf.o json.o libasteriskpj.o loader.o lock.o logger.o manager.o manager_bridges.o manager_channels.o manager_endpoints.o manager_mwi.o manager_system.o max_forwards.o md5.o media_index.o message.o mixmonitor.o named_acl.o netsock.o netsock2.o optional_api.o parking.o pbx.o pbx_app.o pbx_builtins.o pbx_functions.o pbx_hangup_handler.o pbx_switch.o pbx_timing.o pbx_variables.o pickup.o plc.o poll.o presencestate.o privacy.o rtp_engine.o say.o sched.o sdp_srtp.o security_events.o sem.o sha1.o sip_api.o slinfactory.o smoother.o...
2005 Aug 23
2
compiling CVS-HEAD + Patch from http://bugs.digium.com/view.php?id=3644
...tab.c alaw.c app.c asterisk.c astmm.c autoservice.c callerid.c cdr.c channel.c chanvars.c cli.c config.c config_old.c db.c devicestate.c dlfcn.c dns.c dnsmgr.c dsp.c enum.c file.c frame.c fskmodem.c image.c indications.c io.c jitterbuf.c loader.c logger.c manager.c md5.c muted.c netsock.c pbx.c plc.c poll.c privacy.c rtp.c say.c sched.c slinfactory.c srv.c strcompat.c tdd.c term.c translate.c ulaw.c utils.c build_tools/mkdep -a -d -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6...