IRC log for #asterisk on 20180527

00:03.35*** join/#asterisk qxork (~qxork@unaffiliated/qxork)
00:18.37*** join/#asterisk infobot (ibot@rikers.org)
00:18.37*** topic/#asterisk is #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.21.0 (2018/05/01), Standard: 15.4.0 (2018/05/01); DAHDI: DAHDI-linux 2.11.1 (2016/03/01), DAHDI-tools 2.11.1 (2016/03/01); libpri 1.6.0 (2017/01/27) -=- Wiki: wiki.asterisk.org -=- Code of Conduct: bit.ly/1hH6P22 -=- Logs: bit.ly/1s4AKKu
00:51.24*** join/#asterisk sibyakin (~sibyakin@188.162.228.24)
02:10.47*** join/#asterisk chandoo (~chandoo@pool-74-105-11-55.nwrknj.fios.verizon.net)
02:57.19*** join/#asterisk chandoo (~chandoo@pool-74-105-11-55.nwrknj.fios.verizon.net)
03:13.09*** join/#asterisk chandoo (~chandoo@pool-74-105-11-55.nwrknj.fios.verizon.net)
03:13.42*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
04:22.59*** join/#asterisk _mwoodj_ (~mwoodj@pdpc/sponsor/digium/hyper-eye)
07:52.12*** join/#asterisk Jesterboxboy (~Thunderbi@84-115-150-8.cable.dynamic.surfer.at)
09:03.27*** join/#asterisk sibyakin (~sibyakin@188.162.228.117)
09:57.44*** join/#asterisk visip (~visix@gateway/tor-sasl/visip)
10:14.29*** join/#asterisk sibyakin (~sibyakin@188.162.238.220)
10:41.47*** join/#asterisk youtmon (~yout@c-98-242-250-233.hsd1.fl.comcast.net)
10:49.32*** join/#asterisk lankanmon (~LKNnet@CPE64777d632383-CM64777d632380.cpe.net.cable.rogers.com)
11:23.00*** join/#asterisk [sID] (~sid@logv.pl)
11:33.45*** join/#asterisk Chotaire (chotaire@unaffiliated/chotaire)
11:43.41*** join/#asterisk Chotaire (chotaire@unaffiliated/chotaire)
11:48.32*** join/#asterisk Chotaire (chotaire@unaffiliated/chotaire)
11:51.27*** join/#asterisk Chotaire (chotaire@unaffiliated/chotaire)
11:52.06*** join/#asterisk Chotaire (chotaire@unaffiliated/chotaire)
12:47.38*** join/#asterisk qxork (~qxork@unaffiliated/qxork)
13:12.48*** join/#asterisk tomaluca95 (~quassel@kde/developer/tomaluca)
13:17.10*** join/#asterisk cemotyz09 (~cemotyz09@cpe-70-121-157-202.satx.res.rr.com)
13:25.00*** join/#asterisk youtmon (~yout@c-98-242-250-233.hsd1.fl.comcast.net)
13:25.35*** join/#asterisk tomaluca95 (~quassel@kde/developer/tomaluca)
13:53.12*** join/#asterisk kunwon1 (~kunwon1@unaffiliated/kunwon1)
14:02.27*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
14:06.48*** join/#asterisk CatCow97 (~mine9@c-24-22-38-85.hsd1.or.comcast.net)
14:24.45*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
14:42.33*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
14:54.41*** join/#asterisk kodomo (~gregor@92.63.174.119)
15:09.18*** join/#asterisk Typhon (~Typhon@dslb-092-078-201-223.092.078.pools.vodafone-ip.de)
15:19.05kodomoHi all! Is it possible that chan_sip accepts INVITES without explicitly stated audio codecs, whereas pjsip won't?
15:20.15SamotNo.
15:20.25SamotAll INVITES should have SDP in them.
15:21.12kodomoI'm trying to place a call to a ConfBridge  with a client (CSipSimple) which has been configured to use GSM (both the lient and asterisk in sip.conf and pjsip.conf) ; in chan_sip, the call goes through, in pjsip, it stops with an 488 Unnacceptable Here
15:21.27kodomosdp I have - just not 'GSM' in the debug output
15:21.54kodomoor - sec... double checking
15:24.27Samot488 means you have a codec mismach most likely.
15:27.25kodomoHere's a debug trace: https://pastebin.com/2856ejGZ
15:27.41kodomoOutput goes straight from [May 27 16:20:59] DEBUG[25358]: res_pjsip_session.c:269 handle_incoming_sdp: Negotiating incoming SDP media stream 'audio' using audio SDP handler
15:27.59kodomoto : [May 27 16:20:59] DEBUG[25358]: res_pjsip_session.c:269 handle_incoming_sdp: Negotiating incoming SDP media stream 'audio' using audio SDP handler
15:28.02kodomo[May 27 16:20:59] DEBUG[25358]: res_pjsip_session.c:2517 handle_outgoing_response: Method is INVITE, Response is 488 Not Acceptable Here
15:28.15kodomoI don't see an additional error.
15:28.53*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
15:28.56kodomooutput from pjsip show endpoint 1244 contains allow                              : (gsm)
15:28.59kodomo<PROTECTED>
15:29.09kodomoSo codec should be fine
15:29.26Samothttps://www.irccloud.com/pastebin/ynT5OFYH/
15:30.38SamotThis debug is wrong.
15:30.49SamotIt's not complete, you've cut out things.
15:30.54Samotasterisk -rvvvvvvvvvvv
15:30.58Samotpjsip set logger on
15:31.05Samot^^ Run those and do it again
15:31.24SamotNo debug
15:31.34Samotcore set debug off
15:32.23kodomoIt's a snippet from the trace, do you lack details or just the context around these lines?
15:32.44SamotThat debug is not the full call.
15:33.00SamotYou don't have the initial INVITE and you don't have the full 488 packet reply
15:33.24kodomook - sec... pasting the full trace...
15:38.29kodomoSamot: https://pastebin.com/VTJxZVCR
15:39.51SamotSo either  your crypto or codecs are wrong.
15:39.52SamotOr both
15:40.19kodomoThey work with chan_sip (exactly the same config)
15:40.28SamotWith TLS?
15:40.32kodomowith TLS
15:40.34SamotAnd it can't be exactly the same config.
15:40.42SamotSettings are not the same
15:41.06kodomoto the best of my knowledge - meaning: crypto keys are the same files, config contains tls and gsm only
15:41.37SamotShow the PJSIP config for the peer
15:41.38fileTLS and SRTP are independent.
15:41.45Samot^^^
15:42.20SamotWhich means the crypto or the codecs are wrong.
15:42.33SamotThey don't match between what the client and what PJSIP is setup to deal with.
15:47.40kodomoSamot: https://pastebin.com/cGCJJet3
15:47.56kodomo(It's slow, as I'm on a train => decent lag ;) )
15:48.33SamotThere is zero media encryption set for this peer.
15:48.37fileYour endpoint does not have SRTP enabled, so the offer gets rejected
15:48.38SamotSo it's not going to work.
15:50.04kodomoah - so the encryption specified is only for signallint in pjsip? Then I need to figure out how to specify media encryption :)
15:51.29kodomodoes merely setting media_encryption=yes suffice? (indeed, I just discovered that it was 'false' by default :)
15:51.46fileNo, you need to specify sdes
15:51.51fileThere are multiple types.
16:08.39*** join/#asterisk Vooray (~Vooray@37.204.195.143)
16:11.50VoorayWhich version should i start learning asterisk with? chan_sip or pjsip? Im new to all this voice things.
16:16.43sibiriapjsip. chan_sip won't be getting any new features
16:18.20VoorayWhich asterisk version is used for new production deployments?
16:18.48Vooraythey have too many... 13 certified, 14, 15
16:19.13sibiria13 is LTS. there's some benefit to that
16:20.19VoorayThanks, sibiria
16:21.09sibiriaget the non-certified 13, though
16:22.25kodomoSamot, file: thx for the help! I can see ConfBridge starting now :), !na3pt6
16:32.39*** join/#asterisk david71 (2eb9f0cd@gateway/web/freenode/ip.46.185.240.205)
16:33.50david71Dears Hope you all well , After spending 1 week on google i decided to ask the experts here ,, im using the freepbx asterisk to make calls from chan_mobile using the bluetooth , I have connected the iphone and the calls is passing normally i was wondering why i can send letter in asterisk
16:34.32david71im trying to send call facetime://number here so the call will go through facetime using my bluetooth but asterisk changes the words to numbers and send the call anyway to send the call and run facetime
16:43.18SamotFaceTime is incompatible with no FaceTime devices.
16:56.12david71Samot but we are sending the calls from bluetooth
16:56.35Samotfacetime:// == Apple Only
16:56.40david71if  i do it manual on iphone i will have the option to choose if i want call on facetime or regular call , but when we send from asterisk it doesnt work
16:56.47SamotThere is no standard facetime:// protocol to use for other devices.
16:57.18david71man if i make manual call on facetime and connect bluetooth it will work
16:57.20Samotfacetime:// is an iOS/OSX thing.
16:57.29david71but when the call is dialed from asterisk no option to choose facetime
16:57.39SamotSigh
16:57.45SamotAsterisk does not support it.
16:57.55SamotAsterisk cannot talk/communicate over facetime://
16:58.08david71so if i want this to happen i will have to make iphone choose facetime for default calls
16:58.26david71i have done it on some saved contacts numbers
16:58.33david71because you can set it as default
16:58.38david71to choose facetime
16:58.39SamotSo?
16:58.42david71but i want it for all calls
16:58.52SamotYou're talking about a setting on the iPhone.
16:59.00SamotAsterisk _does not_ support FaceTime
16:59.01david71not for the contact i edit default calls
16:59.10SamotNon-Apple devices do not support FaceTime
16:59.19SamotThey cannot accept or make calls over that protocol.
16:59.35david71there must be a way through bluetoooth
16:59.58SamotHave you found one?
17:00.12david71not really
17:00.12SamotYou said you spent a week on Google and now you're here to ask the experts.
17:00.16filechan_mobile is a community supported rarely used module, it is unlikely you will find anyone with knowledge or information about such a thing
17:00.24SamotYou are now being told it's not supported.
17:01.45SamotFaceTime uses ports 53, 80, 443, 4080, 5223, and 16393-16472 (UDP) <-- Nothing any real SIP system supports for SIP
17:02.11SamotOutside of port 53 for DNS lookups when needed.
17:03.41fileSamot: you don't speak the "protocol" over Bluetooth, you use some AT based commands to tell the phone to do things and then it does them
17:03.52SamotOK.
17:04.09filesomehow doubts the AT commands would do Facetime dialing
17:04.47SamotI don't think it would.
17:04.52SamotFaceTime is not open source
17:05.10fileit's also an application running on the phone, not part of the phone stack itself
17:05.20SamotTrue.
17:05.54filethe use of the "facetime" URI is likely just a hint to the interface in the phone to use the facetime application for the specific URI, and then it gets passed the data
17:06.41SamotWell I'm sure Asterisk is puking on the request if it's turning letters into numbers.
17:06.58SamotOr something because sip:bob@ip:5060 works
17:07.29filethe person who wrote chan_mobile may have put in code to have it convert it into numbers
17:07.53SamotPossible. I've never used it
18:03.20*** join/#asterisk DivideBy0 (~DivideBy0@unaffiliated/divideby0x0)
18:03.20*** mode/#asterisk [+o DivideBy0] by ChanServ
18:28.20*** join/#asterisk Typhon (~Typhon@ipservice-092-218-214-039.092.218.pools.vodafone-ip.de)
18:53.30*** join/#asterisk kunwon1 (~kunwon1@unaffiliated/kunwon1)
19:31.05*** join/#asterisk rpifan (~rpifan@2600:1:c17c:eda:68e7:44b4:561c:1169)
19:53.09*** join/#asterisk Penguin (~xwQ5kwYl6@our.systems.are.full.of.penguins.at.penguinsystems.net)
20:25.55*** join/#asterisk youtmon (~yout@c-98-242-250-233.hsd1.fl.comcast.net)
21:28.51*** join/#asterisk joako (~joako@opensuse/member/joak0)
22:10.36*** join/#asterisk tomaluca95 (~quassel@kde/developer/tomaluca)
22:18.59*** join/#asterisk waingro (~radmin@unaffiliated/waingro)
23:03.43*** join/#asterisk sibyakin (~sibyakin@188.162.228.211)

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