IRC log for #asterisk on 20090705

00:05.58*** join/#asterisk mltlnx (n=mltlnx@cpe-24-193-11-14.nyc.res.rr.com)
00:37.46*** join/#asterisk moy (n=moy@CPE001cdfec4cee-CM00080dab8485.cpe.net.cable.rogers.com)
00:41.33*** join/#asterisk bbryant (n=brett@c-68-59-22-114.hsd1.sc.comcast.net)
00:42.30*** join/#asterisk [T]ank (n=ckwall@c-76-23-32-201.hsd1.ut.comcast.net)
00:43.18[T]ankok... so for nat... i have enabled port 5060-5061 udp and 10000-200000 udp and forwarded it all to the ATA's address. On the sip.conf I have nat=yes
00:43.22[T]ankwhat else do i need to consider?
00:43.34[T]anknever had this problem before.
00:43.42[T]ankin fact, I had this thing working the other day.
00:44.03[T]ankit is on only on the side of the ATA that I hear the sound cutting in and out. The sound is 100% on my cell phone
00:44.46Chainsaw[T]ank: Spastic echo canceller, perhaps?
00:45.06*** join/#asterisk ctp (n=ctp@brsg-d9beeb78.pool.mediaWays.net)
00:45.08[T]ankwell... tried it on several ATAs. just tried a linksys also.
00:45.19Chainsaw[T]ank: (Or something like automatic gain control on both sides of a call, that would also get messy)
00:45.23[T]ankand it is perfectly 1 second appart... sounds more like port stuff to me
00:45.27[T]ankim sure its nat related
00:47.05*** join/#asterisk GameGamer43 (n=GameGame@cpe-67-247-172-185.rochester.res.rr.com)
01:06.29*** join/#asterisk Olobola (i=Olobola@153.sub-75-208-125.myvzw.com)
01:06.43*** part/#asterisk joat (n=joat@ip70-174-79-200.hr.hr.cox.net)
01:07.14*** join/#asterisk joat (n=joat@ip70-174-79-200.hr.hr.cox.net)
01:08.35Olobolado you think switching from gsm to speex will help with bandwidth issues? I'm on a slow connection.. could be a jitter issue though.
01:12.10carrarWhats slow
01:12.36carrarusr 729, 723.1 or lpc
01:12.50carrarspeex 5.95
01:23.54*** join/#asterisk Iamnacho (i=Iamnacho@ip174-70-137-120.ks.ks.cox.net)
01:50.59*** join/#asterisk serph (n=serph@70.49.145.76)
01:55.22*** join/#asterisk serph (n=serph@70.49.145.76)
01:57.22*** join/#asterisk acxty (n=groul@201.225.183.30)
01:57.56*** join/#asterisk serph (n=serph@70.49.145.76)
01:58.48*** join/#asterisk serph (n=serph@70.49.145.76)
01:59.34acxtyHi guys, I am using a softphone. I want to make a outgoing call. I am using DIAL(SIP/5032312/${EXTEND},20)
01:59.47acxtybut it says that extension is not found
02:00.15acxtyis that the correct way?
02:02.40acxtysomeone out there?
02:06.20*** join/#asterisk SkramX (n=SkramX@cpe-70-112-25-138.austin.res.rr.com)
02:11.32tAnkIt's 4.11 am here in central Europe
02:11.36tAnkDunno :P
02:49.56*** join/#asterisk DrAk0 (n=luisjose@nelug/coreteam/luisjose)
02:57.29*** join/#asterisk ctp (n=ctp@brsg-d9bef974.pool.mediaWays.net)
03:12.12*** join/#asterisk layne (n=layne@c-68-37-72-150.hsd1.nj.comcast.net)
03:24.22*** join/#asterisk Micc (n=dotirc@c-76-121-255-52.hsd1.wa.comcast.net)
03:26.18Miccit seems like I can make my own call parking with RedirectChannel to an extension that just plays music on hold for a while then calls back or redirects back if they call the right extension.
03:29.13*** join/#asterisk coppice (n=chatzill@204.196.17.210.dyn.pacific.net.hk)
03:29.50*** join/#asterisk riddlebox (n=james@75-132-225-75.dhcp.stls.mo.charter.com)
03:31.33*** join/#asterisk Borai (i=DYN@S0106001c109e98db.no.shawcable.net)
03:31.36Boraihello
03:45.45*** join/#asterisk [intra]lanman (n=lanman@freeswitch/developer/intralanman)
03:55.41*** join/#asterisk bbryant (n=brett@c-68-59-22-114.hsd1.sc.comcast.net)
04:02.57*** join/#asterisk ingenius (n=alektro@host50.190-229-165.telecom.net.ar)
04:04.10*** join/#asterisk bbryant1 (n=brett@c-68-59-22-114.hsd1.sc.comcast.net)
04:05.53*** join/#asterisk bbryant (n=brett@c-68-59-22-114.hsd1.sc.comcast.net)
04:06.01*** join/#asterisk werdan7 (n=w7@freenode/staff/wikimedia.werdan7)
04:06.07Borai1. Added support for 64-bit platform. b19 lumenvox but i cant get the new one to work
04:08.13*** join/#asterisk thansen (n=thansen@74-36-210-251.dr01.hmdl.id.frontiernet.net)
04:17.33*** join/#asterisk [intra]lanman (n=lanman@freeswitch/developer/intralanman)
04:24.56*** join/#asterisk ingenius (n=alektro@host50.190-229-165.telecom.net.ar)
04:29.47[T]ankok... so I am still working on troubleshooting this issue where a phone behind nat, connected to an ATA device connected via sip to a server across the internet is getting the sound cut out every 1 second. If I call my cell phone from my asterisk phone i only hear the issue on the asterisk phone side. not the cell side. Does not matter inbound or outbound.
04:30.02[T]ankhere are the outputs from the sip set debug ip <ipaddress>
04:30.02[T]ankhttp://pastebin.ca/1484424
04:30.24[T]anki am on asterisk 1.6.11
04:30.27[T]ankany ideas?
04:31.31[T]ankthat also includes the sip.conf entries.
04:33.16[T]ankim thinking its a nat issue, but I cannot figure it out.
04:33.38[T]anki have ports 5060-5061 udp forwarded to my ata device as well as on the other end forwarded to my server
04:33.56[T]anki also have ports 10000-20000 udp on both sides forwarded to the appropriate devices.
04:34.06[T]ankcan anyone see where I might be running into an issue here?
04:39.28*** join/#asterisk serph (n=serph@70.49.145.76)
04:58.09*** join/#asterisk [T]ank (n=ckwall@238.sub-70-192-116.myvzw.com)
05:01.25*** join/#asterisk [intra]lanman (n=lanman@freeswitch/developer/intralanman)
05:09.14*** join/#asterisk Faithful (n=Faithful@ns.linuxterminal.com)
05:10.04*** join/#asterisk Iamnach0 (i=Iamnacho@ip174-70-137-120.ks.ks.cox.net)
05:17.49*** join/#asterisk mchou (n=quassel@unaffiliated/mchou)
05:22.50*** join/#asterisk Iamnacho (i=Iamnacho@ip174-70-137-120.ks.ks.cox.net)
05:24.49[T]ankanyone here a pro with NAT?
05:34.18*** join/#asterisk mgarfias (n=mike@scio-fe2-67-43-74-192.smt-net.com)
05:49.54*** join/#asterisk bbryant (n=brett@c-68-59-22-114.hsd1.sc.comcast.net)
05:50.35*** join/#asterisk mltlnx (n=mltlnx@cpe-24-193-11-14.nyc.res.rr.com)
05:53.57*** join/#asterisk beit (n=L@CPE001195556036-CM0018c0c61122.cpe.net.cable.rogers.com)
05:54.27beitnewbie q.       using x-lite on windows, i'm trying to register,  but i don't see asterisk sending OK   after seeing REGISTER on ngrep..why?
05:55.25beiti have the simplest sip.conf.   taken from the book on asterisk
05:55.29beitbut it doesn't seem to work
05:55.32beiti can't figure it out.
05:55.40beitany hints?
06:01.10Boraif.
06:05.17Boraires_snmp
06:05.19Boraidoesnt want to compile
06:06.04*** join/#asterisk werdan7 (n=w7@freenode/staff/wikimedia.werdan7)
06:09.41MiccTank, I've had that problem because the timing device wasn't compiled properly.
06:10.01MiccTank, when I upgraded to 1.6 it had that problem because I didn't compile dahdi first.
06:17.36Boraifuck
06:19.06*** join/#asterisk aplund (n=aplund@220-244-113-164.static.tpgi.com.au)
06:19.31aplundDoes doing Set(_CDR(userfield)=blah) work?
06:22.10*** join/#asterisk frk2 (n=frk2@zivios/member/fkhan)
06:24.04beitanybody have any ideas?
06:24.17beitwhy doesn't asterisk send OK after receiving REGISTER?
06:24.36carrarremove the _
06:25.03aplunderr
06:25.26aplundthe _ is there explicitly so that it is inherited
06:25.33aplundI guess nobody here knows and I'll just have to try
06:25.40beitaplund: can you help me?
06:25.44carrarother way around
06:25.54aplund?
06:25.55carrar_ lets a var pass to the next context
06:25.59*** join/#asterisk JackTheNipple (n=JackTheN@static-87-79-237-194.netcologne.de)
06:26.02aplundthat's what I want
06:26.16carrarBut you are setting a CDR variable
06:26.20aplundI know
06:26.38carrarOnce you set it, it stays
06:26.51aplundnot if you are using Dial(Local/)
06:27.34carrarso then use _
06:27.35carraror __
06:28.19*** join/#asterisk tzafrir_laptop (n=tzafrir@local.xorcom.com)
06:28.19carrarit will still be in the CDR
06:28.25carrarjust on a different line
06:28.36beiti see REGISTER coming in, but no OK for response?
06:29.06carraractually I don;t have that issue
06:29.51aplundnope
06:29.56aplundprepending __ doesn't work
06:30.07aplundFunction __CDR not registered
06:30.58carrarso use none reserved variables
06:31.11aplundugh
06:32.09aplundthen patch it up on the other side of the dial?
06:32.22aplundseems pretty ugly
06:32.41carrarwhy
06:33.36aplundcause I'll have to do it for every extension that is dialled?
06:33.48carrarwhy
06:34.03carrarlook at dstchannel
06:34.46carrarthat wouldbe where the call ended up in a multiple Local/ dial statment
06:34.56carrarwith the userfield and times
06:45.13*** join/#asterisk ramindia (n=balajibh@202.63.96.10)
06:53.07beitis soo confused
07:05.03[TK]D-Fender[02:24]<beit>why doesn't asterisk send OK after receiving REGISTER?
07:05.15[TK]D-Fenderbeit: PASTEBIN is your friend...
07:05.16[TK]D-Fender~pb
07:05.17infobot[~pb] A "pastebin" is a web-based service where you can paste anything over 3 lines without flooding the channel. Here are links to a few : http://www.pastebin.com , http://pastebin.ca , http://channels.debian.net/paste , http://paste.lisp.org , http://www.rafb.net/paste , or , http://bin.cakephp.org/, or apt-get install pastebinit
07:13.46ramindia~pb
07:13.46infobot[~pb] A "pastebin" is a web-based service where you can paste anything over 3 lines without flooding the channel. Here are links to a few : http://www.pastebin.com , http://pastebin.ca , http://channels.debian.net/paste , http://paste.lisp.org , http://www.rafb.net/paste , or , http://bin.cakephp.org/, or apt-get install pastebinit
07:23.02beit[TK]D-Fender: what do you want me to paste?
07:23.21[TK]D-Fenderbeit: SIP debug from your syetem of course.
07:23.41beitok here's one issue.
07:23.48beitwhen i do asterisk -rvvv
07:24.13beitand then try to register an x-lite softphone,  i don't see any info.   i only see it when i do ngrep
07:24.22beitdo you consider ngrep the sip debug?
07:24.34beiti see the REGISTER msgs, but i don't see OK for them
07:24.40beitso the x-lite times out
07:24.58beitthis is all on same subnet, so i don't think NAT is the issue
07:25.52beiti can paste you my sip.conf if you want
07:27.27ramindiabeit: paste that ngrep report when you intiate that Registering from X-lite
07:27.59[TK]D-Fenderbeit: Go to * CLI and "sip set debug on"
07:28.26beitok one sec
07:28.53[TK]D-Fenderbeit: So far I'm inclined to believe the packets aren't even making it to *
07:29.28beitwell maybe.. its windows machine.. i turned off firewall.  i can ping the windows client/xlite machine....but in the ngrep i don't see an OK sent from PBX
07:29.36beitone sec, i'll paste the ngrep output
07:32.52[TK]D-Fenderbeit: I just said that you need to look at SIP DEBUG from * CLI <-
07:33.01beitok let me try that
07:34.17beitok i set debug on,   i tried to register, but how do i view the debug now?
07:35.01[TK]D-Fenderbeit: * tells you that it has enabled SIP debug?
07:35.44b14ckhappy 4th to all u americans ^^
07:35.46beityes
07:35.51aplundcarrar: Thank you!  I think I'm on top of it now.
07:36.08beitlocalhost*CLI> sip set debug on
07:36.10beitSIP Debugging enabled
07:36.12[TK]D-Fenderbeit: Then if you don't see anything, then nothing is reaching *
07:36.22beitbut ngrep is showing it coming in
07:37.05[TK]D-Fenderbeit: Go prove * has bound the port <-
07:37.20beithttp://pastebin.com/m1f78829d
07:37.53beitthat's my ngrep output
07:38.33beitshoudn't i see an OK from asterisk going to .102?
07:38.33[TK]D-Fenderbeit: Go prove * has bound the port <-
07:38.43beit[TK]D-Fender: how do you mena?
07:38.49beitthe port 5060 you mean?
07:38.53[TK]D-FenderDUH
07:39.01beithow do i prove that?
07:39.13[TK]D-Fendernetstat <-
07:39.18beitok one sec
07:39.50[TK]D-Fenderbeit: And I'm not sure what part of the IP stack ngrep works on, if that's pre or post-filter
07:40.18beitnetstat|grep 5060     - doesn't output anything,  am i doing it right?
07:40.33beitappreciates this help
07:40.40[TK]D-Fenderbeit: "netstat -an"
07:40.50[TK]D-Fenderbeit: Look ebfore you grep
07:42.15beitok my netstat -na shows 583 lines.   nothing seems relevant.  if i do netstat -na |grep 5060  i see this:
07:42.26beitudp        0      0 0.0.0.0:5060                0.0.0.0:*
07:42.33beitso its running on 0.0.0.0
07:43.51[TK]D-Fenderbeit: Something is anywhay, no go prove your firewall isn't in the way
07:44.31beitok one thing though.  when i do ngrep, and i see the REGISTER coming in,  in there, should i see OK going out?
07:44.40[TK]D-FenderFUCK NGREP
07:44.42beitor would that only show coming in, not going out?
07:44.57[TK]D-Fender* isn't getting the damn packet.
07:44.57beitok so how do i prove firewall is not in the way
07:45.01[TK]D-Fender.....
07:45.08[TK]D-Fender"iptables --list"
07:45.14beitok let me try that
07:46.16beitfirefox crashing, sorry man, give me 10 seconds.
07:46.39beithttp://pastebin.com/m71143d68
07:46.41beitthat's my iptables
07:47.02beitdoesn't even care if that's not secure to do, i just want my * to work
07:47.34[TK]D-Fenderbeit: "iptables --flush"
07:47.36ramindiabeit:  try flush Iptables and see
07:47.58beiti will. right now,  but can you elaborate why i need to?
07:48.01beitso i understand
07:49.06beitok now i flushed it,  now when i do --list it shows nothign
07:49.14beitshould i try register again?
07:49.23[TK]D-Fenderyes
07:49.33beitok one sec
07:50.25beitlol
07:50.26beitit worked
07:50.39beitomg,   so PLEASE!!!! why the hell wasn't it working
07:50.48[TK]D-FenderFIREWALL
07:50.48beiti can see 'sip show peers'  now it shows up
07:51.00beitfirewall on the linux side?  on the *  server side?
07:51.39[TK]D-Fenderbeit: Thats all you modified... do you really have to ask?
07:52.16beit[TK]D-Fender: listen man, i'm just learning, i know linux and solaris,  but for some reason, i still don't understand this issue
07:52.56[TK]D-Fenderbeit: Well work with the empirical evidence.  Yes, iptables was in the way
07:53.23beitya i gotta read up on that a bit more.  the asterisk book didn't mention anything about this.
07:54.14[TK]D-Fenderbeit: I'd lay bets the book tells you what ports the different protocols rquire..
07:54.45beittrue,   i guess it's not its job to figure out my FC10 config for me.
07:55.09beitbut still, iptables --flush,     did that clear the firewall?  i dont get it.
07:55.11[TK]D-Fenderbeit: Correct.
07:55.49[TK]D-Fenderbeit: Before it had entries.  You issued the flush command I gave you.  After it doesn't. Empirical evidence wins again
07:56.19beit[TK]D-Fender:  listen man,  i agree, you know your shit,  but to someone who doesn't konw this shit,  it seems strange
07:57.00[TK]D-Fenderbeit: No, these things you are asking are things that answer themselves.  You don't actually have to know anything to judge the result
07:57.03*** join/#asterisk war9407 (i=war@liquidswords.org)
07:57.32[TK]D-Fenderbeit: Before = full, Action taken.  After = empty.  Guess we know that action did it.
07:57.57[TK]D-Fenderbeit: Keeps your eyes open to cause & effect
07:57.57beitya, i don't know what iptables --flush does, so i have to readup on
07:58.00beitit*
07:58.11[TK]D-Fenderbeit: think "toilet" :)
07:59.14beitin terms of...?
07:59.23beitwhich is the toilet in this case?
07:59.34[TK]D-Fenderbeit: Fulsh all your filtering rules down the toilet.  As in GONE.
07:59.41[TK]D-FenderFlush*
07:59.52beityou mean set by default by FC?
08:00.25[TK]D-Fenderbeit: No as in "doesn't matter when they got set, just TRASH THEM"
08:00.49beitbut doesn't that comporise my other shit on the system?
08:00.52[TK]D-Fenderbeit: This is a live action, and will no impact your next boot.
08:01.15[TK]D-Fenderbeit: Depending on what was being filtered, what running processes you have, etc.
08:01.28beitok
08:01.42beitwell thanks ....at least i nkow its not a * problem
08:02.44[TK]D-Fenderbeit: 1 step down...
08:02.55beiti still can't phone to phone..lol... but at least my phones register
08:05.49[TK]D-Fenderbeit: Yup, now at least * has the oppotunity to tell your phone to go to hell personally :)
08:06.58beitthanks
08:07.18beitand throughout, thanks for the sarcasm and smartass-ism
08:07.19beit<PROTECTED>
08:07.45[TK]D-Fenderbeit: No sarcasm anywhere there.
08:08.37[TK]D-Fenderbeit: and only my "DUH" really rang of anything other than "really, look at whats happening right in front of you" in a lighter light
08:17.30*** join/#asterisk lesouvage (n=lesouvag@82.73.69.76)
08:26.59*** join/#asterisk Superbartt (n=bart@ipd50a21c9.speed.planet.nl)
08:34.15[TK]D-Fendercheckout time.  later all
08:35.15*** join/#asterisk Sargun (n=Sargun@atarack/Staff/Sargun)
08:57.27*** part/#asterisk pisco (n=pisco@cl-1305.dus-01.de.sixxs.net)
08:59.06*** join/#asterisk lesouvage (n=lesouvag@82.73.69.76)
09:33.03*** part/#asterisk aplund (n=aplund@220-244-113-164.static.tpgi.com.au)
09:33.05*** join/#asterisk kamanashisroy (n=kamanash@119.30.36.83)
09:37.17*** join/#asterisk hi365 (n=hi365@94.159.178.112)
10:04.43*** part/#asterisk eliteSchaf (n=d3xter@81-89-105-51.blue.kundencontroller.de)
10:14.24*** join/#asterisk Iamnach0 (i=Iamnacho@ip174-70-137-120.ks.ks.cox.net)
10:43.58*** join/#asterisk _trine (n=psybnc_a@trine1-1-pt.tunnel.tserv5.lon1.ipv6.he.net)
10:54.53*** join/#asterisk Beirdo_ (n=gjhurlbu@unaffiliated/beirdo)
10:58.19*** join/#asterisk HeXiLeD (n=H3X@unaffiliated/hexiled)
11:22.31*** join/#asterisk tamiel (n=tamiel@ip-199.net-81-220-85.toulouse.rev.numericable.fr)
11:41.05*** join/#asterisk coppice (n=chatzill@204.196.17.210.dyn.pacific.net.hk)
11:58.15*** join/#asterisk slima (i=slima@unaffiliated/slima)
12:04.29*** join/#asterisk errotan (n=errotan@5403E42F.catv.pool.telekom.hu)
12:29.07*** join/#asterisk Iamnacho (i=Iamnacho@ip174-70-137-120.ks.ks.cox.net)
12:45.35*** join/#asterisk tzafrir_laptop (n=tzafrir@local.xorcom.com)
13:04.40*** join/#asterisk ikevin (n=kevin_fr@serveur6.illux.org)
13:04.45ikevinhello
13:05.12ikevini've a problem with asterisk and sip peer account
13:05.39ikevinasterisk always timeout when registering to a peer
13:06.18ikevini'm sure that my peer is availlable
13:06.35ikevini've the problem on 2 of my 3 server
13:07.03ikevinanyone know what can block tha connexion?
13:07.11ikevin(sorry for my bad english)
13:23.14errotanikevin: are your servers behind a router or firewall ?
13:23.36ikevinone of the twice yes, the second no
13:24.06errotanikevin: and have you opened and forwarded the ports ?
13:24.23ikevinyes, i use a dmz on the natted server
13:25.34errotani once tried dmz and failed don't use it
13:25.55errotanopen port 5060 and set port triggering
13:26.18ikevinport 5060 is open, external client can connect on
13:26.38errotanbut disable dmz and try again
13:26.41ikevinthis server make some strange things, like:
13:26.45ikevin[Jul  5 15:25:32] NOTICE[28341]: chan_sip.c:15851 sip_poke_noanswer: Peer 'kevin' is now UNREACHABLE!  Last qualify: 0
13:26.56ikevin[kevin]
13:26.56ikevin<PROTECTED>
13:27.23ikevinerrotan, it's not a real dmz, router don't support it, i use port range redirect (1-65535)
13:27.31ikevinin both tcp/udp
13:28.58errotani never heard of "port range redirect" but if you say so :) anyway maybe you have to set externip= option is sip.conf
13:29.08errotanin sip.conf*
13:29.12ikevini try
13:29.32errotanwhat are you peers ?
13:30.05ikevinsame with externip
13:30.50ikevini try to connect to a sip provider for getting a gateway for external call
13:31.19ikevinit's strange because ~ 2 week ago this working perfectly
13:31.38errotanhave you asked the service provider ?
13:31.53errotanmaybe they have some problem
13:31.59ikevinservice provider work, my first asterisk server work fine on
13:32.30ikevini have 3 different account on this provider, one per server, just one is working
13:32.57ikevini have make a try to connect natted server to the "working" server
13:33.00errotanand all of them are behind the same public ip address ?
13:33.01ikevini've the same error
13:33.06ikevinnop
13:33.22ikevin2 are on a diffrent data center, one is at home
13:33.26errotanasterisk version ?
13:33.36ikevin1.4.21.2
13:33.52ikevini use debian lenny's package
13:34.48errotantry turning on sip debug for the ip of the provider
13:35.08errotantry to sniff the packet with some program like wireshark
13:35.18ikevinhow can i filter the ip in debug mode?
13:35.27errotansip debug ip 10.1.2.3
13:35.43ikevinthx
13:35.57errotani be back in 10 minutes if have some problem
13:37.09ikevinok
13:37.12ikevinthx for your help
13:37.15*** join/#asterisk Chainsaw (n=chainsaw@gentoo/developer/atheme.member.chainsaw)
13:37.24ikevini try to check it with debug & tcpdump
13:40.37ikevinasterisk try to send packet to a non peer account :o
13:49.43ikevinpacket are not received by the peer :x
13:52.36*** join/#asterisk [netman] (n=netman@158.Red-88-24-108.staticIP.rima-tde.net)
13:56.24errotanre
13:56.37errotannon peer account ? :)
13:57.14ikevini have a sip account with "type=friend"
13:57.22ikevinasterisk try to make a connexion on
13:57.57ikevin[Jul  5 15:57:44] NOTICE[29344]: chan_sip.c:15851 sip_poke_noanswer: Peer 'kevin' is now UNREACHABLE!  Last qualify: 0
13:58.21ikevini have check with tcpdump, asterisk try to sent packets, so they are never received
13:59.02ikevinif i use ekiga to connect on the provider, it working perfectly (without stun server)
13:59.17errotanbut where are they sending the packets and what's in the packet VIA: header ?
13:59.53ikevinREGISTER & OPTION
14:00.57ikevinhttp://pastebin.com/m2a0246ee
14:01.57errotanthis information is not enough...
14:02.01errotanVia: SIP/2.0/UDP 192.168.56.3:33548;branch=z9hG4bK-d8754z-22295d483271131c-1---d8754z-;rport
14:02.09errotanthis is a via header :)
14:02.48ikevinVia: SIP/2.0/UDP 192.168.1.2:5060;branch=z9hG4bK46b9e1dc;rport
14:03.16errotanthat seems to be good for a lan server
14:03.38ikevini think to
14:03.52ikevinhe has already working fine with this config file :x
14:04.14ikevini've checked if port 5060 is close by my isp
14:04.42*** join/#asterisk [netman] (n=netman@158.Red-88-24-108.staticIP.rima-tde.net)
14:04.51ikevinso a "dig bouh.com @frontier.icedslash.net -p 5060" is received by the remote host
14:05.47ikevinif i set a "port=XXX" on the peer config, does it the port used for outgoing connexion?
14:06.36errotanin sip.conf port= refers to the target peer port
14:06.46ikevinok
14:07.25*** join/#asterisk SkramX (n=SkramX@cpe-70-112-25-138.austin.res.rr.com)
14:08.09errotanbut if you send the packet to the right ip address with the right via header and you don't get any reply you should recheck your routers configuration
14:08.13ikevinif i set "port=5061", the server receive packets
14:10.04errotanthat is strange... comment out the port= option in your sip peer because the sip service provider uses the default 5060 port
14:11.16ikevinyep
14:11.39ikevini think there are a problem on my connexion on port 5060
14:12.26ikevini've tryed to open port 5061 on one of my server
14:12.36ikevinit working on, so port 5060 don't work
14:13.00errotanyou set the bindport option to 5061 ?
14:13.13ikevinyep
14:13.19*** join/#asterisk _ShrikE (n=_ShrikE@adsl-074-185-215-060.sip.msy.bellsouth.net)
14:13.41errotanyour isp is blocking the packets on 5060 ?
14:14.11ikevini don't find any infos about that on my home connexion
14:14.22ikevinso, for the other server in dc, no
14:14.35errotanor do you have some other voip stuff on lan that listens on 5060 ? maybe that is the problem
14:14.57ikevini've voip line by my isp, i search if it use sip
14:15.16ikevinpc no, so it's possible that the router use it
14:15.27ikevinso i don't know how can i check that
14:15.32errotanthat is a possiblility
14:16.20errotanuse nmap to find out that is listening on port 5060
14:16.40errotanhave to go now again for some time
14:16.41errotanbrb
14:17.06ikevinnmap never show my port 5060 is open (on server where he's open too)
14:17.08ikevincya
14:17.10ikevincu*
14:17.15ikevinthx a lot for your help
14:23.24*** join/#asterisk [TK]D-Fender (n=joe@64.235.218.194)
14:30.55errotannp
14:36.53ramindiaikevin:  check with netstat
14:37.24ikevini don't have access to the router
14:37.53ikevini've found the option to scan udp with nmap
14:37.59ikevinso scan is long
14:44.23pabest sip client free for windows?
14:44.49ikevinidefisk, ekiga, xlite
14:45.11ikevin-idefisk+zoiper (he have changed of name)
14:45.28pathanks!
14:45.33*** join/#asterisk coolthreads (n=coolthre@203-97-238-71.cable.telstraclear.net)
14:47.00coolthreadsanyone got any quick solutions to get asterisk to load at start up, currently root starts asterisk, but doesnt have permission to load as it shows
14:47.27coolthreadshave to always load it by hand
14:47.31ramindiacoolthreads: what distro ?
14:47.35coolthreadsubuntu
14:47.53ramindiacoolthreads:  you can put the /etc/rc.local
14:48.02ramindiaor make as service in /etc/init.d/
14:49.03coolthreadsok is that those scripts from the src folder just copy the debian over to that folder?
14:49.09palol
14:49.11pacant believe
14:49.24pamy extension to exit on some zap channel didnt work
14:49.25panow it works
14:49.28ramindiacheck in contrib
14:49.31padidnt do anything..
14:49.33ramindiayou see startup files
14:49.34[TK]D-Fendercoolthreads: Root may start *, but its starting it as another user and you have failed to set permissions on something.  A common mplace is the PID it writes.
14:49.37coolthreadsyup
14:50.26coolthreadsI usually just start it from the terminal as sudo asterisk or asterisk -vvvvvvvc if Im working on it
14:50.57*** join/#asterisk HorizonXP (n=xitij@69-196-163-234.dsl.yaknet.ca)
14:51.02coolthreadsand so got to the point where I would like it to start auto
14:51.05ramindiacoolthreads:  check in the source folder of *.. in the contrib u see some startup files
14:51.49[TK]D-Fenderramindia: It IS loading on startup, only FAILING.
14:52.40coolthreadsyup im under init.d
14:53.58coolthreadswell contrib/init.d in the asterisk source, I find one thats debian plus others
14:54.32coolthreads/usr/src/asterisk-1.4.25.1/contrib/init.d$
14:55.10coolthreadsis it a matter of just copying the debian to /etc/rc.local
14:55.38ramindiayou need to copy that to /etc/init.d/ and make service on
14:56.14coolthreadsthought it was that folder, just read earlier message
14:56.21*** join/#asterisk sysreq (n=sysreq@unaffiliated/sysreq)
14:57.22coolthreadsyup, I cp it to /etc/init.d
14:58.05ramindiarun /etc/init.d/asterisk ( with options) see is everything ok
15:03.33coolthreadsdoesnt do anything, only if I run asterisk by its self or -vvvvvc as I usually do before trying the auto.
15:07.06coolthreadsit tries to start asterisk when booting up but comes up as permission denied
15:08.26[TK]D-Fender...
15:08.31[TK]D-FenderFIX THE PERMISSIONS <-
15:08.39[TK]D-Fender~asterisk-non-root
15:08.40infobot[~asterisk-non-root] Running * as non-root is covered in chapter 13 of Asterisk:The Future of Telephony 2nd Edition (~book) and an article written by Leif Madsen at http://www.taug.ca/node/115
15:09.32coolthreadsok
15:10.14*** join/#asterisk ingenius (n=alektro@host117.190-138-52.telecom.net.ar)
15:17.54*** join/#asterisk JackTheNipple (n=JackTheN@static-87-79-237-194.netcologne.de)
15:18.23*** join/#asterisk hi365 (n=hi365@94.159.178.118)
15:34.12coolthreads[TK]D-Fender, thanks. Sorted now
15:34.21coolthreadsramindia, thanks
15:35.04*** join/#asterisk viq (n=viq@unaffiliated/viq)
15:35.47ramindiacoolthreads: YW
15:41.26*** join/#asterisk klochan (n=Klochan@195.222.70.1)
16:07.08*** join/#asterisk jicksta (n=jicksta@c-67-169-183-106.hsd1.ca.comcast.net)
16:10.45*** join/#asterisk hi365 (n=hi365@95.86.105.206)
16:25.19*** join/#asterisk KavanS (n=KavanS@static-71-117-242-28.ptldor.dsl-w.verizon.net)
16:31.04*** join/#asterisk Torrieri (n=Torrieri@nelug/crew/torrieri)
16:31.48*** join/#asterisk fakhir (n=fakhir@unaffiliated/fakhir)
16:58.58*** join/#asterisk tobias (n=tobias@6.sub-97-1-61.myvzw.com)
16:59.33*** join/#asterisk moy (n=moy@CPE001cdfec4cee-CM00080dab8485.cpe.net.cable.rogers.com)
17:04.04*** join/#asterisk lanning (n=lanning@173.8.187.197)
17:04.14*** join/#asterisk apeiron (i=apeiron@isuckatdomains.net)
17:04.18*** part/#asterisk lanning (n=lanning@173.8.187.197)
17:23.10*** join/#asterisk NickRios05 (n=uniccall@static-200-105-140-234.acelerate.net)
17:31.33*** join/#asterisk moy (n=moy@CPE001cdfec4cee-CM00080dab8485.cpe.net.cable.rogers.com)
17:43.05*** join/#asterisk phurl (n=mdupont@82.114.94.18)
17:44.25*** join/#asterisk vegbox (n=kevinle@24-205-54-7.dhcp.gldl.ca.charter.com)
17:45.02*** part/#asterisk JackTheNipple (n=JackTheN@static-87-79-237-194.netcologne.de)
17:45.34*** join/#asterisk JackTheNipple (n=JackTheN@static-87-79-237-194.netcologne.de)
17:46.01JackTheNippleBack again
17:46.12*** join/#asterisk QaDeS (n=mklaus@dslb-084-056-246-236.pools.arcor-ip.net)
17:59.29*** join/#asterisk GameGamer43 (n=GameGame@cpe-67-247-172-185.rochester.res.rr.com)
18:07.10*** join/#asterisk riddlebox (n=james@75-132-225-75.dhcp.stls.mo.charter.com)
18:10.47*** join/#asterisk Loki (i=loki@unaffiliated/loki)
18:11.53LokiHowdy. I am using asterisk on Ubuntu 9.04 and for some odd reason when trying to connect to it in commandline, i am getting the error nable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
18:12.21JackTheNippledoes it?
18:12.33LokiI have checked, asterisk, is in deed running, and I have tailed my logs of /var/log/asterisk/full and there are no errors, and there is /var/run/asterisk/asterisk.ctl
18:12.44Lokias is there the .pid file
18:13.12JackTheNippleyou did asterisk -r ?
18:13.22LokiI did asterisk -vvvr
18:13.51JackTheNipplefirewall?
18:14.05JackTheNippleis there any iptabkes running?
18:14.08Lokiinteral box
18:14.13Lokisame machine
18:14.37JackTheNipplemaybe iptables on the localhost? do a iptables --flush
18:14.51Lokisame error
18:15.09Lokiroot@karma:/var/run/asterisk# ls /var/run/asterisk/
18:15.09Lokiasterisk.ctl  asterisk.pid
18:15.10Lokiroot@karma:/var/run/asterisk#
18:15.52*** join/#asterisk mikkel (n=mikkel@84-238-113-66.u.parknet.dk)
18:16.14JackTheNippleah, aterisk is using socket in this case, not tcp
18:16.34JackTheNippleokay. Access-rights not sockets are given?
18:16.51LokiWhat do you mean access-rights?
18:17.33JackTheNipplels -l /var/run/asterisk/asterisk.ctl
18:17.39JackTheNipplewhat does it say?
18:18.06ikevincheck permission on the socket
18:18.21Lokisrwxrwxrwx  1 root     root       0 2009-07-05 14:08 asterisk.ct
18:18.28Lokisrwxrwxrwx  1 root     root       0 2009-07-05 14:08 asterisk.ctl
18:18.39JackTheNipplepretty optimistic
18:18.40LokiI then changed it to the asterisk user
18:18.41JackTheNipple;-)
18:18.42*** part/#asterisk phurl (n=mdupont@82.114.94.18)
18:18.45Lokisame issue
18:19.13JackTheNipplemaybe asterisk* is locking for socket at the wrong place
18:19.45JackTheNipplelet find out how to tell* were to find the socket (should be in /etc/asterisk/asterisk.conf)
18:20.59JackTheNipplewhat does /etc/asterisk/asterisk.conf look like?
18:21.33JackTheNippleespecially rundir....
18:22.41Lokihttp://pastebin.com/d269379c5
18:22.53*** join/#asterisk frk2 (n=frk2@zivios/member/fkhan)
18:24.22JackTheNippleloki: but asterisk is running?
18:24.27Lokiyes
18:24.53JackTheNipplenetstat -apn | grep asterisk
18:25.06JackTheNippleloki: does this show you the socket?
18:26.12Lokiwell it is running, it does not show the socket, i can still see admin in console
18:27.05JackTheNippleloki: this is odd. You should see the socket in the list as "listening"
18:28.01JackTheNippleyou're running * as its own user?
18:28.32JackTheNippleor running it as root?
18:28.43Lokihrm
18:28.50Loki*?
18:28.59JackTheNippleasterisk = *
18:29.05JackTheNipple;-)
18:29.20JackTheNippleasterisk == * (would be more correct )
18:29.57Lokias it
18:30.00Loki's own user
18:31.09JackTheNippleokay, so I guess in /etc/asterisk/asterisk.conf you use runuser = asterisk & rungroup = asterisk
18:31.38JackTheNipplecheck if this users have full access to the directory & path were the socket is located
18:32.05[TK]D-FenderWhy isn't there an asterisk.pid <------
18:32.26Lokithere is one
18:33.03[TK]D-FenderLoki: show it already...
18:35.13JackTheNipplefor testing you could change the user/group to root in asterisk.conf
18:36.07JackTheNippleLoki: if this works, you know to check your access-rights on folder/files for the given user
18:36.52JackTheNippleLoki: asterisk -r will look for the path were to find the socket in asterisk.conf - and the path config you pasted looks good
18:36.59*** join/#asterisk bbryant (n=brett@c-68-59-22-114.hsd1.sc.comcast.net)
18:38.06LokiJackTheNipple: whats odd is it shows up in my console
18:38.12Lokiin console-8
18:38.18JackTheNippleLoki: maybe there is a cli parameter for asterisk to give pass a socket to use.
18:38.34JackTheNippleLoki: and its really the same box ;-)
18:39.54JackTheNippleasterisk -s YOURSOCKETPATH -r
18:40.28JackTheNippleLoki: sorry (asterisk: invalid option -- s)
18:41.38Loki.ctl is gone :o
18:42.48JackTheNippleconsole still up?
18:43.49Lokiya i just did stop gracefully
18:44.39Lokiit isn't saving the pid for some reason anymore
18:44.50JackTheNippleLoki: wtf?
18:44.54JackTheNipple:-)
18:44.57LokiBut it is running
18:45.25JackTheNipplewithout complaining at startup? do you start with -vvvvvvvvvvvc?
18:45.50JackTheNippleLoki: should complain about not beeing able to write PID and stuff
18:46.59JackTheNippleLoki: what version? 1.4. does not seem to have "-s" option,
18:47.46JackTheNippleLoki: I don't have 1.6 close to me, but if you're on 1.6, check you man-page for socket-parameter
18:48.47LokiARG no ia m in 1.4
18:49.52ikevini don't have socket option on 1.4.21 too
18:50.09ikevini think ubuntu use a renamed debian's package
18:51.32JackTheNippleget asterisk running as root for testing
18:51.50JackTheNippleLoki: change the user in asterisk.conf to root
18:52.13JackTheNippleLoki: if this works, you know were to go deeper in
18:52.43JackTheNippleLoki: is this not solving your problem - you also know it does not have to do with permissions
18:52.49NickRios05just a question i have a DID pointing to my asterisk and whenever a call comes in i get the following any thoughts http://pastebin.com/m386a579e
18:53.11*** join/#asterisk disposable (i=disposab@blackhole.sk)
18:54.11*** join/#asterisk Faithful (n=Faithful@ns.linuxterminal.com)
18:54.23JackTheNippleNickRios05: did you check whats written there? I mean, wring password does sound quite informative to me
18:56.02NickRios05right i understand that, but am not sure were to config the string cuz calls get to my server like XXXXXXXXXXX@myvoipprovider
18:57.29LokiJackTheNipple: got it working
18:58.21*** join/#asterisk _mwoodj_ (n=mwoodj@pdpc/sponsor/digium/hyper-eye)
18:58.31NickRios05JackTheNipple: cuz am using asterisk for outbound calls right now and it really works fine, am sorry am really a newby to asterisk
18:58.32*** join/#asterisk Iamnach0 (i=Iamnacho@ip174-70-137-120.ks.ks.cox.net)
18:59.13JackTheNippleLoki: what did you do?
18:59.37LokiJackTheNipple: Seems it was a permission issue
19:00.17JackTheNippleNickRios05: does your provider hit you from fixed addresses?
19:00.57tzafrir_laptopikevin, it indeed does
19:01.17NickRios05JackTheNipple: Yes, from only one address actually, I guess I have to setup asterisk to allow calls from that ip address right??
19:01.28[TK]D-Fender[14:52]<NickRios05>just a question i have a DID pointing to my asterisk and whenever a call comes in i get the following any thoughts http://pastebin.com/m386a579e <- that isn't a call coming in, thats a call going OUT
19:03.16NickRios05[TK]D-Fender: Yes I dialed from the console to check what error does asterisk give, but the first part of the notice appears everytime i get an incoming call
19:06.44[TK]D-FenderNickRios05: that is a OUTBOUND call.  Show an actual inbound call and enable SIP DEBUG
19:08.46*** join/#asterisk Zuchmir2 (n=Zuchmir-@ool-18bd3bfc.dyn.optonline.net)
19:09.06*** join/#asterisk bbryant (n=brett@c-68-59-22-114.hsd1.sc.comcast.net)
19:13.24*** join/#asterisk CyberPony (n=CyberPon@cpe-071-075-195-085.carolina.res.rr.com)
19:13.46Zuchmir2having trouble setting up asterisk over VPN
19:14.19Zuchmir2it rings, but the voice does not work
19:14.42NickRios05[TK]D-Fender: This is what i get http://pastebin.com/m4cce584b
19:15.26[TK]D-FenderNickRios05: Coplete call from beginning to end
19:15.30[TK]D-FenderComplete*
19:17.39[TK]D-FenderZuchmir2: pastebin a caomplete failed call attempt from CLI with SIP debug enabled
19:17.40[TK]D-Fender~pb
19:17.41infobot[~pb] A "pastebin" is a web-based service where you can paste anything over 3 lines without flooding the channel. Here are links to a few : http://www.pastebin.com , http://pastebin.ca , http://channels.debian.net/paste , http://paste.lisp.org , http://www.rafb.net/paste , or , http://bin.cakephp.org/, or apt-get install pastebinit
19:21.25NickRios05[TK]D-Fender: I think this is the complete call http://pastebin.com/m253ded6c
19:22.59[TK]D-FenderNickRios05: What is sending you that call?
19:23.30NickRios05[TK]D-Fender: My providers softswitch
19:23.47[TK]D-FenderNickRios05: For your peer entry do "insecure=port,invite"
19:26.57NickRios05[TK]D-Fender: Thank you so much it works now
19:32.53ikevinanyone know why i receive this log:
19:32.54ikevin[Jul  5 21:31:01] NOTICE[4919]: chan_sip.c:15851 sip_poke_noanswer: Peer 'kevin' is now UNREACHABLE!  Last qualify: 0
19:33.14ikevin'kevin' is not a peer account (type=friend)
19:33.57[TK]D-Fenderikevin: Same thing
19:34.13ikevin?
19:34.39[TK]D-Fenderikevin: friend = peer + user
19:34.54ikevinmmm
19:35.07ikevinwhy i don't have a similare line on other sip account?
19:35.45[TK]D-Fenderikevin: "Friend" was largely phased out from 1.4
19:36.02[TK]D-Fenderikevin: And its your setup, don't ask us why you did what you did
19:36.55ikevini can remove "type=XXX" from my config?
19:37.36[TK]D-Fenderikevin: No, you do need to define a type
19:38.49ikevinmmm, ok, i've never see that "friend" is for both, maybe "user" is better in my case
19:39.37[TK]D-FenderHighly doubt that.
19:39.51[TK]D-Fenderikevin: user is only for inbound from providers
19:41.41ikevini'm not sure to perfectly understand :x
19:41.54*** join/#asterisk wonderworld (n=w@ip-62-143-16-28.unitymediagroup.de)
19:43.26*** join/#asterisk juanIMP (n=juan@201.245.253.116)
19:44.41[TK]D-Fenderikevin: most of the time all you need is "peer" for providers, SIP phones, etc alike.
19:45.05[TK]D-Fenderikevin: Some providers will require separate auth methods requiring a user entry to handle inbound from them.
19:45.20ikevinok
19:47.16ikevini thought peer was only for provider :x
19:48.03*** join/#asterisk sysreq (n=sysreq@unaffiliated/sysreq)
19:51.57*** join/#asterisk MrNaz (n=mrnaz@203.214.68.222)
20:04.09*** join/#asterisk dieno (i=773f8846@gateway/web/freenode/x-4bbd685482c57ed1)
20:04.16dienohello everyone
20:04.29dienodoes any one of you have experience reducing the PDD in Dahdi
20:06.24*** part/#asterisk Loki (i=loki@unaffiliated/loki)
20:07.16tzafrir_laptopPDD?
20:07.19JackTheNippledieno: PDD?
20:08.13JackTheNippledieno: ss7?
20:09.29JackTheNipple...PDD (post dialing delay)
20:10.08[TK]D-FenderWhat "delay"
20:11.41JackTheNipplefound this on google (not my request - but I'm interested ;-) :
20:11.53JackTheNipplePDD is one of the indicators which is commonly used to  measure the quality of a route in wholesale  telecommunications industry.
20:11.57rob0ADI: Anticipatory Dialing Interface: Sees the user sit down at the phone, determines the number most likely to be dialed, dials it when the phone goes offhook.
20:12.44rob0That will be included in Asterisk 3.14159
20:13.02JackTheNippleI did'nt think about this as relevant, but actually worth to think about:
20:13.02[TK]D-Fendermmmmmm pi
20:13.03JackTheNipplehttp://lists.digium.com/pipermail/asterisk-dev/2006-September/022788.html
20:13.42*** join/#asterisk carrar (i=tim@osburn.com)
20:13.59carrarmoo
20:14.21JackTheNippleI think Asterisk3 will be able to cook eggs, wash my car and produce TV programms better than we have them today ^^
20:14.32[TK]D-FenderJackTheNipple: Dial vs "answered" means lite in most cases.  If you call me and I let my phone ring, what useful measurement does that give you?>
20:14.50[TK]D-FenderJackTheNipple: So becasue I took 10s to get off my ass to answer the phone, you have a "low quality route"?
20:15.32JackTheNipple[TK]D-Fender: maybe its more the idea of "until it starts to ring", like setup time
20:16.04JackTheNipple[TK]D-Fender: callsetup deducting the ringtime?
20:16.10*** join/#asterisk dshap (n=dshap@216-165-39-50.DYNAPOOL.NYU.EDU)
20:16.16[TK]D-FenderJackTheNipple: Except of course that information does not exist
20:16.41JackTheNipple[TK]D-Fender: maybe indeed this sounds too theoretically ;-)
20:19.20JackTheNipple[TK]D-Fender: the "calculation" Rushowr gives as workarround in the above digium-post sounds in deed interesting
20:21.27vegboxI need some help with my x100p card.  I got it working, ie, it picks up calls on the default call plan.  But I want i to do a bit more.  The line coming in to the x100p is extension 250.  But I want to be able to make a dial plan that when you dial from another extension (example 120) it will send you directly to your voicemail prompt password
20:21.30JackTheNipple[TK]D-Fender: but I don't get the idea of the (already gone) dieno - Asterisk will not really be able to reduce this setup. Depends too much on the peering-partners...
20:21.53vegboxCan anyone help me set up a sample dialplan that I can follow
20:22.38dshapvegbox: have you read the asterisk book?
20:22.42JackTheNipplevegbox: did you have a look at some dialplans? there are tons of examples for nearly everything out there
20:22.49vegboxYes
20:22.51dshapvegbox: it walks you through a very simple dialplan and explains it in the most clear of terms
20:22.59vegboxBut most of the dialplans are for SIP
20:23.04[TK]D-Fendervegbox: All calls coming in on it land on "s" in the context you specified.  Do what you want from there
20:23.05vegboxI am still using analog phone lines
20:23.37dshapvegbox: i'm pretty sure nothing in my dialplan has to do with the fact that i'm using SIP
20:23.51JackTheNippleword...
20:23.55vegboxWell I think my problem is that when I dial from another phone
20:24.07vegboxthe x100p/asterisk does not see the ext number calling in
20:24.48[TK]D-Fendervegbox: what "ext number"?
20:24.56vegboxextension number
20:25.13vegboxheres the scenario, i have an old dos voicemail system with an nec elekra phone system
20:25.26vegboxI want to replace this dos voicemail with asterisk, so i picked up an x100p card
20:26.01[TK]D-Fendervegbox: All you've got to work with is caller-id.
20:26.12[TK]D-Fendervegbox: Does your PBX send it?
20:26.13vegboxnot the $EXT variable?
20:26.32vegboxit should i mean the old do system knows if you are calling from an extension
20:26.45vegboxwait now that i tink about it
20:26.47vegboxit does not
20:27.10vegboxbecause currently we need to dial, 250, then 9+three digit extension then vmail box password
20:28.44vegboxso i guess i need to know how to capture input and do voicemail($input)
20:29.36*** join/#asterisk ingenius (n=alektro@host117.190-138-52.telecom.net.ar)
20:32.14dshapcan anyone help me out with this timezone nightmare i'm having? if i use the PHP function putenv() in a PHP/AGI script, will that affect the timezone asterisk uses for SayUnixTime?
20:32.26dshaperr, it seems that it DOES affect this
20:32.30dshapi'm just trying to figure out how
20:33.06dshapi've got my AGI debugs printing out 5:00 PM and asterisk is saying 2:00 PM
20:33.48dshapthen when i take out putenv("TZ=US/Eastern") into my script, the output is still 5:00 PM (because of some functionality specific to my application) but asterisk says 5:00 PM
20:33.54dshapout of my script*
20:34.27dshapdamn that probably was not clear enough
20:41.22dshapoh damn
20:41.23dshapfigured it out
20:41.30dshapi was using the wrong timezone codes
20:41.31dshap*sigh
20:41.33dshapsorry
20:58.03*** join/#asterisk Olobola (i=Olobola@86.sub-75-208-107.myvzw.com)
21:23.12*** join/#asterisk Iamnacho (i=Iamnacho@ip174-70-137-120.ks.ks.cox.net)
21:24.27*** join/#asterisk XiXaQ (n=jes@135.137.34.95.customer.cdi.no)
21:31.15*** join/#asterisk Loki (i=loki@unaffiliated/loki)
21:36.18*** join/#asterisk tzafrir_laptop (n=tzafrir@bzq-179-75-202.static.bezeqint.net)
21:46.45LokiHello, I am having an issue with an installation of Asterisk 1.4.21.2 with  FreePBX2.5.1 and for some reason the system is saying that it can not register with my trunks. They are all reporting as Request Sent in the sip show registry, and then Unreachable in the sip show peers section in CLI. All three of my trunks reply to standard ping requests.
21:51.27*** join/#asterisk fernandojdk (n=fernando@189.24.43.12)
21:51.34fernandojdkhi all
21:51.55fernandojdki have one problem
21:53.07fernandojdkscenario: Calling part makes a call, called party answer. Problem: If called party hangups a call, i able to continue with my prioritys in my extensions.conf
21:54.22fernandojdkbut, when the calling party hangups the call, i'm not unable to continue the priority on my extensions
21:55.01fernandojdki like to continue execution of my extensions after the calling party hangup the call
21:55.07fernandojdksome idea?
21:55.56[TK]D-Fenderfernandojdk: Go read about the "h" Asterisk Standard Extension
21:56.38fernandojdkFender: I'm read about the 'h' entension
21:57.09fernandojdkbut, i'm need to execute some functions in the extension before goto h extension
21:58.22Lokiaa31
21:58.24Loki.31
21:58.49Lokierr sorry about that.
21:58.59[TK]D-Fenderfernandojdk: Not possible.
21:59.15[TK]D-Fenderfernandojdk: Caller hangs up, call goes right to "h".
21:59.21*** join/#asterisk DrAk0 (n=luisjose@nelug/coreteam/luisjose)
21:59.53fernandojdkright. Thanks for your help Fender
22:00.06fernandojdkI'm trying another ways.
22:00.08fernandojdk;)
22:03.29*** join/#asterisk JayTee52 (n=jforde05@unaffiliated/jaytee)
22:05.44*** part/#asterisk Loki (i=loki@unaffiliated/loki)
22:13.17*** join/#asterisk serph (n=serph@70.49.145.76)
22:47.03*** join/#asterisk kamanashisroy (n=kamanash@202.56.7.216)
23:16.49*** join/#asterisk vegbox (n=kevinle@24-205-54-7.dhcp.gldl.ca.charter.com)
23:21.13*** join/#asterisk XiXaQ (n=jes@132.127.34.95.customer.cdi.no)
23:22.56*** join/#asterisk LeddyHM (n=NONE@you.cant.hack.thisbox.org)
23:25.00*** join/#asterisk JimVanM (n=jimvanm@bas1-toronto63-1088800059.dsl.bell.ca)
23:29.22JimVanMwanted to ask a question about the function MEETME_INFO
23:29.39JimVanMI want to use it prior to joining a conference (to limit the number of participants to 2)
23:30.02JimVanMproblem is, if I'm the first party into the conference, I get this error when running the function
23:30.11JimVanM[Jul  5 19:21:09] ERROR[8251]: /home/murf/asterisk/1.6.1/main/ast_expr2.y:1068 op_func: Error! 'conference' is not possibly a function name![Jul  5 19:21:09] WARNING[8251]: ast_expr2.fl:441 ast_yyerror: ast_yyerror():  syntax error: syntax error, unexpected '<token>', expecting $end; Input:
23:30.11JimVanMError: conference (550001) not found > 1
23:30.30JimVanMit says the conference is not found, which kinda makes sense since there's nobody yet in it
23:30.47JimVanMjust not sure if there's a better way to check if anybody is in a room before joining
23:30.53JimVanMany advice would be much appreciated
23:31.32JimVanM(the function works great as long as somebody is in the conference to begin with)
23:32.05*** join/#asterisk ahat (n=antonis@cust-201-74.on2.ontelecoms.gr)
23:33.39ahathey guys, first time in irc, first asterisk installation too, and I would like to ask for some advice
23:35.17ahatI actually managed to complete an asterisk@home installation (asterisk 1.4 - freepbx) on a friends old server, and now I am trying to install asterisk 1.6 and freepbx at my ubuntu desktop
23:37.08ahatafter 2 days work it seems to be ok (at least that's how it looks from inside freepbx) but I am trying to register an ekiga softphone running also on my ubuntu desktop and I keep getting a "No matching peer found"
23:37.16ahatanyone been in the same situation?
23:40.48*** join/#asterisk coppice (n=chatzill@204.196.17.210.dyn.pacific.net.hk)
23:44.55*** join/#asterisk QaDeS (n=mklaus@dslb-084-056-246-236.pools.arcor-ip.net)
23:45.38*** part/#asterisk mgarfias (n=mike@scio-fe2-67-43-74-192.smt-net.com)
23:48.00jayteeahat, you'll need to make Ekiga use port 5061 instead of 5060 since Asterisk is using that.
23:53.50[TK]D-FenderJimVanM: The function isn't your problem, your EXPRESSION is.
23:54.05[TK]D-FenderJimVanM: You know there is this nifty book I heard about....
23:54.22JimVanM[TK]D-Fender: LOL! Everybody keeps bugging me about that!
23:55.42JimVanM[TK]D-Fender: I am ashamed to admit that I have been spoiled by having Leif as a friend. I hardly have to look anything up anymore. Just bring over some beers, and I've got my Asterisk Encyclopedia!
23:56.09[TK]D-FenderJimVanM: PB your code adn I'll point you in the right direction...
23:56.25JimVanMexten => s,n,Set(THEIRCONFERENCE=550001) ; normally get this from ${ClientID}
23:56.25JimVanM<PROTECTED>
23:59.47[TK]D-Fenderexten => s,n,GotoIf($[0${MEETME_INFO(parties,${THEIRCONFERENCE})} > 1]?conferencefull:joinconference)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.