00:00.38 | *** join/#asterisk jrabe (irc@janikrabe.com) |
00:29.15 | *** join/#asterisk youtmon (~yout@c-98-242-250-233.hsd1.fl.comcast.net) |
00:45.40 | *** join/#asterisk Penguin (~xwQ5kwYl6@our.systems.are.full.of.penguins.at.penguinsystems.net) |
01:58.05 | *** join/#asterisk nix8n82 (~nathan@2601:283:8302:2f0d:1dcc:9dd5:6e8a:617b) |
02:05.05 | *** join/#asterisk youtmon (~yout@c-98-242-250-233.hsd1.fl.comcast.net) |
04:20.06 | *** join/#asterisk gerhard7_ (~gerhard7@ip5657ee30.direct-adsl.nl) |
05:28.44 | *** join/#asterisk SoBlindWolf (~SoBlindWo@go.pcshost.co) |
05:32.55 | *** join/#asterisk opmrcl (~user@46.11.51.189) |
06:20.20 | *** join/#asterisk evil_gordita (robert@ip70-188-41-127.rn.hr.cox.net) |
06:48.34 | *** join/#asterisk SoBlindWolf (~SoBlindWo@go.pcshost.co) |
07:47.20 | *** join/#asterisk youtmon (~yout@c-98-242-250-233.hsd1.fl.comcast.net) |
08:09.29 | *** join/#asterisk SoBlindWolf (~SoBlindWo@go.pcshost.co) |
08:15.57 | *** join/#asterisk DanB (~DanB@clt-195.192.206.120.ip-anschluss.net) |
08:58.41 | *** join/#asterisk davlefou (~davlefou@unaffiliated/davlefou) |
09:18.59 | *** join/#asterisk pchero (~pchero@109.70.54.56) |
09:59.32 | nix8n82 | <PROTECTED> |
10:01.34 | *** join/#asterisk tehgooch (~tehgooch@unaffiliated/tehgooch) |
10:26.06 | *** join/#asterisk lankanmon (~LKNnet@CPE64777dd7e053-CM64777dd7e050.cpe.net.cable.rogers.com) |
11:00.28 | *** join/#asterisk |stefan| (~stefan@65-233.soderhamn.com) |
11:01.20 | *** join/#asterisk miralin (~Thunderbi@91.237.94.6) |
12:06.24 | *** join/#asterisk nekz (~nek@165.255.103.149) |
12:07.11 | nekz | Hi all. I was wondering somebody could help me out. |
12:07.12 | nekz | I'm an asterisk newbie and it's taken me a good 5 hours to get this to work. |
12:07.12 | nekz | I can dial 996700* to join a queue and my BLF key turns green. |
12:07.12 | nekz | I can dial 996700** to leave the queue and my BLF key turns red. |
12:07.12 | nekz | What I would like to do is combine the functionality of both dialplans into one with an IF statement. |
12:07.12 | nekz | In other words I want to dial 996700 and it will either log me in or out of the queue depending on the DEVICE_STATE |
12:07.12 | nekz | This is what I have so far: |
12:07.13 | nekz | [ext-local-custom] |
12:07.13 | nekz | exten = 996700*,1,Set(DEVICE_STATE(Custom:queuei)=NOT_INUSE) |
12:07.14 | nekz | exten = 996700*,2,Macro(queue-login,queue-6700,,Local/${SRCEXTENSION}@only-dialextension-q6700,hint:${SRCEXTENSION}@default) |
12:07.14 | nekz | exten = 996700**,1,Set(DEVICE_STATE(Custom:queuei)=INUSE) |
12:07.15 | nekz | exten = 996700**,2,Macro(queue-logout,queue-6700,Local/${SRCEXTENSION}@only-dialextension-q6700) |
12:07.15 | nekz | [hintcontext] |
12:07.16 | nekz | include = park-hints |
12:19.49 | *** join/#asterisk youtmon (~yout@c-98-242-250-233.hsd1.fl.comcast.net) |
12:22.24 | *** join/#asterisk tuxd00d (~tuxd00d@ip68-106-11-138.ph.ph.cox.net) |
12:30.02 | Samot | I don't see an IF statement |
12:36.50 | nekz | That's what I needed help with. I might have something working now though. Just rebooting my box (Yeastar S20) |
12:37.14 | nekz | This is my first time working with Asterisk - really enjoying it! |
12:37.34 | Samot | Uhm. |
12:38.09 | Samot | How do you stop it from overriding your changes? |
12:40.52 | nekz | Are you asking how I stop the S20 from ovveriding my changes? There is a custom extensions config file that I can add things into under /ysdisk/support/custom.... |
12:42.11 | Samot | And how do you tie into it? |
12:42.23 | Samot | I haven't looked at the S series but the U series was rather limited |
12:42.42 | Samot | And well, I wouldn't trust their PBX systems as far as I can throw them. |
12:43.19 | Samot | Or their engineers |
12:47.52 | nekz | This is my first time working with asterisk based boxes... It's for a very small site so it seemed ideal. Yeastar have locked the box down... It seems I will have to crack the root password if I want to do any extensive tie-in |
12:48.05 | Samot | Right |
12:48.18 | Samot | Because you bought a pre-configured appliance. |
12:48.32 | nekz | yes. I understood the risks |
12:48.33 | Samot | The appliance generates the dialplan |
12:48.36 | Samot | OK. |
12:49.03 | Samot | So just be aware, your first experience with Asterisk isn't really your first experience with Asterisk. |
12:49.17 | Samot | This is your first experience with Asterisk that someone else has done everything for you. |
12:49.27 | Samot | And you are working within *their* structure. |
12:49.58 | nekz | I know. I do understand. Why do you think I came here? Because they certaintly wern't going to help me do anything custom |
12:50.16 | Samot | Well that's another problem. |
12:50.16 | nekz | luckily i figured out I can put my custom config into /ysdisk/support/customcfg/extensions_custom.conf |
12:50.22 | Samot | GUIs aren't supported. |
12:50.30 | Samot | Appliances like this, aren't supported. |
12:50.41 | Samot | Because they modified things. |
12:50.52 | Samot | They generate dialplan no one is familiar with it. |
12:51.03 | Samot | If we tell you to "Go change this" you can't. |
12:51.24 | Samot | Well you can, but you have to do it through the GUI and we can't know what the GUI is doing. |
12:56.05 | nekz | are you asking me to look for help elsewhere? |
12:56.08 | Samot | Just don't expect a lot out of them. |
12:56.12 | Samot | No. |
12:56.35 | Samot | I'm just telling you, preconfigured GUI appliances/software doesn't get a lot of support here. |
12:56.46 | Samot | Because the people who made it, did stuff we don't know. |
12:57.01 | Samot | They make modifications. |
12:57.08 | Samot | They change file structures. |
12:58.22 | Samot | Plus.. |
12:58.33 | Samot | I've had two years of dealing with those guys.. |
12:58.42 | Samot | Their PBX systems are not the greatest. |
12:59.04 | Samot | They tried to partner with me two years ago when they started to break into the US. |
12:59.13 | Samot | I gave them back PBX systems. |
12:59.35 | Samot | They gave me free ones, I used one.. |
12:59.40 | Samot | Sent the rest back |
12:59.42 | nekz | all I was asking for was some help constructing with an if statement... |
12:59.50 | Samot | OK |
12:59.56 | Samot | GoToIf |
13:00.04 | Samot | Or IfExec |
13:00.26 | Samot | Don't they have a queue agent log in feature? |
13:00.42 | *** join/#asterisk gerhard7_ (~gerhard7@ip5657ee30.direct-adsl.nl) |
13:00.49 | *** join/#asterisk m33__44 (~mwega@p200300D47BC23C0098447B3104F462D8.dip0.t-ipconnect.de) |
13:05.09 | Samot | Yes, yes they do |
13:05.20 | Samot | So why are you writing a agent login feature when one already exists? |
13:07.53 | nekz | Yes they do, but I wanted a BLF key to indicate whether the agent was logged in or not, and they had no support for that |
13:08.04 | nekz | I've managed to get this to work with your help, so thank you :) |
13:08.08 | nekz | exten = 996700,n,GotoIf($["${DEVICE_STATE(Custom:queuei)}"="INUSE"]?login:logoff) |
13:08.08 | nekz | exten = 996700,n(login),Set(DEVICE_STATE(Custom:queuei)=NOT_INUSE) |
13:08.08 | nekz | exten = 996700,n,Macro(queue-login,queue-6700,,Local/${SRCEXTENSION}@only-dialextension-q6700,hint:${SRCEXTENSION}@default) |
13:08.08 | nekz | exten = 996700,n(logoff),Set(DEVICE_STATE(Custom:queuei)=INUSE) |
13:08.08 | nekz | exten = 996700,n,Macro(queue-logout,queue-6700,Local/${SRCEXTENSION}@only-dialextension-q6700) |
13:08.08 | nekz | [hintcontext] |
13:08.09 | nekz | include = park-hints |
13:08.09 | nekz | exten = 996700,hint,Custom:queuei |
13:08.20 | Samot | Uhm. |
13:08.27 | Samot | park-hints if for Parking |
13:08.34 | Samot | *is |
13:09.00 | Samot | That's the auto-generated context the Parking Lot generates. |
13:09.12 | nekz | their documentation said to include it... Anyway what I wanted to do is working |
13:09.20 | nekz | so thank you for the assistance - i really appreciate it :) |
13:09.21 | Samot | OK. |
13:15.25 | nekz | I'm a software developer by trade... I'm writing an application to control the system through the AMI. So now the real fun begins :) |
13:15.48 | Samot | A closed system is probably not the best option for writing customization. |
13:17.02 | m33__44 | I just read an article about setting up SIP with a HT503 on a raspi.... the question came to mind why is a HT503 needed? Wouldn't that be possible with a simple usb analog modem? |
13:17.27 | Samot | m33__44: What's going to do the conversion? |
13:17.55 | Samot | The HT503 is an FXO Gateway |
13:18.22 | Samot | People use it to connect their POTS/phone line to the HT503 to talk SIP to their PBX or IP phones. |
13:18.46 | Samot | Something has to convert that analog signal to SIP/digital. |
13:19.14 | Samot | If you can figure out how to do it on a RasPi with just a USB analog modem, you'll be a hero. |
13:19.23 | m33__44 | this is what asterisk SIP does - not? |
13:19.37 | Samot | Sure. |
13:19.44 | Samot | It doesn't convert signals though |
13:20.00 | Samot | The HT503 is an FXO device. |
13:20.06 | Samot | It's meant to connect to POTS lines. |
13:20.12 | Samot | Regular ole phone lines. |
13:20.13 | m33__44 | I know |
13:20.15 | Samot | OK |
13:20.19 | Samot | That's one side. |
13:20.22 | Samot | The other side is SIP |
13:20.26 | m33__44 | I is a comms engineer |
13:20.31 | Samot | So you can connect to Asterisk, in this example. |
13:20.32 | Samot | OK |
13:20.45 | Samot | So why are you asking if it is needed. |
13:21.04 | Samot | The POTS to SIP conversion reason should be enough of an answer. |
13:22.28 | m33__44 | so a modem can physically terminate an analog line |
13:22.38 | Samot | OK |
13:22.40 | Samot | So again. |
13:22.50 | Samot | What. Is. Going. To. Do. The. Conversion? |
13:23.32 | Samot | How are you going to take that modem signal and get it into Asterisk in a way Asterisk can process? |
13:23.36 | m33__44 | if you ask that there is no piece of software in asterisk doing that by now |
13:23.56 | m33__44 | thank that is an answer already |
13:24.09 | file | it's up to the underlying hardware and a corresponding driver to do that work. |
13:24.40 | Samot | file We shouldn't be having this type of conversation level with a comms engineer. |
13:24.53 | Samot | If we have to explain that to a comms engineer we're in trouble. |
13:24.56 | m33__44 | I was just naive to think if I can use an ISDN card...it may work with a modem as well |
13:25.25 | file | if the chipset of the modem was capable of doing it, and a driver was written to utilize it, then yes |
13:25.27 | m33__44 | technically I understand - but I DO NOT KNOW what asterisk has implemented |
13:25.57 | Samot | 9:19:44 AM <Samot> It doesn't convert signals though |
13:26.08 | Samot | I thought that was pretty clear. |
13:26.29 | Samot | Asterisk hasn't implemented anything because it doesn't convert signals like that. |
13:26.57 | m33__44 | ok |
13:27.15 | Samot | When you install ISDN/PRI/BRI/FXO/FXS cards into an Asterisk server.. |
13:27.17 | file | it'd also only be a fun adventure for someone if they were really interested in doing it |
13:27.28 | Samot | You need something like wanpipe and DADHI drivers. |
13:27.31 | file | FXO adapters are fairly cheap these days |
13:27.39 | Samot | Like I said.. |
13:27.57 | protonchris | file: Do you have a FXO adapter that you would recommend? |
13:28.00 | Samot | If someone can make a USB modem work directly with Asterisk on a RasPI, they'd be a hero. |
13:28.04 | m33__44 | yep the HT503 is just 50bucks |
13:28.16 | file | I don't use 'em |
13:28.24 | Samot | ^^^^ |
13:28.58 | m33__44 | wel the raspi 3 has 4 cores... |
13:29.15 | Samot | OK. |
13:29.27 | Samot | I doubt you'll need 4 cores to write a driver |
13:30.58 | m33__44 | well if I find some hero coding time...would be cool |
13:31.14 | protonchris | file: ok. thanks anyway. |
13:32.13 | *** join/#asterisk jkroon (~jkroon@165.16.204.171) |
13:34.21 | protonchris | is looking for a adapter with 1 FXO and 1 FXS. |
13:58.20 | *** join/#asterisk tuxd00d (~tuxd00d@ip68-106-11-138.ph.ph.cox.net) |
14:03.08 | *** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212) |
14:30.41 | *** join/#asterisk Iamnacho (~Iamnacho@ip72-213-55-66.om.om.cox.net) |
15:04.57 | *** join/#asterisk Typhon (~Typhon@ipservice-092-218-222-062.092.218.pools.vodafone-ip.de) |
16:03.19 | *** join/#asterisk yoavz (~yoavz@white.blackit.io) |
16:44.19 | *** join/#asterisk clarjon1 (~clarjon1@unaffiliated/clarjon1) |
16:45.24 | *** join/#asterisk aness (~aness@77.40.158.100) |
16:53.11 | *** join/#asterisk [TK]D-Fender (~joe@64.235.216.2) |
16:53.20 | [TK]D-Fender | protonchris, SPA-3102 <---- |
17:02.55 | fauxalliance | Sipura Tempura, 'lightly battered SIP' |
17:13.39 | *** join/#asterisk coppice (~chatzilla@host-89-243-25-157.as13285.net) |
17:41.59 | *** join/#asterisk Dirk23 (Dirk23@diehildebrands.de) |
18:01.17 | *** join/#asterisk jamesaxl (~James_Axl@109.172.62.242) |
18:04.41 | *** join/#asterisk youtmon (~yout@c-98-242-250-233.hsd1.fl.comcast.net) |
18:17.09 | *** join/#asterisk DanB (~DanB@clt-195.192.206.120.ip-anschluss.net) |
18:22.07 | *** join/#asterisk aness (~aness@77.40.158.100) |
18:30.04 | *** join/#asterisk Dirk23 (Dirk23@diehildebrands.de) |
19:00.21 | *** join/#asterisk UOL (~king@39.46.48.246) |
19:00.33 | UOL | sip_transport. Error processing 69 bytes packet from UDP 188.53.94.214:49450 : PJSIP syntax error exception when parsing '' header on line 1 col 1: |
19:00.38 | UOL | whats that meaning? |
19:01.29 | UOL | even firewall is off |
19:06.48 | *** join/#asterisk ruied (~ruied@po2-84-90-121-174.netvisao.pt) |
19:21.08 | UOL | Samot |
19:23.03 | Samot | ? |
19:25.42 | Samot | Quickly, please. I'm kinda in the middle of something right now. |
19:31.13 | Samot | UOL???? |
19:32.03 | voipmonk | sneezes amfeltec! |
19:33.15 | voipmonk | dreams of Piranha's eating raspberry flavored pi's |
19:34.31 | fauxalliance | piranha with fricken laserbeams |
19:34.46 | UOL | sip_transport. Error processing 69 bytes packet from UDP 188.53.94.214:49450 : PJSIP syntax error exception when parsing '' header on line 1 col 1: |
19:34.49 | UOL | i have that issue |
19:34.57 | UOL | on x-lite |
19:35.00 | UOL | and zoiper |
19:36.03 | fauxalliance | i've been away for over four years, and the same silly avatars with the same stupid questions... |
19:36.03 | Samot | So you're pinging me for help with your PJSIP issue? |
19:36.11 | fauxalliance | apparently |
19:36.16 | Samot | Me specifically? |
19:36.19 | fauxalliance | yes |
19:36.20 | fauxalliance | YOU |
19:36.32 | UOL | :D |
19:36.50 | Samot | https://www.google.com/search?q=PJSIP+syntax+error+exception+when+parsing+%27%27+header+on+line+1+col+1%3A&rlz=1C1CHBF_enCA731CA732&oq=PJSIP+syntax+error+exception+when+parsing+%27%27+header+on+line+1+col+1%3A&aqs=chrome..69i57j0l2.1713j0j7&sourceid=chrome&ie=UTF-8 |
19:38.12 | UOL | more |
19:38.17 | UOL | how can i transfer an call |
19:38.37 | Samot | 3:25:42 PM <Samot> Quickly, please. I'm kinda in the middle of something right now. <-- Refer to this. |
19:38.42 | UOL | like i got a call from 101 to 102 and i want to transfer that call to 103.. |
19:38.43 | Samot | I really can't do this right now. |
19:38.53 | UOL | ok.. take your time.. no issue.. :) |
19:38.53 | fauxalliance | deposit another twenty-five cents to continue... says the COCOT |
19:39.03 | Samot | UOL: I have other things do to. |
19:39.10 | Samot | UOL: I don't really use PJSIP |
19:39.29 | Samot | UOL: The first result of that google search was a ticket in the Asterisk issues tracker about someone that had this issue. |
19:39.35 | Samot | Have you looked at any of that? |
19:40.25 | UOL | yes.. i search alot but didn;t found any solution... i also try with chan_sip.. but same error.. |
19:41.37 | Samot | I wouldn't wait on me for help. |
19:44.23 | UOL | Samot thanks for your help.. i'll find a solution soon.. |
19:44.37 | Samot | Did you read the issue in the issue tracker? |
19:44.50 | Samot | If you haven't found that in your searches, then you are searching wrong. |
19:45.01 | UOL | yes.. |
19:45.33 | UOL | well.. i try with x-lite its failed.. but now i try with on anonther phone it works. but no voice... i think KSA banned SIP |
19:48.01 | Samot | Yes, yes they do. |
19:48.23 | Samot | Or restrict it pretty heavily |
19:50.39 | voipmonk | try to encapsulate it with softether.org |
19:58.07 | *** join/#asterisk aness (~aness@cm-84.209.56.255.getinternet.no) |
20:08.20 | *** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com) |
20:09.10 | *** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com) |
20:09.55 | *** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com) |
20:10.42 | *** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com) |
20:11.32 | *** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com) |
20:12.17 | *** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com) |
20:13.10 | *** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com) |
20:13.55 | *** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com) |
20:14.45 | *** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com) |
20:16.31 | *** join/#asterisk tzafrir (~tzafrir@212.29.194.37) |
20:23.52 | *** join/#asterisk cemotyz09 (~cemotyz09@cpe-70-121-157-202.satx.res.rr.com) |
20:47.13 | *** join/#asterisk youtmon (~yout@c-98-242-250-233.hsd1.fl.comcast.net) |
21:33.04 | *** join/#asterisk setham (~setham@unaffiliated/setham) |
22:01.49 | protonchris | [TK]D-Fender: Thanks |
22:03.03 | *** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com) |
22:40.45 | *** join/#asterisk ruied (~ruied@po2-84-90-121-174.netvisao.pt) |
23:13.28 | *** join/#asterisk Oatmeal (~Suzeanne@gateway/vpn/privateinternetaccess/suzeanne) |
23:34.29 | *** join/#asterisk Catatronic (~catatroni@199.241.146.163) |