IRC log for #asterisk on 20110822

00:03.05p3nguinAre you going to be able to do that soon?
00:03.39AtriksI noticed you
00:03.43p3nguinerm
00:03.46p3nguinWhy would you do that?
00:03.59Atrikspm
00:04.04p3nguinWhy would you do that?
00:04.17AtriksIt's for you
00:04.28p3nguin*sigh*
00:04.38p3nguinThat's not how we do things here.
00:04.45p3nguinPrivate support will cost you.
00:04.58Atriksurf
00:05.30p3nguinThere shouldn't be any sensitive information in a sip debug.
00:05.30Atrikshttp://pastebin.com/cGTERyW6
00:05.39Atriksjust my name yes
00:05.43Atriksnever mind
00:07.17p3nguinIt appears that your ITSP requires you to be registered before they will accept calls from you.
00:07.27p3nguinDid you create a register statement in sip.conf?
00:07.37AtriksI don't think so
00:07.42p3nguinYou'll have to do that.
00:07.51Atrikshow to ?
00:08.02p3nguinIt goes in the general section.  Above the authentication section if it exists, before any peer entries.
00:08.24Atriksoh
00:08.33Atriksyou mean register => user:pass@host ?
00:08.34p3nguinregister => user[:secret[:authuser]]@host[:port][/extension]
00:08.37p3nguinexactly
00:08.43Atriksalready done
00:08.52p3nguinWhat does "sip show registry" say?
00:09.14Atriksfreephonie.net:5060            N      0953534363        1785 Registered
00:09.26p3nguinRegistered.
00:09.29p3nguinhmm
00:09.36p3nguinSo why would the sip debug indicate that you aren't registered?
00:09.48AtriksI don't know :x
00:10.17p3nguinAny chance you mistyped the user or secret in the peer entry?
00:10.20Atriksduring sip reload :
00:10.22AtriksWARNING[7813]: chan_sip.c:18305 handle_response_register: Got 423 Interval too brief for service 0953534363@freephonie.net, minimum is 1800 seconds
00:10.45p3nguin30 minutes!
00:12.02Atriks<PROTECTED>
00:12.02Atriks[Aug 21 11:11:47] NOTICE[7813]: chan_sip.c:21594 handle_request_subscribe: Received SIP subscribe for peer without mailbox: Hatrix
00:12.30p3nguinThe subscribe thing is normal when you didn't create a mailbox for that user.  You can safely ignore it for now.
00:12.45AtriksBut then when I try to call
00:12.46Atrikshttp://pastebin.com/MSZ7fkJB
00:13.55p3nguinI'm curious.  Show me your entire peer entry for the ITSP and your phone.  MASK your passwords; don't want to see passwords.
00:14.48Atriksk
00:15.29Atrikshttp://pastebin.com/6x4kEFqS
00:16.37p3nguinI think your ITSP might want more information from you for calling.  Let me give you my config example.
00:17.04p3nguinhttp://pastebin.com/tER2jGnY
00:17.51Atriksmy phone is at the end of the file
00:18.03Atrikshum ok
00:18.04Atriksas you
00:18.04Atriks:)
00:18.06p3nguinSome ITSPs need an insecure setting, some need the trustrpid/sendrpid settings.
00:18.34p3nguinI see you don't have username or defaultuser in your peer for the ITSP.
00:18.51p3nguinWhich asterisk version do you use?
00:19.08Atriksdo you have a command to know it ?
00:19.15p3nguincore show version
00:19.41AtriksAsterisk 1.6.2.9-2+squeeze3
00:20.05p3nguinusername should work in that one.  Later versions would need defaultuser.
00:20.14p3nguinAdd your username to the freephonie peer.
00:20.28Atriksreplace fromuser to username ?
00:20.53p3nguinIf you don't need fromuser, yes.  If you need fromuser, you'll want to keep it and add username.
00:21.09AtriksI keep it
00:21.21p3nguinI don't use fromuser in my configs.
00:21.54AtriksCalling
00:21.58Atriksseems to work
00:22.01AtriksNo
00:22.02Atriks:x
00:22.10Atriksservice unavailable, but later
00:22.13p3nguinSave changes, run sip reload
00:22.18Atriksalready done
00:23.57*** join/#asterisk postconf (~postconf@msfree.com)
00:24.59*** join/#asterisk phix (~threat@123-243-44-131.static.tpgi.com.au)
00:25.03*** join/#asterisk drynish (~drynish@modemcable016.169-21-96.mc.videotron.ca)
00:25.19drynishWho is using debian here and is compiling asterisk on it?
00:25.22drynishIs it feasible?
00:25.35Atriksyes
00:25.35*** join/#asterisk razu (~razu@2001:ad0:1:1:202:b3ff:fe36:921c)
00:25.38drynishOk
00:25.45drynishwhat's the secret?
00:25.50p3nguinFeasible to install Asterisk on a Debian system?  What kind of weird question is that?
00:25.57drynishI'm sorry :)
00:26.02Atriksaptitude install asterisk
00:26.14drynishBut whenever I'm not using the asterisk package
00:26.26drynishit fails to works... I get segfault all the time
00:26.57postconfyou might try emailing the package maintainer, ask for a Makefile...
00:28.28drynishit's so broken in so many packages
00:28.39drynishdunno why
00:28.57drynishI will try to make it work
00:29.11p3nguinWhat steps are you taking to do it?
00:29.43drynishsvn download libpri
00:29.53p3nguinYou're using a PRI?
00:30.16drynishno
00:30.22p3nguinWhy do you need libpri?
00:30.22drynishBut a dahdi interface card
00:30.30p3nguinoh
00:30.37p3nguinYou're going to run analog phones?
00:30.44drynishYes
00:30.48p3nguinI see
00:31.18drynishno... just linking to a landline
00:31.22drynishand also using an ATA
00:31.25drynishto my home phone
00:31.30p3nguinIs something wrong with libpri and dahdi from the repos?
00:31.58drynishIt's compiling well
00:32.06drynishand when I use debian ones, it works well
00:35.15drynishoups sorry
00:35.23drynishlibpri and dahdi seems to compile correctly
00:35.28drynishbut when I use them, segfault
00:35.34drynishI will just try to debug it
00:36.40postconfwhat does strace say?
00:38.23drynishforgot to try it
00:38.24drynishlet me check
00:40.35*** join/#asterisk LemensTS (~matthew@adsl-70-238-144-220.dsl.stlsmo.sbcglobal.net)
00:40.41LemensTShttp://support.dell.com/support/edocs/systems/dime521/en/SM_EN/specs.htm    and    http://www.tigerdirect.com/applications/searchtools/item-details.asp?EdpNo=6611056&SRCCODE=WEBLET03ORDER&cm_mmc=Email-_-WebletMain-_-WEBLET03ORDER-_-Deals    is that motherboard and that processor compatible?
00:42.41Atrikssearch for socket
00:42.51AtriksAMD Athlon™ 64 X2 dual-core processor
00:43.08Atriksit should
00:50.59LemensTSAtriks: Thanks, thats what I ordered I can't get it to work for anything. Done dozens of Intel machines, think this is first AMD...lol
00:51.34AtriksRho
00:51.35AtriksAMD rox
00:51.38AtriksBetter than intel
00:51.48p3nguinI'd rather use Intel for servers.
00:51.55Atriksservers ok
00:51.59p3nguinThey have better cache.
00:52.20p3nguinBack in the day, I only ran AMD for desktop machines.
00:53.14*** join/#asterisk Guest8383 (~Geek@unaffiliated/cain)
00:56.55*** join/#asterisk BuenGenio (~BuenGenio@059148208218.ctinets.com)
00:57.33*** part/#asterisk LemensTS (~matthew@adsl-70-238-144-220.dsl.stlsmo.sbcglobal.net)
01:00.38*** join/#asterisk drynish (~drynish@modemcable016.169-21-96.mc.videotron.ca)
01:01.09drynishMy strace is saying that /dev/dahdi/channel was just before the segfault
01:02.12Atriksso p3nguin it still doesn't work :s
01:02.15*** join/#asterisk jayson_r (~jayson@cpe-071-076-046-081.sc.res.rr.com)
01:02.24p3nguinDid you already paste another sip debug?
01:02.39Atriksone is suffisant
01:02.45AtriksI didn't change something
01:02.51p3nguinYou were supposed to.
01:02.59AtriksOk
01:03.01AtriksI'll do
01:04.58Atrikshttp://pastebin.com/cbc2wUrb p3nguin
01:06.38p3nguinI don't see a call in that paste.
01:06.56Atriksyes
01:07.01Atriksthat's a connection
01:07.09p3nguinThere's no CALL in that paste.
01:07.15p3nguinI wanted to see a call.
01:07.17AtriksIt will
01:07.20Atrikswait
01:07.57Atrikshttp://pastebin.com/sqVgNJq0 here
01:08.29p3nguinNow I see one.
01:11.21p3nguinDid you ever try adding sendrpid=yes to your freephonie peer?
01:17.34AtriksI'll try
01:17.55p3nguinfreephonie.org does not say they need that in the configuration, but I'd try it.
01:18.44Atrikscalling
01:18.48Atriksunavailable :(
01:19.47Atriks<--- SIP read from UDP:212.27.52.5:5060 --->
01:19.47Atriks<PROTECTED>
01:20.03ChannelZ* got a packet from that IP on port 5060
01:20.14Atrikssomeone is using my asterisk ?
01:20.28ChannelZNot necessarily
01:20.33p3nguinfreephonie.net has address 212.27.52.5
01:20.41ChannelZdepends on the rest of the packet and what * did with it
01:20.50Atriksoh ok
01:20.59AtriksI receive packet from it every 2 seconds
01:21.08Atriksbut calls don't work
01:21.15ChannelZMakes sense
01:21.23ChannelZAt least it's persistent.
01:22.11p3nguinMy only remaining thought is that you are not sending calls to an extension that they accept.
01:22.59p3nguinThey don't say what format they want.
01:25.41Atriks:(
01:25.54Atrikstrinkets 6/12
01:25.57Atrikstime 9:38
01:26.33p3nguinTry calling a number with full country code and area code.
01:27.06Atrikswith ident numer ?
01:27.09Atrikslike +33 ?
01:27.18*** join/#asterisk benklop (~ben@c-67-176-102-107.hsd1.co.comcast.net)
01:27.21p3nguinIf 33 is the country code, that's what I mean.
01:27.42p3nguinIf I wanted to call you, I'd call 00 33 ....
01:27.52benklopis google voice /gtalk integration broken again?
01:27.57p3nguinyes
01:27.58Atrikscall failed : not found
01:28.13p3nguinTry with 00 33 ...
01:28.24benklopit's either that or a firewall issue on my side..
01:28.31Atriksservice unavailable
01:28.34benkloppenguin: was that directed at me?
01:28.42p3nguinbenklop: yes
01:28.45AtriksBut I've no sound with xlite
01:28.50ChannelZinfobot broken gtalk is <reply>see https://issues.asterisk.org/jira/browse/ASTERISK-18301
01:28.50infobotChannelZ: okay
01:28.56benklopokay. thanks.
01:29.05AtriksIt says something I think, but no sound
01:29.07p3nguin~broken gtalk
01:29.12*** join/#asterisk freeedrich| (~eeePC@hansaserver.de)
01:29.26ChannelZI think the stupid ~ trigger messes with factoids.
01:29.35p3nguininfobot: broken gtalk
01:29.39benklopis there a place I can look this stuff first so as not to bother you guys next time? google doesnt seem to be relevant enough date waise
01:30.14p3nguin~broken
01:30.14infobotbroken is, like, mailto:nothing@machine.cx -> http://machine.cx/debian/  or screen shots are at http://nivda.machine.cx or that's sid for you.
01:30.19p3nguin~gtalk
01:30.24ChannelZ~broken-gtalk
01:30.25ChannelZThere
01:30.41ChannelZoh you dirty infowhore
01:30.43p3nguinSometimes I just don't understand that silly thing.
01:31.47Atrikswhy isn't it wooorkiiing :(
01:32.03ChannelZMaybe he runs on the same server as JIRA and his disk is full.. cuz we're having a private conversation and he's being a boob too.
01:32.46ChannelZ~brokengtalk
01:32.53ChannelZkicks infobot
01:33.09ChannelZHe knows it
01:33.10p3nguin~channelz
01:33.10infobotmethinks channelz is something else
01:33.14p3nguinhaha
01:33.40ChannelZinfobot literal brokengtalk
01:33.40infobot"brokengtalk" is "<reply>see https://issues.asterisk.org/jira/browse/ASTERISK-18301"
01:33.42p3nguinI wonder if it picked up someone saying, "channelz: you're something else."
01:33.45ChannelZsee?  dummy
01:34.05ChannelZThat's how it normally works, though I don't know if whomever runs infobot has autolearn turned on
01:35.18ChannelZI run an old original infobot named regurg on another network.
01:35.38ChannelZI'm not exactly sure which flavor this one is
01:36.12AtriksI'll sleep
01:36.14AtriksI'm tired
01:36.59ChannelZ~brokengtalk
01:36.59infobotbrokengtalk is probably see https://issues.asterisk.org/jira/browse/ASTERISK-18301 for more info
01:37.04p3nguinw00t
01:37.47ChannelZHe wasn't liking the <reply> for whatever reason.  Maybe the lack of space after.
01:37.48ChannelZshrugs
01:38.05p3nguinI've used it with and without the space after reply.
01:38.30p3nguininfobot: brokengtalk
01:38.30infobothmm... brokengtalk is see https://issues.asterisk.org/jira/browse/ASTERISK-18301 for more info
01:38.51p3nguinno, brokengtalk is <reply>see https://issues.asterisk.org/jira/browse/ASTERISK-18301 for more info
01:38.59p3nguininfobot: no, brokengtalk is <reply>see https://issues.asterisk.org/jira/browse/ASTERISK-18301 for more info
01:38.59infobotokay, p3nguin
01:39.03p3nguininfobot: brokengtalk
01:39.07ChannelZsee
01:39.14ChannelZBRAIN DAMAGED
01:39.16p3nguin~brokengtalk
01:39.25p3nguininfobot: no, brokengtalk is <reply> see https://issues.asterisk.org/jira/browse/ASTERISK-18301 for more info
01:39.25infobotp3nguin: okay
01:39.31p3nguin~brokengtalk
01:39.51p3nguininfobot: brokengtalk is see https://issues.asterisk.org/jira/browse/ASTERISK-18301 for more info
01:39.51infobot...but brokengtalk is already something else...
01:40.00p3nguininfobot: no, brokengtalk is see https://issues.asterisk.org/jira/browse/ASTERISK-18301 for more info
01:40.00infobotokay, p3nguin
01:40.03p3nguin~brokengtalk
01:40.03infobotfrom memory, brokengtalk is see https://issues.asterisk.org/jira/browse/ASTERISK-18301 for more info
01:40.10p3nguinMessed.  Up.
01:40.37ChannelZ~barfo
01:40.37infoboti think i gonna be sick
01:40.53ChannelZIt wants a space between <reply> and the factoid
01:41.11ChannelZbut this will be funner anyway....
01:41.40ChannelZinfobot no brokengtalk is GTalk is a little busted at the moment... see https://issues.asterisk.org/jira/browse/ASTERISK-18301 for more info
01:41.40infobotChannelZ: okay
01:41.45p3nguininfobot: poop is <reply>it is just poop!
01:41.45infobotACTION poops on is <reply>it is just poop!
01:41.55p3nguinerm
01:42.09p3nguininfobot: poopy is <reply>it is just poopy!
01:42.09infobotokay, p3nguin
01:42.15p3nguininfobot: poopy
01:42.15infobotit is just poopy!
01:42.15ChannelZinfobot poop p3nguin
01:42.16infobotACTION poops on p3nguin
01:42.31p3nguinThe lack of space works there.
01:42.35p3nguininfobot: forget poopy
01:42.36infobotp3nguin: i forgot poopy
01:43.06p3nguinI think it's just having another bad day.
01:43.32ChannelZWell if it's anything like old classic infobot, he has many many quirks
01:43.37ChannelZPerl gone wrong
01:44.09p3nguinI have an rbot with similar issues.
01:44.25*** join/#asterisk Cain (~Geek@unaffiliated/cain)
01:44.43*** part/#asterisk postconf (~postconf@msfree.com)
01:45.07benklopwell, thank you for the excellent entertainment after the excellent fix. :-P
01:45.07Atriksgood night, 03:45 here
01:45.13Atrikssee you later !
01:48.00ChannelZadios
01:48.50ChannelZI actually have my own version of infobot half rewritten in PHP.  I didn't like most of the infobot derivitaves/clones that are already out there, it messed with my bot's personality too much.
02:01.43*** join/#asterisk ChannelZ (channelz@burner.com)
02:11.46*** join/#asterisk jwiggins (~James@gateway/tor-sasl/jwiggins)
02:17.03Nuggetin php?  what was your goal, to somehow make an implementation in a language worse than perl?
02:17.56drmessanoPHP:  Because mIRC doesn't run well in *nix
02:18.02Nuggetheh
02:19.49*** join/#asterisk kaushal (~kaushal@14.99.152.194)
02:20.04*** join/#asterisk godmachine-x6 (~godmachin@unaffiliated/godmachine-x6)
02:24.49kaushalHi
02:27.27ChannelZI'm not sure there is a language worse than perl
02:27.37Nuggetphp
02:28.01Nuggetmaybe also INTERCAL or something
02:30.07ChannelZPHP make sense.  Perl winds up looking like hieroglyphics most the time
02:30.45*** join/#asterisk Clear4ciD (~Clear4ciD@c-76-100-161-152.hsd1.md.comcast.net)
02:30.53kaushalI have this script http://fpaste.org/MZ7U/ when i run this script as sh -xv outbound.sh run, all call does not happen concurrently instead when the first number answers then the second gets answered and so on and so forth.
02:31.04kaushalAny clue ?
02:32.37p3nguinWhen I wrote the script, it would call an unlimited amount of times, and there is no way for it to care if there is an answer or not.
02:33.04*** join/#asterisk gogasca (~gogasca@c-71-202-75-108.hsd1.ca.comcast.net)
02:35.01kaushalthe only change i did was line number 17 --> asterisk -rx "channel originate DAHDI/g0/$num Application MP3Player /home/kaushal/obd-demo.mp3"
02:35.32p3nguinThen I have to assume that you're wrong and the script will still generate an unlimited number of calls.
02:36.04kaushalinstead of asterisk -rx "originate Local/$num@auto-outbound-spf extension s@auto-outbound"
02:36.23p3nguinI use it to spawn usually like 20 calls at a time, starting just two seconds apart.
02:36.36kaushalp3nguin: ok
02:36.37p3nguinThere is no way for the script to know or care about an answer.
02:39.04kaushalp3nguin: shall i pastebin the verbose debug of that script ?
02:39.24p3nguinIt isn't necessary.  I wrote the thing myself, so I know what it does.
02:41.29kaushalI have tried all options to make it work, the issue is the same
02:41.45kaushalhas it to do with line no 17 ?
02:41.55p3nguinThere are no options.  You put in a list of phone numbers, and run the script during the appropriate hours, and it calls the numbers.
02:42.26p3nguinIs the asterisk cli command to originate calls actually channel originate ... ?
02:42.33p3nguinIt wasn't when I wrote it.
02:42.42kaushalyes
02:42.55p3nguinIt was and possibly still is just originate ...
02:43.44p3nguinI guess channel originate is the new way, but omitting channel still works.
02:44.28kaushalp3nguin: i tried omitting channel also now
02:44.42kaushalstill the same
02:45.17*** join/#asterisk Clear4ciD (~Clear4ciD@c-76-100-161-152.hsd1.md.comcast.net)
02:45.43p3nguinI would be more interested to see what happens on the asterisk cli when you run the script.
02:45.58kaushalok
02:46.41kaushalp3nguin: meaning to inoke the script from CLI > ?
02:46.45kaushalinvoke*
02:46.47p3nguinnope
02:46.56p3nguinI mean core set verbose 4, then run the script.
02:47.06kaushalok
02:47.27kaushalso i would have to have two consoles right ?
02:47.43p3nguinOr learn how to use tmux or screen.
02:47.56kaushalyes i use screen
02:48.06p3nguinThen you need only one console.
02:48.10kaushalso let me set CLI in screen
02:48.16kaushaland then run the script
02:48.24kaushalp3nguin: please give me a moment
02:52.41kaushalp3nguin: http://fpaste.org/ZnLB/
02:54.28p3nguinI have no idea what you think that shows me.
02:55.34ChannelZI see boobies!
02:55.40kaushalp3nguin: let me also pastebin the verbose debug mode of the script itself
02:56.07p3nguinThe script has no output.
02:57.12kaushalhttp://fpaste.org/ko0Y/
03:03.21kaushalplease suggest further
03:03.40p3nguinThere is nothing else to suggest.  I wrote the script and it does what it was written to do.
03:03.52p3nguinI know it does because I use the damn thing myself.
03:04.04p3nguinI don't know what more you want.
03:04.18p3nguinIf you don't like what my script does, go write your own.
03:05.05kaushalp3nguin: is there a way if you can accomodate this line originate DAHDI/g0/$num Application MP3Player obd-demo.mp3 in your environment just to ensure if it works for you ?
03:05.16p3nguinNope.
03:05.20kaushali will fix it
03:05.55kaushalthats the only difference
03:06.06kaushalI am really failing to understand
03:06.35p3nguinThe command being run should have nothing to do with the script.  The script just runs asterisk -rx ... over and over and over and over until it find - in the file, then it waits 60 seconds.
03:07.04p3nguinIt does not listen for answers, it does not accept feedback.
03:07.13p3nguinThat's all it does.
03:07.47p3nguinUsing the test command with it will show you exactly what it does.
03:09.25kaushalp3nguin: I completely agree with you
03:09.31kaushali ran the test too
03:09.45kaushalbut its really weird
03:10.01kaushalit doesnot work as expected
03:10.46kaushalotherwise i would not have complained at all in the first instance itself
03:10.51kaushalbelieve me
03:11.25kaushalI have already shared the details
03:12.01p3nguinAnd I've told you that the script does not accept feedback, so I guess you're fucked.
03:12.06p3nguinIt works for me, and that's what I wrote it for.
03:13.37kaushalanyways thanks
03:13.37p3nguinWhen you run the test, does it show you that it is calling all the numbers in the list?
03:13.47kaushalyes
03:13.51kaushalit shows
03:14.02p3nguinHow many numbers are in your list?
03:14.25kaushalthree numbers only to ensure
03:14.31kaushallater i will populate more
03:15.10kaushalall the three numbers are at my desk
03:15.15p3nguinWhen you run the test, it will output three originate commands.
03:15.39p3nguinHave you tried running the originate commands that are output from the test in your asterisk CLI?
03:15.57kaushallet me test it again
03:16.07p3nguinone, then the second, then the third, in sequence
03:16.15p3nguinThat's what the shell script does.
03:16.51p3nguinoriginate does not wait for the channel to answer before returning to the prompt.
03:17.01p3nguinYou can run it over and over and over and over.
03:17.11*** join/#asterisk ferdna (~ferdna@cpe-67-10-220-35.elp.res.rr.com)
03:17.20kaushalit works perfectly fine when i ran originate DAHDI/g0/xxxxxxxxxx Application MP3Player /home/kaushal/obd-demo.mp3
03:17.37kaushalat CLI >
03:17.40p3nguinNow run all three.
03:17.46kaushalok
03:20.30*** join/#asterisk radic (~radic@dslb-178-002-209-094.pools.arcor-ip.net)
03:21.50kaushalp3nguin: i am suspecting the issue here
03:22.00kaushalwhen i ran all the three at once
03:22.33kaushalit didnot ring the second and third at all
03:22.44kaushalonly the first
03:23.29kaushalis it some config issue ?
03:23.47kaushalbut whereas when i call individually it works as expected
03:23.49p3nguinWhat did the verbose output indicate?
03:24.25p3nguinMy only limitation is my bandwidth.  That's why I usually limit my calls to 20 per batch.
03:26.06kaushalp3nguin: http://fpaste.org/vkwY/
03:28.06p3nguinThat information means nothing to me.
03:28.21kaushalp3nguin: let me set verbose mode to 10
03:28.30p3nguinIt won't change the output.
03:28.49kaushali am running out of ideas now
03:28.49p3nguinYou could change it to 15000 and it would be exactly the same.
03:28.54kaushal:/
03:30.43p3nguinIf you have more than one phone on the system, can two people make outbound calls at the same time?
03:36.19kaushalnope
03:38.56kaushalp3nguin: trying to understand further
03:39.04kaushalplease give me a moment
03:39.05kaushalbrb
03:47.16p3nguinThat must be pretty shitty to have over 200 PRI channels and can only make one call at a time.
04:03.40ChannelZThat he can spam with?  Sounds like it's perfect the way it is.
04:09.38kaldemarcause 17 means busy...
04:11.30*** join/#asterisk salz212 (~chatzilla@182.178.160.108)
04:18.43kaushalback after further research
04:18.47kaushalwhen i do
04:18.48kaushaloriginate DAHDI/g0/xxxxxxxxxx Application MP3Player /home/kaushal/obd-demo.mp3
04:18.49kaushaloriginate DAHDI/g1/xxxxxxxxxx Application MP3Player /home/kaushal/obd-demo.mp3
04:18.58kaushalit still does not work
04:19.14kaushalsince g0 and g1 are different call groups
04:20.28kaushalwhat i have observed here is that there is some sort of time interval
04:21.01kaushalDo i need to revisit the configs under /etc/asterisk ?
04:21.09p3nguinOnly being able to make one call at a time must be painful.
04:21.32kaushalyes
04:21.40kaushalp3nguin: i agree with you
04:22.55kaushalp3nguin: the script works perfect
04:23.13kaushalthe issue here is at the CLI > prompt
04:24.24kaushalso nailing down the issue
04:24.36kaushalso at a time only one number is being called
04:24.46kaushalthats the observation
04:25.03kaushalinspite of using different call groups
04:25.11ChannelZWhy are you not using call files
04:25.37kaushalChannelZ: ok
04:25.50kaushallet me look at it
04:25.52ChannelZDoing asterisk -rx with the channel originate like that is not going to return until the channel answers (or times out)
04:26.17p3nguinIt does for me.
04:26.27p3nguinI can throw out 100 originates if I want.
04:26.29ChannelZDoesn't here
04:26.37kaushalChannelZ: yeah
04:26.45p3nguinThat's why I made the script like I did.
04:26.51kaushalChannelZ: for p3nguin it works
04:27.12kaushalthe only difference is i am using E1 and in US it is T1
04:27.19ChannelZI haven't been paying attention much or seen the script to be honest
04:27.22p3nguinI'm not using analog, though.
04:27.34*** join/#asterisk atan (atan3@unaffiliated/atan)
04:27.45kaushalChannelZ: do you wish to see the script ?
04:27.51ChannelZnot really
04:27.55p3nguinI limit my calls to 20 for reasons of bandwidth, but if I wanted to spawn a crapload more, I could.
04:28.00ChannelZdoing it from a shell pretty much behaved as I said
04:28.24kaushalChannelZ: Any clue about CLI > ?
04:28.43ChannelZI'm not sure what you even mean
04:29.02kaushalI am pretty sure if it works at CLI > then asterisk -rx should work too
04:29.35WIMPyGood morning!
04:30.00kaushal*CLI> originate DAHDI/g0/xxxxxxxxxx Application MP3Player /home/kaushal/obd-demo.mp3
04:30.03kaushal*CLI> originate DAHDI/g1/xxxxxxxxxx Application MP3Player /home/kaushal/obd-demo.mp3
04:30.10kaushalWIMPy: good morning
04:30.32kaushalso when i run that only one number is being called
04:31.24kaushalmeaning if i paste both two lines at once
04:31.55kaushalAm i understanding it correctly ?
04:32.31ChannelZI have no idea
04:33.17kaushalWIMPy: Any clue ?
04:33.18p3nguinI just confirmed it.  I now have two phones here ringing at the same time from two asterisk -rx originates.
04:33.30kaushalok
04:33.39kaushalis it T1 or E1 PRI ?
04:33.42WIMPyWhere are you now?
04:34.03ChannelZAs separate processes perhaps but at least here the first asterisk -rx ... doesn't return to the shell prompt until the channel answers
04:34.10p3nguinAnd I didn't answer the first one... I just ran asterisk -rx 'originate ...' ; asterisk -rx 'originate ...'
04:34.33kaushalWIMPy: are you referring to me ?
04:34.37WIMPyyes
04:34.49kaushalnot sure i understand that question
04:35.05kaushalare you talking about error 101 ?
04:36.00WIMPyLet me read...
04:36.07ChannelZp3nguin: what are you doing with the originate? Running an application, or specifying an extension?
04:36.39p3nguinThis test I used application, but in the script, I originate against a local channel to an extension.
04:38.36WIMPykaushal: You reallt should use AMI so you can get feedback.
04:39.52p3nguinHe's saying that he can only make one outgoing call at a time, even from multiple phones.  He has well over 200 PRI channels, so I would think he could make as many calls as he wants.
04:40.07kaushalp3nguin: http://fpaste.org/1v3c/
04:41.03WIMPyYes, but that was only using the CLI, I guess.
04:41.04kaushalp3nguin: yes i can make multiple calls since i have 200 channels
04:41.20p3nguinYou told me that you can't.
04:41.36kaushalsorry
04:41.55kaushali mean i should be able to make multiple calls
04:42.06kaushalsince i have more than 1 channel
04:42.24p3nguinThen you can originate more than one call, too.
04:42.29kaushalbut at the moment only one call being made
04:42.46kaldemarand what do you see in pri debug when you try to make two calls? what does the dial line look like? what does your chan_dahdi.conf look like?
04:42.46kaushalsurprising
04:42.54WIMPykaushal: Use AMI. It's the only way forward.
04:43.03ChannelZIn your script, why don't you just do & at the end of the asterisk -rx line to spawn it in the background?
04:43.20kaldemari saw in an earlier paste that you got a hangup from PRI with cause 17, which means busy. don't dismiss that.
04:43.38kaushalkaldemar: sure and let me pastebin the configs
04:43.41p3nguinMine returns to the prompt, so I never had a reason to put & on it.
04:43.51WIMPyif you use asterisk -rx or .call files, you won't know how many channels you have available.
04:44.00p3nguinHe has plenty.
04:44.23ChannelZWon't * queue with the call files its self?
04:44.25WIMPyBut I guess he wants to use all of them.
04:44.39p3nguin8 ports, E1
04:44.55WIMPyChannelZ: That might actually work. Just check how many are left.
04:46.13kaushalkaldemar: http://fpaste.org/kGDq/
04:46.50p3nguinI don't need any feedback, so I'm satisfied with throwing a batch of asterisk -rx at my asterisk.
04:47.41kaushalkaldemar: let me know if you need more information about configs
04:47.49p3nguinBut if I knew how to write stuff for AMI, I probably would have used it.
04:48.14kaushalWIMPy: AMI -> Asterisk Management interface ?
04:48.17WIMPyWell, thinking about it, Asterisk shouldn't care if it it able to dial out when processing .call file. You just could use the retry. So that's not that effective.
04:48.30WIMPyyes
04:48.30ChannelZWIMPy: what I meant was, if you put a call file in the spool and the channel you set it for is unavailable (let's just say there's only 1) does the call file immediately fail?
04:48.52WIMPyWhat else could it do?
04:49.04ChannelZWith retry, it'll wait and try again.
04:49.06p3nguinIf you have no retry, it should be removed.
04:49.14ChannelZI think anyway, I don't really use them but thought that was the point
04:49.22WIMPyyes
04:49.31ChannelZThere's an archive function that will put the call file in a new directory and tell you what happened to it even.
04:52.05kaldemarkaushal: i made three questions and you answered one.
04:52.54kaushalkaldemar: please give me a moment
04:56.07kaushalkaldemar: http://fpaste.org/BRUa/
05:00.45kaldemarkaushal: no pri debug there.
05:01.05kaushalits set to verbosity of 4
05:01.31p3nguinThat has very little to do with pri debug.
05:01.48kaushalok
05:01.57kaushalgot it
05:02.07kaushallet me enable it and then pastebin it
05:02.13kaushalplease give me a moment
05:05.39kaldemarnot very little but nothing. pri intense debug span ...
05:06.13kaushalsure
05:16.58*** join/#asterisk tzafrir_laptop (~tzafrir@212.179.75.202)
05:19.51*** join/#asterisk e7e5 (~rudenko@188.134.2.33)
05:20.27p3nguinIt takes so long.
05:20.59kaushalback again
05:21.00kaushalhttp://sprunge.us/TZPB
05:23.01kaushalbrb after sometime
05:25.22*** join/#asterisk singler (~singler@81-7-123-162.static.zebra.lt)
05:28.16*** join/#asterisk e7e5 (~rudenko@188.134.2.33)
05:30.25WIMPyLooks ok
05:33.44*** join/#asterisk Atriks (~Hatrix@2a01:e34:ee51:4670:61c4:c8e5:69b7:a868)
05:48.34kaldemarthe debug does not reflect the described situation though.
05:53.23*** join/#asterisk cerberus_za (~coert@41-134-110-162.dsl.mweb.co.za)
05:53.44singleris where problems with asterisk's jira?
05:59.41*** join/#asterisk asterisk-Tester (~RAMYT@193.227.170.247)
06:00.48*** join/#asterisk Juggie (~Juggie@unaffiliated/juggie)
06:01.30*** join/#asterisk fenlander (~fenlander@82.152.81.57)
06:03.23Atrikswake up
06:03.28AtriksHi
06:03.33singlerhi
06:04.03AtriksI'm a problem with my asterisk server. When I try to make a call with x-lite, it says "service unavailable" after few seconds
06:08.16*** join/#asterisk oej (~olle@ns.webway.se)
06:09.03*** join/#asterisk fenlander (~fenlander@82.152.81.57)
06:09.18*** join/#asterisk Juggie (~Juggie@unaffiliated/juggie)
06:10.01AtriksEverybody's sleeping ?
06:10.17WIMPyI wish I would
06:11.05kaldemarAtriks: what do you see in CLI when you make a call?
06:11.19AtriksWait
06:11.23AtriksI've a debug somewhere
06:11.43Atrikshttp://pastebin.com/sqVgNJq0 here
06:11.44*** join/#asterisk kleszcz (tick@80.54.23.253)
06:12.40AtriksI was told that it's a problem with the connection to the itsp
06:14.56*** join/#asterisk freeman_u (~freeman@193.110.114.54)
06:15.01kaldemarAtriks: SIP/2.0 403 not registered received from the ITSP.
06:15.05*** join/#asterisk felimwhiteley (~quassel@46.7.101.58)
06:15.26AtriksYeah, but I register in sip.conf
06:16.00*** join/#asterisk felimwhiteley (~quassel@46.7.101.58)
06:16.19kaldemarAtriks: seems like they require you to register before being able to make calls or there is something wrong with your configuration. pastebin the dial line from extensions.conf and the the used peer from sip.conf if there is one.
06:16.46kaldemarso registration should not be the issue. probably the credentials are not what they should be.
06:18.18Atrikshttp://pastebin.com/jJNkasya
06:18.29AtriksI've not many in extension.conf
06:18.53AtriksI've a register => in general in sip.conf
06:20.16*** join/#asterisk c0rnoTa (~c0rnoTa@78.24.154.190)
06:23.35*** part/#asterisk c0rnoTa (~c0rnoTa@78.24.154.190)
06:23.50kaldemarAtriks: add defaultuser parameter to the peer definition.
06:24.21Atriksto hatrix ?
06:24.35*** join/#asterisk felimwhiteley (~quassel@46.7.101.58)
06:24.37Atrikshum
06:24.45AtriksNo, freephonie, defaultuser=Hatrix ?
06:25.20kaldemarto freephonie. and set it to what ever you use to register to them with.
06:26.02AtriksHave I to write my Asterisk username or itsp username?
06:26.57kaldemaritsp username naturally, since your dialing to the itsp with it.
06:27.53Atriks<PROTECTED>
06:27.53Atriks<PROTECTED>
06:28.39kaldemaryes, because you have a name as the host.
06:28.57Atriksand  WARNING[7813]: chan_sip.c:18305 handle_response_register: Got 423 Interval too brief for service 0953534363@freephonie.net, minimum is 1800 seconds
06:28.58Atriks<PROTECTED>
06:29.47kaldemaryou're registering too often to them.
06:30.27kaldemarsee expiry parameters to change that.
06:30.46Atrikswhere ? .-.
06:31.22kaldemarin sip.conf
06:31.57Atriksyes, but where ?
06:32.06kaldemarwhat may cause the ITSP to not accept your registration which may lead to the "403 not registered"
06:32.30Atriks;maxexpiry=3600                 ; Maximum allowed time of incoming registrations ?
06:32.41kaldemarAtriks: under [general]. sample sip.conf has those.
06:32.42Atriksor min ?
06:32.53Atriksit's in general yes
06:33.55kaldemara registration from you to the ITSP is outgoing
06:34.14AtriksI don't understand...
06:39.02*** join/#asterisk xnfinite (~xnfinite@62.82.191.170.static.user.ono.com)
06:42.41*** join/#asterisk irroot (~irroot@197.168.36.7)
06:43.04*** join/#asterisk gg0 (~gg0@unaffiliated/gg0)
06:44.27kaldemarAtriks: you're sending a register message that gets responded with interval too brief. meaning that the ITSP thinks that the expiry time in your register message is too small. make it larger with a conf parameter that changes the value for an outgoing registration. that would be defaultexpiry as the sample says.
06:45.18*** join/#asterisk Juggie (~Juggie@unaffiliated/juggie)
06:45.22Atriksyes kaldemar
06:45.25Atriksby default 120
06:45.28Atrikswhat should y put ?
06:45.57kaldemaryour ITSP knows.
06:46.14kaldemarask them or try larger values until they accept.
06:46.15AtriksI'm not mi iTSP
06:46.35kaldemarme neither.
06:48.14Atriks500 not enough
06:48.45AtriksOh
06:48.47AtriksIt works !!!!
06:48.49AtriksI love you kaldemar
06:49.17AtriksHum
06:49.37AtriksIt works only for normal phones
06:49.40Atriksnot mobiles
06:49.41Atrikswhat
06:50.20*** join/#asterisk file (~file@asterisk/developer-and-muffin-lover/file)
06:50.20*** mode/#asterisk [+o file] by ChanServ
06:53.30*** join/#asterisk bjornts (~BTS@it010226.klientdrift.uib.no)
06:56.25*** join/#asterisk den512 (~dradon@carbon.gonicus.de)
06:59.50*** join/#asterisk stix (~stix@193.89.191.209)
07:02.58*** join/#asterisk Nasga (~Nasga@186.212.10.93.rev.sfr.net)
07:04.24*** join/#asterisk hehol (~hehol@2001:1438:1009:200:4c3d:7937:f78f:7f5c)
07:13.09*** join/#asterisk gerhard7 (~gerhard7@82-171-103-215.ip.telfort.nl)
07:29.00*** join/#asterisk sgimeno (~sgimeno@163.117.206.10)
07:29.09*** join/#asterisk tamiel (~tamiel@213.30.183.226)
07:41.19*** join/#asterisk ickmund (~ickmund@cli-5b7e85f2.bcn.adamo.es)
07:46.06*** join/#asterisk nightwalk (~null@daimon.vixel.org)
07:52.24*** join/#asterisk e7e5 (~rudenko@188.134.2.33)
07:56.30*** join/#asterisk aberrios (~aberrios@195.171.4.82)
08:09.35*** join/#asterisk oej (~olle@ns.webway.se)
08:11.19*** join/#asterisk kaushal (~kaushal@14.97.26.132)
08:11.23kaushalhi again
08:11.31kaushalkaldemar: back
08:11.37kaushalAny clue ?
08:13.53kaldemarkaushal: your debug does not match with earlier output.
08:14.05kaushalok
08:14.35kaushalkaldemar: let me describe it here
08:14.50kaushalso i have set debug for pri span 1-8
08:14.56kaushaland then redirected to a file
08:15.11kaushaland then initiated the outbound campaign
08:15.12kaldemarhow about enabling it for a single span that is used for dialing only?
08:15.27kaushalok
08:15.55kaushalkaldemar: so how would i know which span is used for dialling ?
08:16.05kaushalnot sure actually
08:16.33kaushalso i have g0-g7 call groups and span1-7
08:16.58WIMPyYou should have span 1-8.
08:17.14kaushalyeah typo
08:17.15WIMPyBut what are you trying to do right now, exactely?
08:17.21kaushalg0-g7 call groups and span1-8
08:17.25kaushalWIMPy: ok
08:17.41*** join/#asterisk cerberus_za (~coert@41-134-110-162.dsl.mweb.co.za)
08:17.44WIMPygroup 0=span 1, group 1=span 2, etc.
08:18.03WIMPyWith your configuration that is.
08:18.39kaushalWIMPy: ok
08:18.55*** join/#asterisk james_zhu (~Administr@183.16.215.134)
08:19.00kaldemarhowever, earlier output suggested that you received a hangup with cause 17 from the PRI but the last debug didn't have such a DISCONNECT.
08:19.08kaushalWIMPy: so when i run this
08:19.09kaushal*CLI> originate DAHDI/g0/xxxxxxxxxx Application MP3Player /home/kaushal/obd-demo.mp3
08:19.12kaushal*CLI> originate DAHDI/g1/xxxxxxxxxx Application MP3Player /home/kaushal/obd-demo.mp3
08:19.29kaushali just see only one call being made at a time instead of multiple calls
08:20.10kaushalthe numbers are ofcourse different
08:20.32WIMPyYes, channel originate locks something.
08:20.34kaushalkaldemar: ok
08:20.55kaushalkaldemar: i would re run the campaign and pastebin the output again
08:21.24kaushalWIMPy: i have in total 8 PRI lines which comprises 240 channels
08:21.44WIMPyYes, I know
08:21.47*** join/#asterisk ollii (~risker@2001:470:1f15:1384:62eb:69ff:fe31:b4)
08:21.51kaushalWIMPy: How do i overcome this locking issue
08:22.14WIMPyDon't do it from the *CLI. Use .call files or better use AMI.
08:22.22kaushalor as suggested by you do i need to use AMI for this purpose ?
08:22.25kaushalWIMPy: ok
08:22.46kaushalWIMPy: do i need to have apache web server running on this asterisk box ?
08:23.02*** join/#asterisk jacc0 (~jacc0@D522448D.static.ziggozakelijk.nl)
08:23.06jacc0hi all!!
08:23.09WIMPyNo. Where do you see a link to Apache?
08:23.11jacc0gooooooood mornign
08:23.32kaushalWIMPy: when i look at /etc/asterisk/manager.conf file
08:23.37olliigood morning
08:23.43kaushalit says https or http
08:24.10WIMPykaushal: You don't need the http(s) stuff.
08:25.08kaushali enabled port 5038
08:25.30WIMPyAnd now you have to get coding.
08:25.50kaushalok
08:26.34WIMPyThe good thing is that you will receive events that way about the calls you started. So you know when a call has ended.
08:26.47WIMPyAnd why, if you're interested.
08:27.01kaushalWIMPy: http://fpaste.org/Lqww/
08:27.13WIMPyBut the important bit is to know how many calls are active at any time.
08:27.24kaushalWIMPy: Any wiki page which mentions about configuring AMI ?
08:27.45jacc020+ production envirements still running smooth :)
08:27.54WIMPyYou don't need 'webenabled'.
08:28.37WIMPykaushal: You need to set up a user and then you need to write an application that connects to AMI and talks to Asterisk that way.
08:28.45kaushalok
08:28.49WIMPyIt's pretty powerfull.
08:28.54kaushaloh ok
08:29.06WIMPyBut it involves programming.
08:29.11kaushalHow is different from AGI or .call files ?
08:29.25kaushalWIMPy: still learning and trying to understand
08:29.49irrootmorning folks im in and about again
08:30.01WIMPyAGIs are called from the dialplan. I.e. from Asterisk to your programm on an active call.
08:30.02jacc0AGI can do a lot more then only originating a call
08:30.13WIMPyCall files will make Asterisk set up a call.
08:30.24olliiagis can be written in c,php,python, bash...what you need ;)
08:30.34ollii*depends on your needs
08:30.44WIMPyAnd AGI works both ways. You can tell Asterisk what to do and you get information form Asterisk about what it's doing.
08:32.03kaushalok
08:35.36*** join/#asterisk mandla (~mandla@168.167.180.161)
08:36.03kaldemarkaushal: https://wiki.asterisk.org/wiki/display/AST/Asterisk+Manager+Interface+(AMI)
08:46.26*** join/#asterisk dwmw2___ (~ctrlproxy@twosheds.infradead.org)
08:48.02mandlahello, can anyone hook me up with a working chan_dahdi.conf file, please
08:49.47kaldemarmandla: http://svn.digium.com/svn/asterisk/tags/1.8.5.0/configs/chan_dahdi.conf.sample
08:50.10mandlakaldemar, thanx man.
08:54.30kaushalkaldemar: Thanks
08:57.18AtriksBack. I can't make calls to mobile phones via SIP due of my internet provider. Is it a way to make asterisk reconized as a phone plugged in the box or somethign like that ?
08:59.02kaldemarwhat is the reason for not being able to make calls to mobiles?
09:03.23*** join/#asterisk mutex7c (~mutex7c@HSI-KBW-095-208-202-191.hsi5.kabel-badenwuerttemberg.de)
09:03.33*** join/#asterisk oej (~olle@ns.webway.se)
09:04.16*** join/#asterisk mutex7c (~mutex7c@HSI-KBW-095-208-202-191.hsi5.kabel-badenwuerttemberg.de)
09:05.27dwmw2___hm, I edit utils/smsq.c and run 'make' in the top level, and it isn't rebuilt
09:08.31Atrikskaldemar, My internet provider block it
09:08.38Atriksfrom SIP, I mean
09:09.07AtriksFor some security and fraud problems
09:09.07kaldemarinternet provider or ITSP?
09:09.16AtriksIt's the same
09:09.35kaldemarthere's nothing you can do about it. change your provider.
09:09.40AtriksFu
09:09.45AtriksIt will be the same
09:09.57AtriksEvery Internet provider are like that in France
09:10.12kaldemardwmw2___: do a make menuselect and see if it is enabled under Utilities.
09:10.29kaldemarfu?
09:11.11dwmw2___it should be; I just did a rebuild of the Fedora SRPM (since I'm running the Fedora package) and then went to fix the bugs
09:11.13dwmw2___checks
09:12.05dwmw2___hm, it's turned off.
09:12.23dwmw2___oh, I think the package does multiple builds, to do things like voicemail-imap, voicemail-odbc etc.
09:12.26dwmw2___thanks :)
09:14.39dwmw2___gr
09:15.21dwmw2___I made smsq name its queue file with '.call' at the end, and Asterisk *still* doesn't notice it until I manually rename it
09:15.54dwmw2___smsq was making a file named 'smsq.motx.0.1314004450-18200.1' which didn't get noticed until I renamed it to 'smsq.motx.0.1314004450-18200.1.call' manually
09:16.14dwmw2___so I changed smsq to make 'smsq.motx.0.1314004450-18200.1.call' and now it didn't get acted upon until I manually renamed it to 'asd.call'
09:16.30dwmw2___maybe it's the *rename* that is the trigger? smsq links it into place and then removes the original manually
09:20.44kaldemardo the created files have their last modified date in the future for some reason?
09:21.36dwmw2___no
09:21.43dwmw2___I'm staring at the inotify code in pbx_spool.c now
09:22.02dwmw2___I suspect if I make smsq.c *move* the file into place instead of hard-linking it, it'll be fine.
09:22.30dwmw2___not sure what inotify event you get on a link. IN_CREATE perhaps ?
09:23.06dwmw2___I think pbx_spool.c waits for an IN_CLOSE_WRITE notification on a created file, before it eats it
09:23.12dwmw2___oh, that's horrid
09:23.38dwmw2___[root@obelisk outgoing]# echo -n >> smsq.motx.0.1314004602-18213.1.call
09:23.39dwmw2___haha
09:23.41dwmw2___that made it work
09:27.18dwmw2___hm, can inotify really not tell the difference between a hardlink and a creat() ?
09:30.27dwmw2___this is wrong. Using inotify like this is cute, but surely it should have a timeout? If the file is non-zero size and not touched for a few seconds after it's created, then it was *fine*
09:30.50dwmw2___and if the file *is* written after it was created, asterisk should surely bitch and refuse to run it? The rules state that you should make it first and move it into place!
09:31.00dwmw2___or did that change?
09:35.18dwmw2___adds the analysis to https://bugzilla.redhat.com/show_bug.cgi?id=732374
09:40.39*** join/#asterisk TimeRider (~steve@188-220-33-123.zone11.bethere.co.uk)
09:40.42*** join/#asterisk jayson_r (~jayson@cpe-071-076-046-081.sc.res.rr.com)
09:51.13*** join/#asterisk Polysics (~luca@host210-142-static.228-95-b.business.telecomitalia.it)
09:51.15Polysicshello
09:51.23Polysicsi ran into an interesting problem
09:51.33PolysicsMoH blocks the call flow?
09:51.51Polysicsi though i could use moh to keep people waiting while i do stuff
09:52.19mandlahello guys, i cant make outgoing calls work.
09:52.38mandlaIm on Asterisk 1.7 with Xorcom Atribank
09:52.43mandlaIm on Asterisk 1.7 with Xorcom Astribank
09:53.10mandlaI dont know if the problem is with my chan_dahdi.conf file.
09:53.45WIMPymandla: There is no Asterisk 1.7. Are you still on to the same story you were on to a month ago?
09:54.36Polysicsdid 1.7 ever exist?
09:55.21Polysicsam i right in sayng MusicOnHold blocks execution?
09:55.47WIMPyPolysics: Of an AGI or what?
09:56.21PolysicsWIMPy, yes, i call MusicOnHold from AGI, the script stays there and only continues when caller hangs up and MoH stops
09:57.02WIMPyYes, while an Application executes, the AGI waits.
09:57.13*** join/#asterisk asterisk-Tester (~RAMYT@210.5.215.39)
09:57.53Polysicsthe idea was to put the caller on hold, then use Originate to dial the various possible callees
09:58.07Polysicssince each of them can accept or reject the call
09:58.16Polysicsand Bridge the first available one
09:58.58mandlaWIMPy, same story my man. 1.6.
10:00.15kaldemarPolysics: sounds like a queue with ringall strategy.
10:00.19mandlaWIMPy, the project is been on hold, was tackling other open source projects.
10:00.54Polysicskaldemar, each potential callee has to be first verified for available credit, as credits are pooled between caller group
10:01.12Polysicsand thus a receiver that was OK before could not be now, due to credit decreasing
10:01.20Polysicsbut that is not the point
10:01.27mandlaWIMPy, Now this other pig head was hired in my co. to continue where i left off, he totally screwed everything up.
10:01.39Polysicsthe point is "how can i play audio/park an user somewhere while i do my stuff?"
10:01.48kaldemarPolysics: you set local channels as members and do what you want in dialplan.
10:02.03mandlaWIMPy, where is Irroot??
10:02.18Polysicskaldemar, isn't that the same thing as what i am doing using AGI?
10:02.23WIMPyPolysics: Use AMI.
10:02.30Polysicsdon't i still have the problem of keeping the person waiting?
10:02.39WIMPymandla: Still here regularly.
10:02.56kaldemarPolysics: sure, but you'd tackle the moh problem with a queue.
10:03.33Polysicsso you say i should build a single local channel queue and call that? intriguing :-D
10:03.45Polysicsit's interesting that there isn't any other method though
10:04.00WIMPyPolysics: I told you one :-)
10:04.59PolysicsWIMPy, AMI with which command?
10:05.14Polysicswhat would the call flow be?
10:05.54kaldemarPolysics: a queue with local channels as members. and in those extensions you do the required checks.
10:06.10dwmw2___kaldemar: ok, all fixed: https://bugzilla.redhat.com/show_bug.cgi?id=732374#c5
10:06.50WIMPyPolysics: You can let the caller run in to MOH, while trying to dial out independently. On success you bridge them.
10:06.52Polysicsone local channel for each member?
10:07.34kaldemarPolysics: you can't have more than one. :)
10:09.23PolysicsWIMPy, that is where i stop. how do i dial out if the user is in MoH, since AGI stops ?
10:09.55*** join/#asterisk gg0 (~gg0@unaffiliated/gg0)
10:16.06*** join/#asterisk mirko_brankovic (~mirko_bra@212.200.146.253)
10:16.24kaldemarPolysics: have you noticed app StartMusicOnHold? it does not not block dialplan execution.
10:16.43Polysicskaldemar, no, i did not .-(
10:17.04kaldemarStopMusicOnHold will stop it for you.
10:17.11*** part/#asterisk mirko_brankovic (~mirko_bra@212.200.146.253)
10:17.22*** join/#asterisk IsUp (~nocturne@unaffiliated/isup)
10:17.53Polysicsthanks
10:20.48*** join/#asterisk seanbright (~sean@asterisk/contributor-and-bug-marshal/seanbright)
10:21.21Polysicshmm, no, though, this strategy won't work
10:21.34Polysicsno dialplan blocking also means the call is hung up right away
10:21.47Polysicsfire an UserEvent and handle with AMI is probably the only way
10:27.35Polysicsok, that works
10:28.33*** join/#asterisk citywok (~citywok@67-134-194-33.dia.static.qwest.net)
10:45.14*** join/#asterisk asterisk-Tester (~RAMYT@210.5.215.39)
10:49.34*** join/#asterisk IsUp (~nocturne@unaffiliated/isup)
10:54.32*** join/#asterisk gerhard7 (~gerhard7@82-171-103-215.ip.telfort.nl)
11:01.30*** join/#asterisk puzzled (~patrick@puzzled.xs4all.nl)
11:04.52*** join/#asterisk tzafrir_laptop (~tzafrir@bzq-218-155-146.cablep.bezeqint.net)
11:15.27dwmw2___PRI Span: 2 q931.c:8707 post_handle_q931_message: Call 32779 enters state 12 (Disconnect Indication).  Hold state: Idle
11:15.37dwmw2___yet ast_check_hangup() in app_sms doesn't return true.
11:18.12*** join/#asterisk puzzled (~patrick@puzzled.xs4all.nl)
11:26.12*** join/#asterisk IsUp (~nocturne@unaffiliated/isup)
11:27.34dwmw2___aha, inbanddisconnect=yes in chan_dahdi causes it.
11:27.49dwmw2___is there a way for app_sms to detect that the call has been disconnected, despite that setting?
11:30.21WIMPyYou should never use inband on a PRI.
11:30.28WIMPyor BRI
11:31.09dwmw2___really?
11:31.36dwmw2___what's the equivalent of 'earlyb3' in mISDN then? Where you get a DISCONNECT from the exchange but the with audio that tells you the actual error?
11:33.03WIMPyEarlyb3 is for bedia before the call connects. There is no explicit handling of late media. Depending on versions and combinations of cahnnels, either the disconnect is delayed or it doesn't work.
11:33.19dwmw2___ok
11:33.37WIMPyAnd I'm missing that, actually.
11:33.38dwmw2___so I can set inbanddisconnect=no and still get the earlyb3?
11:34.11WIMPyThey are not related.
11:34.17dwmw2___ok, thanks.
11:34.35dwmw2___I was confused by the help text in the sample chan_dahdi.conf
11:35.23WIMPyWhich one?
11:35.25*** join/#asterisk rgsteele (~rgsteele@apo.aweber.com)
11:35.31dwmw2___; Allow inband audio (progress) when a call is DISCONNECTed by the far end of a PRI
11:35.31dwmw2___;
11:35.45tzafrir_laptopmandla, asterisk 1.7? 1.8?
11:36.03WIMPyHmm. Strange
11:36.12dwmw2___strange that I was confused? :)
11:36.21WIMPyNo
11:37.11*** join/#asterisk nuken (~evandro@200.189.57.190)
11:37.29mandlatzafrir_laptop, http://pastebin.com/fg6mmHVU
11:37.33WIMPyWell, yes.
11:37.43mandla1.6
11:38.12WIMPydwmw2___: Early meadi can be handled in the dialplan e.g. with playback(bla,noanswer)
11:38.28WIMPyLate media can't.
11:38.56dwmw2___WIMPy: my telco doesn't let me *send* early media
11:39.26dwmw2___I'm only interested in receiving it, when the early media may well be a recorded message telling me the reason the call hasn't been connected, and sometimes giving an alternative phone number to call.
11:41.05mandlatzafrir_laptop, Asterisk 1.6.2.11
11:45.54nukenhi guys
11:46.38nukendoes anybody know any feature that can be like a phonebook in my analog phones ?
11:47.40nukenfor example, I program any number in a nuber one in phone keyboard
11:48.27nukenand when the user call number 1 will be automatic call to that number
11:48.50*** join/#asterisk nighty^ (~nighty@TOROON12-1279662182.sdsl.bell.ca)
11:51.58*** join/#asterisk jacc0 (~jacc0@D522448D.static.ziggozakelijk.nl)
11:52.39WIMPydwmw2___: That should happen after disconnect.
11:56.31kaldemarnuken: make single digit extensions that dial the wanted numbers.
11:57.41nukenhuum ok
11:58.15nukenbut, can I do this for one group of extension for example ?
11:58.54nukenfor example, the extension '1' will be avaliable just for extentions of 100 to 110
12:00.04*** join/#asterisk delki8 (~delki8@189.5.136.31)
12:04.38kaldemarnuken: yes. just make a context in extensions.conf for each phone and then include other contexts in those.
12:09.15IsUpi am able to do Echo test with my PBX, no audio or any problems
12:09.27IsUpbut when i use my provider to Dial, i am getting one way audio
12:10.29*** join/#asterisk eduzimrs (~eduzimrs@201.22.86.124.static.gvt.net.br)
12:10.42*** join/#asterisk cerberus_za (~coert@41-134-110-162.dsl.mweb.co.za)
12:12.46kaldemarIsUp: using SIP and you're behind a NAT?
12:13.11IsUpyes i am behind NAT
12:13.22IsUpmy PBX has public ip and i am connecting it with softphone
12:13.24IsUpEcho works fine
12:15.00kaldemarenable sip debug for a call and pastebin it.
12:15.53IsUpbr
12:15.55IsUpbrb
12:18.51eduzimrshi i got this "exten => _[7-9]XXXXXXX,n,GotoIf($[${GROUP_COUNT(GSM-OUTBOUND-LOCAL)} > "4" ]?gsmlocal:e1local)" for example if group count=3 it should go to the laber "e1local" right???
12:19.43eduzimrssomething smaller than 4 is treated as FALSE right?
12:19.51kaldemareduzimrs: change "4" to 4.
12:20.25eduzimrshum, i think thats the problem why is not working.
12:21.13*** join/#asterisk donkeh (~Leon@212.159.55.169)
12:22.16eduzimrskaldemar: works , tks
12:22.18*** join/#asterisk dwmw2____ (~ctrlproxy@twosheds.infradead.org)
12:23.04eduzimrskaldemar: could u explain me why? the " " treat that as a string ? am i right?
12:23.51donkehHi all, having a little problem with the AMD application hanging up calls in 1.8 - anyone that can assist/advise ?
12:27.35kaldemareduzimrs: yes, it will be treated as a string when quoted.
12:30.23dwmw2java.io.IOException: No space left on device
12:30.31dwmw2hm, jira seems unhappy when I try to file a new ticket
12:30.51*** join/#asterisk SuPrSluG (~SuPrSluG@8.22.96.106)
12:32.28*** join/#asterisk leifmadsen (~Leif@asterisk/documenteur-extraordinaire/blitzrage)
12:32.28*** mode/#asterisk [+o leifmadsen] by ChanServ
12:33.41*** join/#asterisk billmania (~bill@38.98.130.98)
12:46.55*** join/#asterisk psilikon (~joel@rrcs-24-73-84-158.se.biz.rr.com)
12:48.34*** join/#asterisk fireman_biff (~biff@65.48.133.103)
12:48.50fireman_biffHi, what would cause this error: "Got a UA, but i'm in state 7" ?
12:49.03fireman_biffasterisk 1.4.22
12:51.37psilikonanyone in here have experience with Astmanproxy? Every time I send an 'originate' command * and Astmanproxy crashes. I would love to see some samples of how other people used Astmanproxy.
12:53.17dwmw2app_v110.c makes my brain hurt
12:54.01*** join/#asterisk treborsux (~treborsux@75-144-117-117-Jacksonville.hfc.comcastbusiness.net)
12:54.04treborsuxyo
12:54.23treborsuxwell i made outgoings ok and made phone calls from soft phones
12:54.31treborsuxwatching tutorials on incoming today
13:04.54*** join/#asterisk Bob_Pierce (~WESTMAN\p@216.36.132.162)
13:07.55*** join/#asterisk serafie (~erin@nat/digium/x-istsjcygunjgizqb)
13:14.39*** join/#asterisk TimeRider (~steve@188-220-33-123.zone11.bethere.co.uk)
13:16.03*** join/#asterisk ferdna (~ferdna@cpe-67-10-220-35.elp.res.rr.com)
13:17.07*** join/#asterisk CJ0NeS (~cjones@186.254.249.64)
13:18.57*** join/#asterisk MarKsaitis (~MarKsaiti@94-30-69-205.xdsl.murphx.net)
13:20.56*** join/#asterisk mjordan (~mjordan@nat/digium/x-rofclrlxaqggjpsa)
13:21.09*** join/#asterisk brad_mssw (~brad@shop.monetra.com)
13:23.08brad_msswI'm running 1.8.6.0-rc1 (would run 1.8.5, but digiums ubuntu 10.04 binaries didn't support PRI). Having a voicemail issue where the _calculated_ message duration is _way_ off.  For instance, a 25s message is calculated as 8s. This is causing issues with 'minsecs' in voicemail.conf. Anyone else experiencing this?
13:23.52ollii1.8.5.0 + libpri 1.4.12 is working fine from source
13:23.57olliion ubuntu server 10.04
13:24.42brad_msswthe issue isn't with source, it is as per this thread: http://www.spinics.net/lists/asterisk/msg144090.html
13:25.41brad_msswI did find a similar issue reported to what I'm experiencing https://issues.asterisk.org/jira/browse/ASTERISK-16981
13:27.04brad_msswbut can't confirm this is the same issue ...
13:27.20brad_mssw(since that was so long ago that it was reported)
13:29.11*** join/#asterisk IsUp (d4af3182@gateway/web/freenode/ip.212.175.49.130)
13:43.26*** join/#asterisk tzafrir_laptop (~tzafrir@bzq-218-155-147.cablep.bezeqint.net)
13:48.52*** join/#asterisk dmz (~dmz@64.203.235.49.dyn-cm-pool-34.pool.hargray.net)
13:53.03*** join/#asterisk digiv (~Adium@as1.si.umich.edu)
13:58.07*** join/#asterisk fenlander (~fenlander@82.152.81.57)
14:00.11*** join/#asterisk wesphillips (~wphill04@137-237-233-124.harris.com)
14:00.29*** join/#asterisk engrxyz (~fgdfgfdg@212.23.51.7)
14:01.42*** join/#asterisk KavanS (~KavanS@LINBIT/KavanS)
14:08.03*** join/#asterisk putnopvut (~putnopvut@asterisk/master-of-queues/mmichelson)
14:08.03*** mode/#asterisk [+o putnopvut] by ChanServ
14:11.11*** join/#asterisk adyn (~adyn@pdpc/supporter/active/adyn)
14:13.25*** join/#asterisk lcat (~lcat@187.45.254.56)
14:16.13*** join/#asterisk saxa (~sasa@189.26.255.43)
14:22.03pabelangerbrad_mssw: if you do as the thread suggest, confirming PRI suppor is enabled, I'll rebuild the package today
14:22.26*** join/#asterisk _Corey_ (~chatzilla@64.121.4.75)
14:25.44*** join/#asterisk anonymouz666 (~anonymouz@189.25.100.46)
14:28.33*** join/#asterisk nighty^ (~nighty@TOROON12-1279662182.sdsl.bell.ca)
14:32.51mjordanbrad_mssw: with respect to the VM duration issue, what is your format parameter in voicemail.conf?
14:33.12*** join/#asterisk ruben23 (~RLACUMBA@121.97.111.142)
14:33.44brad_msswmjordan: format = wav49|gsm|wav
14:34.25mjordanthanks, I'll take a look with 1.8 and see if I can find anything
14:34.29Kattyohai
14:34.33brad_msswpabelanger: yes, the 1.8.6.0-rc1 _definitely_ works with PRI, and 1.8.5.0 definitely did NOT work with PRI (I'm not the original reporter, just happened to stumble across that trying to get the PRI to work)
14:34.55*** join/#asterisk The_Boy_Wonder (~vossel@asterisk/batman-developer/dvossel)
14:35.17brad_msswpabelanger: none of the 'pri' functions existed in the 1.8.5 build
14:35.20pabelangerbrad_mssw: thanks, I'll rebuild 1.8.5.0 now
14:40.43*** join/#asterisk irroot (~irroot@197.173.188.137)
14:44.18*** part/#asterisk Pimmetje (~Pimmetje@s5146b5f9.adsl.wanadoo.nl)
14:46.55*** join/#asterisk aidinb (~aidin@unaffiliated/aidinb)
14:48.54*** join/#asterisk Tech_Travis (~Travis_El@cpe-76-168-191-127.socal.res.rr.com)
14:53.18*** part/#asterisk asterisk-Tester (~RAMYT@210.5.215.39)
14:57.54ruben23hi there any suggestion guys i have this error on my asterisk- flooding my asterisk console ------> http://i52.tinypic.com/20128oi.jpg
14:59.48ruben23any idea guys..?
15:00.19irroothey hey
15:00.44irrootjust got linux 3.0.3 + dahdi 2.5.0 + wanpipe 3.5.20 to play nice
15:01.06Tim_Toadyruben23: seems thers a prob with some wav sound file it tries to read
15:01.33Tim_Toadysome voice mail or some sound message
15:03.39ruben23Tim_Toady: ok i will look into it, thanks for the idea.
15:04.11Tim_Toadyit can also be music on hold, thats what usually is in wav format
15:06.22*** join/#asterisk x1user (~x1user@host-212-75-8-69.bbccable.net)
15:06.45*** join/#asterisk FiReSTaRT (~dlyh@unaffiliated/firestart)
15:06.56x1userHi, i have agi debug, core debug and core verbose to maximum, and i got no errors, but i still have no sound??
15:07.36*** join/#asterisk c0rnoTa (~c0rnoTa@78.24.154.190)
15:08.37*** part/#asterisk c0rnoTa (~c0rnoTa@78.24.154.190)
15:09.54*** join/#asterisk Defraz (~Defraz@corp.fuzecore.com)
15:13.02mjordanbrad_mssw: doesn't look like its just a format issue.  Would you mind posting the [general] section of your voicemail.conf as an attachment on ASTERISK-16981?
15:16.38*** join/#asterisk anthm (~anthm@freeswitch/developer/anthm)
15:16.50*** join/#asterisk file (~file@asterisk/developer-and-muffin-lover/file)
15:16.50*** mode/#asterisk [+o file] by ChanServ
15:17.52*** join/#asterisk chazzam (~chazz@173-24-236-90.client.mchsi.com)
15:18.07brad_msswmjordan: I can, but that's overkill since it is mostly default ... this is the exact command used when transforming it: http://pastebin.com/napSWLCt  ... only additional is appending [default] with some voice mail boxes
15:18.19*** join/#asterisk file (~file@asterisk/developer-and-muffin-lover/file)
15:18.19*** mode/#asterisk [+o file] by ChanServ
15:18.20brad_msswmjordan: ok, I changed it to use a different e-mail
15:21.23*** join/#asterisk webguynow (~webguynow@c-24-1-222-204.hsd1.il.comcast.net)
15:26.57brad_msswmjordan: just attached it to the ticket
15:28.32mjordanthanks - just to double check, you're running Ubuntu 10.04.  Is it a 32 or 64 bit system?
15:29.53brad_msswmjordan: 64bit
15:30.02mjordanthanks
15:39.58*** part/#asterisk ollii (~risker@2001:470:1f15:1384:62eb:69ff:fe31:b4)
15:41.57*** join/#asterisk malcolmd (~malcolmd@pdpc/sponsor/digium/malcolmd)
15:41.57*** mode/#asterisk [+o malcolmd] by ChanServ
15:42.35*** join/#asterisk KavanS (~KavanS@LINBIT/KavanS)
15:52.29pabelangerbrad_mssw: rebuild 1.8.5.0 for lucid, it should have PRI support now
15:53.27brad_msswpabelanger: great, thanks ... did it get reversioned, or just replace the existing .deb?
15:56.34pabelangerbrad_mssw: bumped; asterisk-1.8.5.0-1digium2
15:56.58pabelangeryou'll have to drop lucid-proposed from your apt source.list to use it
16:05.33brad_msswpabelanger: yep, thanks.
16:05.45brad_msswI'll try it tonight outside of business hours ;)
16:06.45*** join/#asterisk pigpen (~mark@fw.seamans.cc)
16:07.22*** join/#asterisk salz212 (~chatzilla@182.178.186.66)
16:07.53pigpenwould anyone have an idea why my psql cdr field statement is bing doubled such as:
16:07.54pigpenINSERT INTO cdr ("calldate","clid","src","dst","dcontext","channel","dstchannel","lastapp","lastdata","duration","billsec","disposition","amaflags","accountcode","uniqueid","calldate","clid","src","dst","dcontext","channel","dstchannel","lastapp","lastdata","duration","billsec","disposition","amaflags","accountcode","uniqueid")
16:17.16*** join/#asterisk gravin (~gravin@96.70.50.60.brf01-home.tm.net.my)
16:22.09*** join/#asterisk KavanS (~KavanS@LINBIT/KavanS)
16:33.50*** join/#asterisk angryuser_laptop (~angryuser@90-156-167-83.reverse.alphalink.fr)
16:35.03*** join/#asterisk brdude (~brdude@12.155.183.30)
16:38.18*** join/#asterisk sourcode (~code@ppp-58-8-48-121.revip2.asianet.co.th)
16:45.52*** part/#asterisk fireman_biff (~biff@65.48.133.103)
16:52.40*** join/#asterisk angryuser_laptop (~angryuser@90-156-167-83.reverse.alphalink.fr)
16:56.38*** join/#asterisk chasing`Sol (~cS@smtp.master-zone.net)
17:03.43*** join/#asterisk sereal-work (~sereal@unaffiliated/sereal)
17:04.22sereal-workDoes anyone know if there is a known issue with asterisk 1.4 where you can't register two DIDs from the same fromdomain?
17:04.35sereal-workand same sip proxy
17:05.11*** join/#asterisk sequencer (~something@196.218.255.29)
17:05.13sequencerHi all
17:06.22*** join/#asterisk Ryushin (proxy@cl-412.phx-01.us.sixxs.net)
17:06.29sequencerwhere do i set the timout for recieving a 200 OK response in asterisk ?
17:09.01RyushinJust upgrade to the latest version of asterisk.  Trying to compile asterisk-addons-1.6.2.3 for mp3 support, but I'm getting a compile error in format_mp3.c.
17:09.20RyushinHas 1.6.2.3. compile cleanly for anyone else?
17:09.58citywokRyushin: yes, it has
17:11.06RyushinThen I guess something is hosed on my end.  This should be fun.  :(
17:11.54sequencerdoes anyone know where to set the timeout for recieving a 200 OK  for SIP ?
17:17.58Ryushincitywok:  Whate version of asterisk are you running?  I'm trying to compile with with 1.8.5
17:18.21QwellRyushin: pastebin the errors
17:18.21citywokyou said 1.6.2.3...
17:18.27Qwellwait, wat
17:18.31citywokbut i'm using 1.6.2.3 & 1.6.2.20 in production
17:18.36QwellWhy are you installing addons with 1.8?
17:18.40citywokif you are trying to use 1.8.5 you don't need addons at all
17:18.54RyushinThat how do I add mp3 support?
17:19.03citywoknothce the 1.6?
17:19.06RyushinIs it included native to 1.8?
17:19.06*** part/#asterisk sequencer (~something@196.218.255.29)
17:19.08citywoks/nothce/notice/
17:19.18RyushinYes.
17:19.24citywokyea. b/c they go together
17:19.24RyushinBut there was no other newer addons.
17:19.33citywokb/c addons are built in in 1.8
17:19.39RyushinOkay, I'll look in the menu options then in 1.8 for mp3.
17:19.50RyushinThanks for pointing me in the right direction.
17:26.16*** join/#asterisk fenlander (~fenlander@82.152.81.57)
17:41.10*** join/#asterisk dijib (~nobodysho@bas10-kitchener06-1279411300.dsl.bell.ca)
17:47.37*** join/#asterisk asilva (~andre@2801:88:1000:2::12)
17:48.31*** join/#asterisk tzafrir_laptop (~tzafrir@bzq-218-155-145.cablep.bezeqint.net)
17:53.35anonymouz666in JIRA, where I can attack the debug info ?
17:53.39anonymouz666attach
17:53.40anonymouz666sorry
17:53.42anonymouz666hehe
17:53.51asilvaDoes anyone know if DCAP is over asterisk 1.8?
17:57.44psilikonAnyone ever stumble across an AMI proxy that is well documented?
17:58.02CJ0NeSwhere can i get some hardware embbeded to use with asterisk?
17:58.10CJ0NeSany suggestion?
17:58.23KavanSCJ0NeS, I believe digium.com has some hardware on their website, and they are the authors of asterisk :)
17:59.04*** part/#asterisk sereal-work (~sereal@unaffiliated/sereal)
17:59.09CJ0NeSyes... i saw digium products... but i want some more options...
18:00.21kaldemarCJ0NeS: what exactly are you looking for? interface cards? a pbx box?
18:00.40CJ0NeSkaldemar, asterisk server embbeded
18:01.15kaldemarelaborate please
18:02.25*** join/#asterisk hobodave (~hobodave@pdpc/supporter/professional/hobodave)
18:03.02serafieanonymouz666: More Actions -> Attach Files
18:03.35CJ0NeSi'm looking to asterisk server with hardware embbeded... like Linksys NSLU2
18:04.25CJ0NeSor something like that...
18:06.59*** join/#asterisk xnfinite (~xnfinite@164.145.223.87.dynamic.jazztel.es)
18:13.20*** join/#asterisk d3wayne (~dwayne@c-71-207-214-190.hsd1.al.comcast.net)
18:15.13anonymouz666serafie: already did thanks.
18:30.13*** join/#asterisk treborsux (~treborsux@75-144-117-117-Jacksonville.hfc.comcastbusiness.net)
18:30.33treborsuxwhy would a poe switch power a 560 but not a 501 polycom?
18:31.17treborsuxhttp://www.ebay.com/itm/Linksys-Cisco-SRW208P-8-Port-Gigabit-Switch-PoE-/220770464400?pt=COMP_EN_Hubs&hash=item3366f1f290
18:32.32Qwellbecause 501s were PoE?
18:33.00Qwellweren't*
18:33.54carrarheh
18:34.04treborsuxwhat??
18:34.39treborsuxthat would be tough since there is not place to plug in power
18:34.50Qwellthey require a special cable
18:36.12*** join/#asterisk nny (~SM@cpe-174-107-223-014.sc.res.rr.com)
18:36.44*** join/#asterisk xnfinite (~xnfinite@164.145.223.87.dynamic.jazztel.es)
18:37.17Qwellhttp://www.voiplink.com/Polycom_PoE_Cable_for_501_and_301_IP_Phones_p/polycom-poe-cable.htm
18:37.51treborsuxwhat the hell
18:37.59treborsuxi screwed up i thought these were poe
18:38.07treborsuxi got bad advice
18:38.07nnyfor ODBC Set: Set(dispositionstatus=${ODBC_CALLRESULTINSERT(${LeadID},${CAMPAIGNID},${ARG1},${DMEET})}) , wouldn't the four variables just be VAL1 in func_odbc.conf?
18:38.09treborsuxpooo
18:38.12QwellYou screwed up, you thought they were made in the last 5 years.
18:38.19QwellThere are much better, cheaper, replacements.
18:38.33Qwell(which, surprise surprise, are PoE)
18:38.43treborsuxwith the cord I can get those
18:38.51treborsuxdamnit now i have to send these back
18:39.20atheosadd that there are two PoE "standards".  early Cisco PoE products were reverse polarity
18:40.57treborsuxso these always had to be pluged into the wall
18:41.05treborsuxdamn vendor told me they were poe
18:41.20nnyQwell sorry to bother can you sanity check Set(dispositionstatus=${ODBC_CALLRESULTINSERT(${LeadID},${CAMPAIGNID},${ARG1},${DMEET})}) ? I assume the entire end string of variables is just VAL1 ?
18:41.53treborsuxWhat is poe and as cheap
18:41.53nnyor should I make each variable Set as VAL1 VAL2 etc?
18:42.55treborsuxis there an injector? Can I make one?
18:44.20atheostreborsux sure, 48V - positive to pin 1+2, neg to 3+6
18:45.26jaytee~itsplist-us
18:45.26infobotHere are some popular ITSPs (USA) starting with the more respected ones: http://www.teliax.com , http://www.voicepulse.com/connect/ , http://www.broadvoice.com , http://www.jnctn.com , http://www.bandwidth.com , http://vitelity.net , http://voip.ms and http://flowroute.com
18:45.29treborsuxi have 6 of the cords
18:45.38treborsuxi just pluged one in
18:45.48treborsuxand it works powered with the switch
18:46.21treborsuxquestion is the cord have an integrated circut or just direction
18:46.38treborsuxanyone made a cord so poe switch will power 501?
18:47.04treborsuxI bought these cords for use where i dont have poe because they come with power transformers
18:47.46treborsuxwhat is the adapter doing to allow it to work with the poe switch?
18:49.39atheos<PROTECTED>
18:49.45atheos<PROTECTED>
18:50.40treborsuxon the 301 can i make a cable that allows the poe switch to work like this cable does
18:51.09treborsuxi know i can make one with a transformer
18:51.35treborsuxbut can i make one that works like the real one and allows 802.3af to work like it is now
18:52.09*** join/#asterisk KNERD (~KNERD@99.72.119.220)
18:53.35treborsuxhttp://www.8774e4voip.com/PhotoGallery.asp?ProductCode=Polycom+PoE+Cable+-+301%2F501
18:53.39treborsuxi want to make this
18:54.45atheostreborsux - all that does, is inject power to two of your twisted pairs.  You can build this, easy.
18:55.16treborsuxkewl
18:55.25KNERDWhy does the gtalk plug in keep screwing up? It's yet AGAIN back to fail
18:55.26treborsuxill take it apart than
18:55.36atheosmight have been a hazard, but I used a single Cisco power supply to power 10 phones where I used to work. I just used a punchdown block to distribute the power
18:56.06atheosno need to take it apart treboursux - 48V - positive to pin 1+2, neg to 3+6
18:56.37atheosbut, use a meter to verify your cable
18:56.47*** join/#asterisk d_preston215 (~chatzilla@static-76-161-250-54.t1.cavtel.net)
18:56.50d_preston215What is everyone's feeling on trixbox at this point?
18:57.45*** join/#asterisk sunfone (~jeff@c-67-184-36-158.hsd1.il.comcast.net)
18:58.39KNERDask in the tribox channel
18:58.45pabelangerd_preston215: I heard their community was pretty much dead
18:58.53pabelangernot sure though, never use it
18:59.11d_preston215I wanted to ask the general asterisk community as a whole.
18:59.39Guggemy fealing is that i dont like a webinterface limiting my options :)
19:00.20*** join/#asterisk nmjnb (~nmjnb@c-567e72d5.026-18-73746f23.cust.bredbandsbolaget.se)
19:01.49d_preston215I'm just researching options for moving away from TB (2.8 being the broken ring-strategy mess that it is).
19:02.10*** join/#asterisk g_r_eek (~g_r_eek@173-9-142-122-Miami.FL.hfc.comcastbusiness.net)
19:02.33d_preston215I was all of about to call TB dead as well, but apparantly they want to start up some kind of development again:
19:02.35d_preston215http://www.fonality.com/trixbox/forums/community-edition/open-discussion/trixbox-community
19:03.03treborsuxif that is all i had to do the 501 would already work
19:03.50treborsuxthe 501 cant be just stick it in those lines or it would work right now
19:04.22treborsuxblue and brown are 12v
19:04.23atheostreborsux - there aren't too many variables when it comes to PoE.  You've got polarity, or you have wattage requirements.
19:04.37treborsuxright but 501 is not poe
19:04.57treborsuxwhen you use the cable it changes 48 to 12
19:06.01treborsuxI can use a transformer on the brown and blue at 12 v but i cant use the poe switch i have with them
19:06.12treborsuxthe adapter steps down the power
19:06.37*** join/#asterisk navaismo (~navaismo@189.249.55.244)
19:07.07treborsuxthese 501s are useless to me poop
19:07.22atheostreborsux - I guess I'm unclear on your objective, if you're phone is not PoE.
19:07.24nmjnbanyone have any idea why I can't connect to my asterisknow 1.7.1 server? I installed it on a virtual host, assigned an unused public IP but can't access it anyway
19:08.03nmjnbany system service needed to connect through a browser?
19:08.38atheostreborsux - either way, you have two unused pair of cable in ethernet.  If you inject 12V in your ethernet run, you can certainly power the phone if you wire it appropriately.
19:08.42treborsuxfreakind cable costs more than the phones
19:08.49atheoshaha, yup.
19:08.50nmjnbI can ping the server, and it can ping my local computer back
19:09.50navaismo@nmjnb mayb the iptables is blocking you
19:09.54nmjnbtreborsux: there are units to connect between the switch and phone to get PoE if that's of any interest.
19:10.19*** join/#asterisk Defraz (~Defraz@corp.fuzecore.com)
19:10.30nmjnbnavaismo: I thought iptables was blank in a fresh install
19:10.50treborsuxyes i have 6 of them
19:10.57treborsuxbut 30 phones
19:11.20nmjnbtreborsux: lol.. get yourself some PoE switches then.. :P
19:11.32treborsuxi have poe switches!!!
19:11.34nmjnbnavaismo: iptables is blank, as I guessed
19:11.47navaismoiptables -L what shows?
19:11.52navaismook
19:12.02treborsuxThe problem is that i have only 6 of these cable because they are also the cable needed to use them with wall jack not poe
19:12.22treborsuxu have to use the cable if you want to poe though 2
19:12.24navaismowith telnet you can connect to 80 port?
19:12.24Nuggettelnet is eeeeeeevil!
19:12.27treborsuxand i did not know whtis
19:13.16treborsuxso this jack ass on ebay sold me 30 ip501 and cords just for the ones i need to plug in the wall  and said that was fine.  But i should of done my research so i am the jack ass
19:13.24p3nguinYou need a special Ethernet cable to run PoE?
19:13.28treborsuxyes
19:13.36jayteeiptables is not typically "blank" in a fresh install...at least on CentOS. It's set to block any incoming traffic and allow any established/related connections initiated from the inside network and masquerade. you have to allow traffic inbound for any ports you need 2 way traffic for.
19:13.38treborsuxbecause the phone is 12v not 48
19:13.38KavanSI don't think you do
19:13.46KavanSoh...
19:13.50atheosp3nguin they aren't not spec PoE. 12v bastard implementation of PoE
19:13.51treborsuxthe cable steps it down
19:13.56treborsuxi just opened one
19:14.05treborsuxand it only works poe with the cable
19:14.18nmjnbjaytee: it's an install of Asterisknow, and the iptables are empty
19:14.25navaismonmjnb try with service iptables stop and try again
19:14.39*** join/#asterisk linusXtorvalds (~e_dot_zil@pool-98-118-168-221.bflony.fios.verizon.net)
19:15.03linusXtorvaldshello all
19:15.29navaismohi
19:15.38*** join/#asterisk tzafrir_laptop (~tzafrir@bzq-218-155-147.cablep.bezeqint.net)
19:17.32nmjnbnavaismo: still can't connect
19:17.47nmjnbshould I connect to some port or just http?
19:18.02*** join/#asterisk linusXtorvalds (~e_dot_zil@pool-98-118-168-221.bflony.fios.verizon.net)
19:18.13linusXtorvaldswuz up
19:18.19navaismoas i know only http
19:18.33navaismothe apache is running?
19:18.38nmjnbthe guides I saw didn't mention any ports
19:18.55nmjnbI would guess, since it should all be automatic in the asterisknow, but I can check
19:19.32*** join/#asterisk fenlander (~fenlander@82.152.81.57)
19:19.51KNERDWhy does the gtalk plug in keep screwing up? It's yet AGAIN back to fail
19:20.31GuggeKNERD: because google changes things, and they dont support the plugin
19:20.59KNERDfree switch has not have these problems at all
19:21.09atheosKNERD  - I haven't seen it stable for more than a day on incoming. outgoing is solid, find a DID to forward incoming calls to.
19:21.49KNERDi am starting to see why people are flooding to freeswitch
19:22.18KNERDoutgoing is screwed..outgoing does not function
19:22.19Guggecompetition is nice
19:22.34KNERDi mean incoming is fine
19:22.35*** join/#asterisk hobodave (~hobodave@pdpc/supporter/professional/hobodave)
19:23.05KNERDthey just patched it 2 days ago
19:23.07atheosKNERD - strange, my outing calls are flawless.  incoming is all I've had a problem with.
19:23.25nmjnbnavaismo: it seems httpd isn't running, or I'm not seeing it.
19:23.57KNERDhttps://issues.asterisk.org/jira/browse/ASTERISK-18301
19:25.26*** join/#asterisk Chainsaw (~chainsaw@gentoo/developer/atheme.member.chainsaw)
19:25.56nmjnbnavaismo: problem solved, I checked netstat -a to get a hint of what it was listening to, and found some radan-http, googled it and apparantly it's port 8088 to connect to the server..
19:26.40navaismook
19:28.00linusXtorvaldsdoes asterisk like rtpmap: 101 or something else?
19:31.00*** join/#asterisk angryuser_laptop (~angryuser@90-156-167-83.reverse.alphalink.fr)
19:34.40sunfoneI would like to commission a company to build a custom phone... anyone have that experience?  Any known manufacturers that white-label or otherwise allow for custom (presumably high volume order) engineering?
19:35.02*** join/#asterisk jkroon (~jkroon@197.168.172.250)
19:37.42treborsuxnow i am trying to figure out why they sold me these phones without inline cord because they cant be used in anyway without them
19:43.20*** join/#asterisk treborsux (~treborsux@75-144-117-117-Jacksonville.hfc.comcastbusiness.net)
19:44.23linusXtorvalds*bored*
19:44.31sunfonemeh
19:46.26carrardrink!
19:46.34linusXtorvalds*at work*
19:46.46carrareven more reason too
19:46.58carrarvodka
19:47.42carrarsides, if you can use peer pressure get your coworkers to drink, now you're talking some fun
19:48.08carrarpeer pressure, peer pressure, come on
19:48.11carrareveryone is doing it
19:48.42carrarstreaking through the hallway around cubicals at noon
19:48.48carrarIt'
19:48.54carrarIt's what it's all about!
19:50.09*** join/#asterisk kerx (~kerx@76-240-161-60.lightspeed.irvnca.sbcglobal.net)
19:51.30*** join/#asterisk mintee (~mintee@2001:470:7:a41::2)
19:51.39*** join/#asterisk evil_gordita (robert@ip70-188-50-186.rn.hr.cox.net)
19:51.43linusXtorvaldssomeone ban carrar
19:52.07minteeso it there an easier way to combine the in and out files from a Monitor() than using a secondary script?
19:52.39dijibdoes anybody in here have any experience with PBX in a flash? or freepbx?
19:52.47carrarheh
19:53.18navaismo@mintee Mixmonitor
19:53.20sunfonedijib: /join #freepbx
19:53.28dijibk
19:55.21minteeMixmonitor(filename.extn)
19:55.25minteethat's it?
19:55.46minteedoes it create a wav?
19:56.06navaismoyes
19:56.31treborsuxwhat is a model higher than 501 but not 550 that has poe
19:56.48navaismohttps://wiki.asterisk.org/wiki/display/AST/Application_MixMonitor
19:58.06sunfonetreborsux: how many lines?  I went to the 450 after the 501.
19:58.14sunfoneIt has "normal" POE
19:59.09treborsuxI need a lot of 21 501 power cords
19:59.51p3nguinmintee: It'll create whatever supported format you tell it to use.  wav, WAV, gsm, etc.
19:59.56*** join/#asterisk chrisjunkie (~Chris@2001:4428:22d:2:208:2ff:fe7e:6312)
20:01.18minteep3nguin: great!  works good
20:01.20*** join/#asterisk dwmw2_gone__ (~ctrlproxy@twosheds.infradead.org)
20:01.21minteethanks y'all
20:03.56*** join/#asterisk rdahlin_1_ (~rdahlin_1@78-73-19-238-no168.tbcn.telia.com)
20:04.40*** join/#asterisk leed (~quassel@75-150-13-105-Atlanta.hfc.comcastbusiness.net)
20:10.29*** join/#asterisk hobodave (~hobodave@pdpc/supporter/professional/hobodave)
20:15.07*** join/#asterisk linuxgecko (~gecko@99-182-113-98.lightspeed.clmboh.sbcglobal.net)
20:20.08*** join/#asterisk sequencer (~something@196.218.255.29)
20:20.11sequencerHi all
20:20.33sequencerWhere do i set the callerID settings per each extension ? :s
20:20.43p3nguinobviously in the extension.
20:20.48sequencerright..
20:20.55p3nguinExtensions are in extensions.conf.
20:20.57sequencerjust cant figure the correct line to do it :s
20:21.03WIMPyExtensions have CallerIDs?
20:21.07nnyis there a way to dynamically create a meetme room by specifying the room number?
20:21.11navaismoin the sip.conf for devices
20:21.20p3nguinEvery extension that you want to set the caller ID, you have to set the caller ID.
20:21.21nnythought d but it created a room number different than what i told it to
20:21.39sequencerp3nguin right, whats the structure for that ? :s
20:21.46sequencercallerid = DID ?
20:21.57p3nguinSet(CALLERID(num)=3215551212)
20:22.24sequenceris that in the dialplan itself, or where i set the extensions ? :s
20:23.01p3nguinextensions are the dial plan.
20:23.11sequencerhmm..
20:23.18navaismoif you want to set the CID for SIP devices is in sip.conf
20:23.19p3nguinYou're not making a lot of sense right now.
20:23.29p3nguinHe asked to set caller id per extension.
20:23.45p3nguinThat's done in extensions.conf where the extensions are.
20:23.57sequencercan i do this in my outgoing settings:
20:24.10Kobazyou know what he's talking about... in sip.conf you can set the callerid
20:24.12sequencerSet(CALLERID(num)=321555${EXTEN}) ?
20:24.24p3nguinYou could, but don't.
20:25.13p3nguinSince you won't be dialing 4-digit phone numbers, and you don't want to set the caller id to the number you're calling, don't.
20:25.52nnyodd exten => _551XX,1,Meetme(${EXTEN},sdqcaA)
20:26.00nny<PROTECTED>
20:26.01nnywtf?
20:26.13nnywhy wouldn't it create room 55101?
20:26.20p3nguinWill every call going out need to have the same CID number?
20:26.29Kobaznny it's just an internal identifier
20:26.45nnyKobaz: oh so the meetme room number is still 55101?
20:26.52Kobazyes
20:26.54*** join/#asterisk ipc9 (~any@173-162-245-206-NewEngland.hfc.comcastbusiness.net)
20:27.05nnyoh.. heh. that's not confusing in the least o_0
20:27.13Kobazit's because you're using the dynamic create option
20:27.24Kobazyeah that message should be changed, the user doesn't need to know the internal id
20:30.32sequencerp3nguin how can i set it to my own extension ?
20:30.49p3nguinAre you calling out to the PSTN?
20:31.01sequencerfor instrance, if am on ext 1234 i want my caller id to be 333-333-1234
20:31.10sequenceram calling outside to a SIP provider
20:31.28sequencerthat allows the caller id to be changed
20:31.42p3nguinYou could use the callerid parameter in the sip peer entry.
20:31.49sequencerexacthly
20:31.54sequencerthats what am referring to
20:32.06*** join/#asterisk azv4 (~azv4@host-66-202-7-218.pit.choiceone.net)
20:32.10sequenceri just dont know whats the callerid line should be
20:32.15p3nguincallerid=Null <3333331234>
20:32.21sequenceralrighty!
20:32.26sequencerlets try that :)
20:32.48p3nguinOr you can set it in the EXTENSION like you originally asked.
20:33.10p3nguinBoth ways will yield caller id of your choice.
20:33.18navaismo"I knew it!"
20:34.18sequencergreat
20:34.18sequencerhow do i restart when convenient ?
20:34.21p3nguincore restart when convenient
20:34.27sequencercore !
20:34.30sequencerthats what i missed
20:34.32sequencerthanks man!
20:34.45p3nguinI'm surprised it isn't aliased so you can leave off the core part.
20:34.53p3nguinrestart when convenient should have done the same thing.
20:35.44*** join/#asterisk hobodave (~hobodave@pdpc/supporter/professional/hobodave)
20:37.33*** join/#asterisk jaytee (~jforde051@unaffiliated/jaytee)
20:38.56sequenceri think so
20:39.20sequencerthe call is using the sip trunk's default CId
20:39.30sequencerand ignoring my own extension
20:39.40p3nguinIt's not an extension.
20:39.44sequencerlet me try to remove the trunk's caller id.. :s
20:39.44p3nguinIt's caller id.
20:39.57sequencerand ignoring my own extension's caller id *
20:40.03p3nguinstill wrong.
20:40.10p3nguinIt's your own PHONE's caller id.
20:40.20sequencerhmm..
20:40.26p3nguinPhones are not extensions.
20:40.30sequencera phone is a device
20:40.31p3nguinExtensions are not devices.
20:41.18sequenceryep so basically no matter what the device is, as long the extension is set it should display the extension's caller id ? ;)
20:41.33p3nguinno
20:41.35*** join/#asterisk TimeRider (~steve@188-220-33-123.zone11.bethere.co.uk)
20:41.37p3nguinYou're not making sense again.
20:41.42sequenceror am tottaly missing terminology again
20:41.55p3nguinExtensions are the dialing rules found in extensions.conf.
20:42.06p3nguinThey start with "exten =>" or "same =>"
20:42.09sequencerok.
20:42.15p3nguinThat is all.
20:42.25sequencerso its a word terminology confusion
20:42.26sequencer;)
20:42.39p3nguinPhones are phones or devices or peers.
20:43.36p3nguinTo set caller ID in an extension, you'll use Set(CALLERID(num)=somenumber) in an extension.  Extensions are in extensions.conf.
20:44.11p3nguinDo it before the Dial().
20:44.31p3nguinYou can set it to whatever you want.  Your ITSP may or may not accept it and pass it along.
20:45.17p3nguinThe caller ID you set before the Dial() in an extension has shit-all to do with your phones.
20:46.32p3nguinIf the extension used to Dial() your phone happens to be a 10-digit number that can be dialed from the PSTN, you can use your extension number as caller ID.
20:47.12p3nguinThat's how I would do it if I had a DID for every phone on my system.
20:51.52sequencerbut the thing is, i have a 4-digit extensions
20:52.06p3nguinBut 4-digit phone numbers cannot be dialed from the PSTN.
20:52.21sequencerright
20:52.37p3nguinSo you'll have to have 10-digit numbers, with the last four matching the extension used to dial your phone.
20:52.41sequencer4 digit numbers goes to local phones
20:52.49sequencerexactly
20:52.51p3nguinThis is very basic stuff.
20:52.54p3nguinAsterisk 101.
20:53.10sequencernow if i dont want to set a caller id explicitly for each extension
20:53.18sequencerwhat woul be the logical solution?
20:53.24p3nguinSet it for each phone, then.
20:53.26sequenceri have 300 DID
20:53.39sequenceri cant through 300 lines for them
20:53.49p3nguinYou'll either set it per extension or per phone.  You don't have much other choice.
20:54.15p3nguinIt doesn't make sense to have 300 extensions just for each phone to set its own caller id.
20:54.18sequencercant i set it where i put the common numbers in the callerId and then add the 4-digit numbers?
20:54.24p3nguinSo that's out.
20:54.36p3nguinSure, you can do that.
20:54.44sequencergreat..
20:54.49sequencerhow and where?
20:54.54p3nguinextensions.conf
20:55.07sequencerif i used Set(CALLERID(num)=somenumber)
20:55.12p3nguinwhat are hte first 6 digits?
20:55.24sequencerit would be Set(CALLERID(num)=333333)
20:55.39p3nguinexten => _1NXXNXXXXXX,1,Set(CALLERID(num)=333333${CALLERID(num)})
20:55.40sequencerthen how do i append another 4 digitd?
20:55.45sequenceralrighty
20:55.53p3nguinSet the callerid value PER PHONE to the 4-digit extension number.
20:55.53sequencerthis makes much sense
20:56.25nnyis there an extension for failed? like n?
20:56.33p3nguinn isn't an extension.
20:56.37nnyer h
20:56.38nnysorry ha
20:56.46p3nguinh is hangup, i is invalid
20:56.55nny[Aug 22 15:53:13] NOTICE[26299]: pbx_spool.c:352 attempt_thread: Queued call to SIP/backup2/14132561400 expired without completion after 0 attempts
20:57.01nnywhere would that fall into ?
20:57.24p3nguinLike if you are using WaitExten() or BackGround() and someone presses a number which you do not have an extension for, it will fall onto i.
20:57.44*** join/#asterisk angryuser_laptop (~angryuser@90-156-167-83.reverse.alphalink.fr)
20:57.57p3nguinThat's probably not what you need for your queue situation.
20:58.03jayteepeople often overlook the t extension
20:58.12p3nguint for timeout
20:58.24p3nguinT for a different kind of timeout
20:58.36jayteeyep, and handy if you use WaitExten()
20:58.42nnywhat does http://pastebin.com/aRnUYX9E fall into?
21:00.48navaismoexten => failed,1,....
21:01.00nnynavaismo: will try thanks
21:01.38sequencerp3nguin i guess this thing worked
21:01.46sequencernow how can i add the name to the caller ?
21:01.52p3nguinYou can't.
21:02.08*** join/#asterisk KavanS (~KavanS@LINBIT/KavanS)
21:02.08p3nguinCNAM lookup is performed on the receiving end.
21:02.25sequenceri used to have it on my other asterisk
21:02.35p3nguinYou can send it, but it won't matter.
21:02.42p3nguinWhy, you ask?
21:02.42sequenceri need to send it
21:02.47p3nguinCNAM lookup is performed on the receiving end.
21:03.07sequencerif it's sent then SIP provider will forward it
21:03.15p3nguinTHEY CAN'T
21:03.17p3nguinCNAM lookup is performed on the receiving end.
21:03.25p3nguinDo you speak English?
21:03.33p3nguinIf you want to send it anyway, use:  CALLERID(all)=Your Name <yournumber>
21:03.43sequencerhmm..
21:03.45p3nguinCNAM is not something that is sent.
21:03.48Kobazyou can send it but it won't do anything
21:03.51p3nguinIt is looked up by the recipient.
21:04.00p3nguinThat's what I already said multiple times.
21:04.01Kobazon the pstn anyway
21:04.16Kobazif it's completely on your own system, you can pass the name
21:04.31WIMPyon some PSTN maybe.
21:04.35sequenceri think it already does between the phones
21:04.47sequencermy SIP provider allows me to do anything
21:04.57p3nguinBetween the phones, locally, you can set it in the callerid parameter in sip.conf
21:04.58sequencersetting up my own CID and CNAM
21:05.10p3nguinSure you can send it, but like you've already been told, it won't matter.
21:05.18Kobazsequencer: try it... you won't get the name on the other end
21:05.30sequencerill try it, no harm done :)
21:05.40p3nguin(1603.17) <p3nguin> CNAM lookup is performed on the receiving end.
21:05.42p3nguin(1603.33) <p3nguin> If you want to send it anyway, use:  CALLERID(all)=Your Name <yournumber>
21:06.06p3nguinOr set it in the callerid setting like I told you earlier.
21:06.22sequenceri can use a variable as well, right ?
21:06.26p3nguincallerid=Your Name <yournumber>
21:06.28p3nguinIf you wanted.
21:06.37sequencerlike exten => _1NXXNXXXXXX,1,Set(CALLERID(num)=${name} 333333${CALLERID(num)})
21:06.45p3nguinnope
21:06.59p3nguinYou can't put name in CALLERID(num). num means NUMBER.
21:07.10sequenceroh
21:07.11p3nguinYou can use CALLERID(name) or CALLERID(all)
21:07.17sequencerlike exten => _1NXXNXXXXXX,1,Set(CALLERID(all)=${name} 333333${CALLERID(num)})
21:07.44sequencerso it would be..
21:07.48sequencerlike exten => _1NXXNXXXXXX,1,Set(CALLERID(all)=${fullname} 333333${CALLERID(num)})
21:07.54p3nguinIf ${name} expandes correctly that should work.  But even if you send it out, it will never make it to the receiving end of the call over the PSTN.
21:08.10sequencer${fullname} is defined in the peer
21:08.19sequencerwith the person name
21:08.26p3nguinBut you have to use the format like I showed you.
21:08.29p3nguinCALLERID(all)=Your Name <yournumber>
21:08.32Kobazyou're wasting your time
21:08.33p3nguinNotice the <>
21:10.10sequencerlike exten => _1NXXNXXXXXX,1,Set(CALLERID(all)=${fullname} <333333${CALLERID(num)}>)
21:10.14sequencerwould this be right?
21:10.31p3nguinLooks okay to me.
21:10.35sequenceralrighty..
21:10.40sequencerwaiting for convenience..
21:11.26*** join/#asterisk rsmiley (~rsmiley@vpn.fortrust.biz)
21:11.34rsmileyHello.
21:11.37p3nguinIf you were going to bother with a setvar in each phone's sip entry, you could have just defined the entire CALLERID(all) there.
21:12.04p3nguinsetvar=CIDout=Your Name <yournumber>
21:12.20p3nguinexten => _1NXXNXXXXXX,1,Set(CALLERID(all)=${CIDout})
21:13.48Kattyhi
21:14.03Kattytoday i learned you can bake mason jars.
21:14.07Kattyand then won't asplode.
21:14.18Kattywhich is FABULIOUS if you need to ship cake.
21:14.21ChannelZWith the lids?
21:14.26Kattyno, no lids
21:14.28Kattylids after the baking
21:14.34ChannelZwas gonna say...
21:14.36Kattythey also recommend not shipping, frosted.
21:14.40Kattyjust plain ole cake
21:14.51p3nguinFrosted cakes get soggy.
21:14.53Kattyyes.
21:14.58p3nguinand eww
21:15.08Kattyexpanding on ideas....
21:15.16Kattyyou can use them as tupperware
21:15.20ChannelZNow you need one of those vacuum sealers
21:15.23Kattycause you can nukerwave them, and they won't stain
21:15.31Kattywhich is great for porton control
21:15.31ChannelZYou could make your own little packets of frosting that could be cut open and squeezed on
21:15.37KattyYES
21:15.39sequencernice topic
21:15.40Kattythat'd be hottt
21:15.46sequencerany idead fo cupcakes ? :S
21:15.47sequencer:D
21:15.49rsmileyI have a question.  Lets say that I want to set up my sip.cfg.  Does it require all the dialplans?
21:15.53Kattyhttp://www.seriouseats.com/recipes/images/10.11.10cscakejartop.jpg <- cake in a jar
21:16.01Kattysequencer: cupcakes are ...cakes
21:16.06Chainsawrsmiley: Your dialplan goes in extension.conf, not sip.conf
21:16.07Kattysequencer: they're just little cakes, with frosting
21:16.11sequencerno no
21:16.12Kattysequencer: muffins are cakes, without frosting
21:16.12ChannelZnice
21:16.15sequencerthey arent just cakes
21:16.21Kattyeverything is just cake
21:16.23sequencertheyre my favs ;)
21:16.28QwellKatty: I am not cake.
21:16.38KattyQwell: you re what you eat.
21:16.40p3nguinI think rsmiley might be talking about digit map and sip.cfg for some phone.
21:16.41KattyQwell: you are cake.
21:16.52rsmileyI am confused...
21:16.58Kattyblueberry muffin, in a jar.
21:17.18Kattyohoh, and i saw meatloaf in muffin tins
21:17.22Kattywith 'mashed potato' frosting on top
21:17.25nnynavaismo: hmm failed just killed it without calling the extension
21:17.28Kattyit was /adorable/
21:17.52p3nguinI haven't heard of the "failed" extension before.  Sounds completely made up.
21:17.56Kattypoor design for baking meatloaf. you should have all the edges exposed for proper crisping
21:18.00nnyp3nguin: ha -_-...
21:18.01Kattyand for grease run off
21:18.04rsmileyI have about 40 sip cisco 7960's, and I want to make it easy.  To set up their tftp stuff what do I need to do?
21:18.16nnyp3nguin: so is there ANY way to trap and perform something if http://pastebin.com/xfZaFiWp happens??
21:18.19p3nguinrsmiley: install tftpd
21:18.23rsmileycheck
21:18.40rsmileyand dns, and the phone network is on its own vlan.
21:18.41p3nguinrsmiley: Get SIPDefault.cfg and a sample for SIP<MAC>.cfg
21:18.57rsmileyalso check.
21:20.08p3nguinrsmiley: Use your dhcpd to send the IP address (or host name) of the tftp server to the phone when they boot up.  If it's the same as the dhcpd, you can skip that part.
21:20.18sequenceranyways.. Katty
21:20.24sequencerhow woul we do it ? ;)
21:20.27sequencerwould*\
21:20.33Kattydo what
21:20.43sequencerjust put em in the oven ?
21:20.46Kattyyep
21:20.48Kattyit's glass
21:20.53Kattylike a casserole dish or a lasagna pan
21:20.57Kattyit's just shaped different
21:21.04sequencerhmm..
21:21.04rsmileyyeah, that I did in dhcp.conf and that all works.
21:21.17Kattyobviously adjust baking times
21:21.21sequencersounds interesting
21:21.22Kattythe smaller the pan, the quicker it cooks
21:21.30p3nguinkatty: IGA sells breads in Mason jars.
21:21.30sequencerabsoloutly
21:21.31p3nguinsweet breads
21:21.46Kattyoh yes, and since you can buy them in different sizes, it's a great portion control thing
21:21.48p3nguinrsmiley: And the problem was... what?
21:21.48nnyanyone know how to perform actions after a call fails?
21:21.56Katty16 oz for soups, 8oz for main dishes
21:21.57p3nguindialplan!
21:21.59nnyor do I need to make a workaround?
21:22.05Kattywho am i kidding, 16 oz for everything including dessert! nomnom
21:22.10p3nguinheh
21:22.17p3nguin32 oz!
21:22.21KattyYES
21:22.23rsmileyI was under the impresson that I needed to do some special magic with the sip.cfg...
21:22.30nnyp3nguin: failed: used if an auto-dial out call fails (that had context, priority and extension specified)
21:22.34p3nguinrsmiley: There's no sip.cfg
21:22.40nnyp3nguin: from: http://www.voip-info.org/wiki/view/Asterisk+standard+extensions
21:23.13p3nguinnny: Cool, so it's not made up.
21:23.38Kattythose clear mason jars would be adorable for halloween too
21:23.53Kattyi'm making 'worm pie' which is actually just no bake cheese cake on top of crushed oreos (dirt) and gummie worms
21:23.55nnyp3nguin: yeah, just doesn't seem to be working.. urgh
21:24.09p3nguinrsmiley: And if I said SIPDefault.cfg, I meant SIPDefault.cnf.  Your cfg stuff confused me.
21:24.41p3nguin'Cause there is no cfg for 7940/7960 with SIP.
21:25.04rsmileyso all I have to have is the genaric conf for the phones and point it at its sip<mac>.cnf with its numberid and secret?
21:25.31p3nguinThe phone will automatically look for SIP<MAC>.cnf on the tftpd.
21:25.47p3nguinIt will look for SIPDefault.cnf and then SIP<MAC>.cnf
21:27.02rsmileythe tutorial that I read adds a file for the displayname and address for the lines.  is that correct?
21:27.12p3nguinSIPDefault.cnf will contain all the settings common to all phones.  SIP<MAC>.cnf will have the settings that are for each individual phone.
21:27.30navaismo@nny we use failed or you can use hangupcause or reason variable within gotoif
21:27.43p3nguinrsmiley: Let me find some examples for you.
21:28.00rsmileythanks, im a little lost.
21:28.58nnynavaismo: yeah it should* work, but after the failure it just exits and ignores my exten => failed,1, etc lines
21:30.10navaismowhat asterisk version?
21:30.22p3nguinrsmiley: I can't find one online quickly, so I'll post mine.
21:30.53nnynavaismo: 1.8.3.2
21:32.32navaismoits a normal call or call file?
21:32.40navaismoIm using 1.6.2.20
21:33.15p3nguinrsmiley: http://pastebin.com/JgVEaf2t
21:33.47nnynavaismo: call file
21:33.51*** part/#asterisk mjordan (~mjordan@nat/digium/x-rofclrlxaqggjpsa)
21:33.59KattyHERE FILE
21:34.01KattyHERE FILE FILE FILE
21:34.18navaismostupid question: do you make a dialplan reload?
21:34.25p3nguindialplan reload
21:34.43nnynavaismo: hmm think i see it now, one sec
21:35.04nnyp3nguin: amd caught it, thought it was hitting a different context
21:35.08nnyer navaismo ^^
21:38.15nnynavaismo: pebkac :S
21:38.49p3nguinrsmiley: Do you also need a sample of SIP<MAC>.cnf?
21:38.49rsmiley@p3nguin http://pastebin.com/nuNBxxLr  are the configs I have been working on.
21:38.51carrarhugs FILE one last time before untieing it and letting it run back to KATTY
21:39.03Katty:>
21:39.24p3nguinrsmiley: It's all wrong.  You said you have Cisco 7960.  This file is for a Polycom.
21:39.34rsmileythat might be an issue...
21:39.36Kattytime to go get dog food
21:39.44Kattyand then i have a party to host
21:39.48Kattyso, i'll see you crazy kids tmw
21:39.49navaismoi dont undestand?
21:40.01p3nguinThis is the first time I have ever seen someone trying to use a Polycom config on a Cisco 7960.
21:40.04*** join/#asterisk devmikey (~irc@96.46.249.230)
21:40.19p3nguinrsmiley: I just pasted a proper SIPDefault.cnf for you.  Use it.
21:40.46rsmileyits been a long day...
21:40.51p3nguinrsmiley: And here is the SIP<MAC>.cnf:  http://pastebin.com/Y2nSPFbT
21:41.49rsmileythanks.
21:41.52*** join/#asterisk LittleFool (~LittleFoo@over-dozed.com)
21:42.14p3nguinIf you don't understand what a setting is, just ask.
21:44.20LittleFoolHow do i activate the mysql addon to record cdr?
21:44.53rsmileyso for my deployment I can make a script to kick out the sip<mac>.cnf and tweek the sipdefault.cnf and then I have to have it add the numbers to the dailplan and the extensions confs.  then its plug and play.
21:46.08p3nguinSure.  For only a few phones, I'd do it by hand, but for 40, I'd probably use bash, sed, awk, perl, etc.
21:46.36p3nguinSIPDefault.cnf is the global file, so do it by hand.
21:46.47rsmileybash and echo with an input file is what im thinking...
21:47.42p3nguinI only have settings for two line keys in the SIP<MAC>.cnf.  For more keys, just add more sections.
21:48.53rsmileyI dont think we have any phones with more then one line, such a think might complicate my bash-fu.
21:48.55*** join/#asterisk IsUp (5db65305@gateway/web/freenode/ip.93.182.83.5)
21:49.12p3nguinSome people will use all 2 or 6 keys for the same SIP account.
21:49.19p3nguin7940/7960
21:49.32p3nguinI feel like one is enough for one account.
21:51.11rsmileyme too
21:55.26*** join/#asterisk beek (~klinebl@pdpc/supporter/bronze/beek)
21:56.18*** join/#asterisk lanning (~lanning@173-8-187-197-SFBA.hfc.comcastbusiness.net)
22:00.18*** part/#asterisk wesphillips (~wphill04@137-237-233-124.harris.com)
22:09.12*** join/#asterisk evil_gordita (robert@ip70-188-50-186.rn.hr.cox.net)
22:20.38rsmileyquit()
22:20.42rsmileyquit
22:21.45*** join/#asterisk KavanS (~KavanS@LINBIT/KavanS)
22:22.21*** join/#asterisk ChrisInSydney (~Chris@60-242-81-231.tpgi.com.au)
22:27.05*** join/#asterisk greenwolf (greenwolf@cpe-74-77-221-5.buffalo.res.rr.com)
22:27.37carrarIs KATTY having another ZORK party again?
22:28.44Maliutahehe. ZORK was the first book I ever bought
22:29.04MaliutaI think I still have it, if not the one of my ex's sons has it
22:30.33sunfoneBook?  I thought it was the original MUD.
22:31.33Maliutawere there MUD's in 1983?
22:32.25*** join/#asterisk hobodave_ (~hobodave@pdpc/supporter/professional/hobodave)
22:32.37sunfoneThey weren't called that then :)
22:32.53Maliutahttp://en.wikipedia.org/wiki/Zork_books would say "yes"
22:33.40sunfoneCool.  I wonder which one came first... the book or the game?
22:34.33Maliuta"The first version of Zork was written in 1977–1979 on a DEC PDP-10"
22:34.33sunfonehttp://en.wikipedia.org/wiki/Zork
22:34.43sunfoneright :)  Same page
22:34.43Maliutasource was http://en.wikipedia.org/wiki/Zork
22:34.54sunfoneSo the game came first then?
22:34.57Maliutajust more reason for me to get a PDP 10
22:35.01Maliutajah
22:35.02sunfoneHa!
22:35.11Maliutathey books didn't start 'til '83
22:35.14sunfoneI wrote a C compiler for a PDP 11 in school
22:35.32sunfonekind of dating myself I guess
22:35.37MaliutaI want a PDP 10, there are still a couple hooked up to the 'net
22:36.05sunfoneWe ran BSD on a PDP 11
22:36.39MaliutaI'm afraid I am little post that era, still love the kit and practices though
22:36.48MaliutaI was 5 in '83
22:37.16sunfone:)
22:37.23Maliutareminds me I need to track down a copy of the H2G2 game
22:38.02*** join/#asterisk DrDigital (~mmurphy@gallery/DrDigital)
22:38.38*** join/#asterisk TimeRider (~steve@188-220-33-123.zone11.bethere.co.uk)
22:38.58Maliutaoh. It seem that the same guys responsible for zork did the H2G2 game
22:39.47sunfoneFriend of mine just BOUGHT the Zork series... runs it via wine on Ubuntu
22:39.51*** join/#asterisk IsUp (5db65305@gateway/web/freenode/ip.93.182.83.5)
22:40.24sunfoneSome company is wrapping emulators around all these old games... so you don't have to worry about highmem, etc.
22:43.45MaliutaYeah, I'm going to grab some emulator stuff and get me H2G2 (apparently it's classed as "abondonware")
22:45.31sunfoneI used to be of the opinion that because of the 'net these games would never die, but the truth is once everyone who used to play them passes on, they too will be forgotton :(
22:45.38sunfoneforgotten
22:45.49sunfoneforgottun?
22:47.17KavanSg00gle?
22:51.02*** join/#asterisk devmikey (~irc@96.46.249.230)
22:51.11Maliutaare you sure that the library on congress isn't archiving them
22:52.31*** join/#asterisk TimeRider (~steve@188-220-33-123.zone11.bethere.co.uk)
22:55.11*** join/#asterisk devmikey (~irc@96.46.249.230)
23:01.32*** join/#asterisk navaismo (~navaismo@189.249.55.244)
23:03.16*** join/#asterisk drynish (~drynish@modemcable016.169-21-96.mc.videotron.ca)
23:03.20drynishHello guys
23:03.32drynishWhat is the use of answeronpolarityswitch
23:04.31drynishOh I just notice the AMD use
23:08.16ChannelZIt's useful (maybe) on analog lines which don't otherwise have call progress
23:08.49ChannelZbut it depends on what your telco actually does.
23:09.26drynishOh
23:09.34drynishCan I use it to detect if someone answered a call
23:09.46nnydo all lines for a specific channel contain the channel name?
23:09.51ChannelZThat's the idea
23:10.10drynishOk I will tell you the idea: I got so many issues with echo, that I decided to make the asterisk just as a answering machine
23:10.13ChannelZnny: all "lines" of what?
23:10.19nnytrying to use Notepad ++ to separate 30 calls in a log file, trying to find a common denominator that I can use to cut each channel section out
23:10.24drynishJust use my fxo card next to my phones in my house
23:10.33nnyChannelZ: sorry log entry lines
23:10.38drynishand make it answer a few rings later
23:10.48drynishIt works well however, it always answer on each call!
23:10.50drynish;)
23:10.53drynishthat is not the idea :)
23:11.04drynishI just want it to answer when my line is not answered
23:11.50nnyChannelZ: nm it appears *most do* but not all
23:11.53drynishby other phones
23:12.01ChannelZnny: the channel name should generally be the same unless transfers happened or whatever. Depends on what you're tracing I guess.
23:12.16*** join/#asterisk Cesare (~Adium@creati59.lnk.telstra.net)
23:12.44ChannelZdrynish: make your dialplan do a Wait for however many seconds you want to delay for, and then have it Answer and dump them into voicemail or whatever.
23:14.05navaismonny do you need the call flow in full.log ?
23:14.10nnysomeday i will find a log parser that can search asterisk logs for channels etc easily. Not saying they don't exist, just don't know of any
23:15.38navaismoI always use the full.log for search the call flow just search the number between brackets [] and then grep that number. Hope helps
23:23.18nnynavaismo: ahh perfect, thanks
23:24.25ChannelZsplat
23:29.31*** join/#asterisk Atriks (~Hatrix@2a01:e34:ee51:4670:61c4:c8e5:69b7:a868)
23:29.31*** join/#asterisk cnu (cnu@the.ultimate.lamer.la)
23:29.31*** join/#asterisk SunTsu (miyamoto@unaffiliated/suntsu)
23:33.17*** join/#asterisk psykon (~psilikon@147-112.96-97.tampabay.res.rr.com)
23:34.02*** join/#asterisk cnu (cnu@the.ultimate.lamer.la)
23:34.45psykonShould I expect 'PITCH_SHIFT' to work with an origination action from the manager interface?
23:34.59*** part/#asterisk chrisjunkie (~Chris@2001:4428:22d:2:208:2ff:fe7e:6312)
23:35.36ChannelZhmm are you able to specify what channel it's supposed to operate on?  otherwise I don't see how
23:36.41psykonYou can change the voice of both the caller and the called party by substituting rx or tx with  both.
23:36.48psykonSet(PITCH_SHIFT(rx)=.7)
23:38.58ChannelZright.. but where are you trying to do it from - you said 'wtih an origination', you mean like a 'channel originate' that calls an exten and as part of that exten you call the PITCH_SHIFT function?
23:39.21ChannelZ(or not 'channel originate', I guess the AMI command is just 'Originate')
23:41.43psykonI was originating to a local channel.  Something like Channel: Local/16095551212@context. Then in the context the first priority was the pitch_shift command.
23:43.58ChannelZHmm.
23:44.30ChannelZI assume you're asking because it's not working :)  Not sure.  I wonder if the channel has to be answer()ed first for it to do anything
23:46.51*** join/#asterisk IPNixon (~IPNixon@unaffiliated/ipnixon)
23:47.22psykonChannelZ, Yep, it isn't working. Actually crashing *.
23:48.01IPNixonhey all, i have an x100p in a newly built asterisk box.  i'm having a problem with disconnect supervision, though...any calls coming in from the POTS line aren't being dropped after the other person hangs up...anything i can do?
23:50.35ChannelZOh that's fun.  And I guess it wouldn't have to be answered first normally since otherwise you couldn't (easily) call the function.  I just tested it anyway though not from AMI
23:52.10psykonChannelZ, cool. It would be nice if you could add it as an option during meetme confs.
23:52.50ChannelZDidn't crash on a 'channel originate' from the console...
23:53.16drynishChannelZ, that's what I did, however it answers even if I answered the call
23:53.22psykonChannelZ, how did you set it from the console?
23:53.44drynishso the answeronpolarityswitch should do the job
23:53.51ChannelZdrynish: show me your dialplan.. either something else is going on or your ATA is answering it or something before Asterisk gets to it
23:54.08*** part/#asterisk nny (~SM@cpe-174-107-223-014.sc.res.rr.com)
23:54.16ChannelZpsykon: channel originate DAHDI/4/mycellphone extension 210@internal
23:54.18drynishmy dialplan is exactly what you told me
23:54.48psykonChannelZ, How did you set PITCH_SHIFT from the console?
23:54.51ChannelZI didn't tell you anything specific.  Pastebin or show the call coming in on the console with verbose on 3
23:55.02ChannelZpsykon: it's part of the 210 extension in extensions.conf
23:55.22psykonChannelZ, oh right. Ok that is how I am doing it.
23:55.28ChannelZpsykon: pastebin what AMI commands you are sending and I can test that
23:55.36psykonk
23:55.48ChannelZI don't use AMI much to know the syntax off the top of my head :)
23:55.48drynishhttp://pastebin.com/DfTT2deB
23:56.12drynishOh no I know, sooner you told me something but I had to take care of the kids
23:56.42ChannelZdrynish: and you reloaded the dialplan?  Show the console output for a call.
23:56.48*** join/#asterisk FainaUkraina (~Gene@cm61-10-82-188.hkcable.com.hk)
23:56.58drynishI can't test it right now
23:57.05drynishso I'll have to wait for tomorrow
23:57.09drynishMy card is a x100p
23:57.17drynishso it's just an analog card
23:57.55drynishcannot do anything else than waiting for the answeronreversepolarity
23:57.56brad_msswpabelanger: no go
23:58.14psykonChannelZ, http://pastie.org/2414136
23:58.14brad_msswpabelanger: just downgraded to the current 1.8.5.0 package and pri still doesn't work on ubuntu 10.04 lts amd64
23:58.31pabelangerbrad_mssw: *CLI> core show version
23:58.56brad_msswpabelanger: Asterisk 1.8.5.0-1digium2~lucid built by pbuilder @ nighthawk on a x86_64 running Linux on 2011-08-22 15:28:44 UTC
23:59.18ChannelZpsykon: sec

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