IRC log for #asterisk on 20180812

00:04.58*** join/#asterisk tuxd00d (~tuxd00d@unaffiliated/tuxd00d)
00:19.48*** join/#asterisk infobot (ibot@208.53.50.136)
00:19.48*** topic/#asterisk is #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.22.0 (2018/07/12) 16.0.0-rc1 (2018/08/08), Standard: 15.5.0 (2018/07/12); 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:59.57*** join/#asterisk jeffspeff (~me@209.141.208.197)
01:41.53*** join/#asterisk jeffspeff (~me@209.141.208.197)
03:54.43*** join/#asterisk livinginside (~quantumph@2601:c2:c000:b800:3843:7909:48ac:6041)
03:56.41livinginsidewhat's the most straightforward way to Playback() an audio file to the callee _and_ the caller?  Or, just to the callee rather than the caller?
03:58.18livinginsidee.g. not via Dial() aA; after the call's in progress, i.e. via a feature calling Gosub()?
04:06.36*** join/#asterisk livinginside (~quantumph@2601:c2:c000:b800:3843:7909:48ac:6041)
04:59.39*** join/#asterisk bmg505 (~leon@196-210-23-3.dynamic.isadsl.co.za)
05:25.10*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
05:49.27*** join/#asterisk miralin (~Thunderbi@194.8.128.63)
06:41.00*** join/#asterisk qxork (~qxork@unaffiliated/qxork)
06:42.28*** join/#asterisk K0HAX (~michael@gateway/tor-sasl/k0hax)
07:02.59*** join/#asterisk K0HAX (~michael@gateway/tor-sasl/k0hax)
08:14.38*** join/#asterisk sinaowolabi (~Sina@41.58.122.59)
08:59.18*** join/#asterisk DanB (~DanB@clt-195.192.204.206.ip-anschluss.net)
09:02.02*** join/#asterisk allizom (~Thunderbi@host201-164-dynamic.55-79-r.retail.telecomitalia.it)
09:02.42*** join/#asterisk jamesaxl (~James_Axl@41.248.181.135)
09:13.17*** join/#asterisk sinaowolabi (~Sina@41.58.122.59)
09:29.35*** join/#asterisk jamesaxl (~James_Axl@41.248.181.135)
10:20.17*** join/#asterisk forgotmynick (uid24625@gateway/web/irccloud.com/x-ehhojpchqzcwweon)
10:25.15*** join/#asterisk puzzled (~puzzled@54693D8C.cm-12-2a.dynamic.ziggo.nl)
10:32.05*** join/#asterisk sinaowolabi (~Sina@41.58.122.59)
10:39.22*** join/#asterisk lankanmon (~LKNnet@CPE64777d632383-CM64777d632380.cpe.net.cable.rogers.com)
11:26.45*** join/#asterisk allizom (~Thunderbi@host201-164-dynamic.55-79-r.retail.telecomitalia.it)
11:28.47allizomHi. I'm learning asterisk, and I'm using pjsip. I've got some phones connected, but not at all times, and I've got multiple endpoints which can have multiple contacts. But if I try to Dial(${PJSIP_DIAL_CONTACTS(first)}&${PJSIP_DIAL_CONTACTS(second)}) when second has no contacts, the call will fail. How can I ring each contact for multiple endpoints even in the case something is not connected?
11:48.06SamotYou cant' ring a contact that doesn't exist.
11:49.25allizomSamot: in that case I want to ring just what's currently connected
11:50.03allizombut currently the call just fails without ringing anything at all
11:57.03*** join/#asterisk sinaowolabi (~Sina@41.58.122.59)
12:02.42*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
12:09.07allizomSamot: the issue seems to be that ${PJSIP_DIAL_CONTACTS(second)} is evaluated to empty and so the string that is dialed ends with an & which brings this error:  Dial argument takes format (technology/resource)
12:10.54*** join/#asterisk jkroon (~jkroon@165.16.204.169)
12:14.16SamotThen you will need to look for states of contacts.
12:16.44allizomSamot: I'm searching for it but "states of contacts asterisk" is not bringing me relevant results
12:17.15SamotDoesn't ${PJSIP_DIAL_CONTACTS($EXTEN)} do it?
12:17.31SamotSo if it's 100 PJSIP_DIAL_CONTACTS(100)
12:17.44SamotThat should attempt to dial all the contacts for endpoint 100
12:18.28allizomok. but I need to call contacts for more than one endpoint
12:19.13SamotI get that
12:19.27SamotBut that looks for all the registered contacts and dials them for an endpoint
12:19.33SamotSo you would need to do that for each endpoint.
12:20.57allizomyes, my issue is that if I dial both of them, separating with an &, what happens when one endpoint has no contacts is to have a dialed string which ends in an ampersand, which makes it invalid
12:23.23SamotThen you need to check the endpoint for contacts before dialing I guess.
12:23.37SamotI really don't use PJSIP for a lot of stuff right now so I haven't messed with this.
12:24.18allizomI see. Most guides/books I've seen are concerned with SIP rather than PJSIP in asterisk
12:24.47allizombut then I also saw pjsip is recommended for new setups, and I'm just starting out
12:32.21sibiriaSamot: what do you use instead? opensips or kamailio or something?
12:32.42SamotI use Kamailio+Asterisk
12:33.01SamotHave for over a decade.
12:38.43*** join/#asterisk robmal (r@wporzo.pl)
12:46.05*** join/#asterisk puzzled (~puzzled@puzzled.xs4all.nl)
12:52.26*** join/#asterisk tomaluca95 (~quassel@kde/developer/tomaluca)
12:52.50*** join/#asterisk sinaowolabi (~Sina@41.58.122.59)
12:57.06*** join/#asterisk tomaluca95 (~quassel@kde/developer/tomaluca)
12:57.42*** join/#asterisk robmal (r@wporzo.pl)
13:06.58*** join/#asterisk tomaluca95 (~quassel@kde/developer/tomaluca)
13:16.01*** join/#asterisk Asgaroth (~Asgaroth@212.2.172.228)
13:16.17*** join/#asterisk livinginside (~quantumph@2601:c2:c000:b800:5cd8:11e2:9348:6936)
13:18.42*** join/#asterisk s-mutin (~s-mutin@85.234.114.134)
13:24.52*** join/#asterisk s-mutin (~s-mutin@85.234.114.134)
13:56.36*** join/#asterisk paulgrmn (~paulgrmn@mail2.hartmantyner.com)
14:22.50*** join/#asterisk qxork (~qxork@unaffiliated/qxork)
14:30.57*** join/#asterisk sh_smith (~sh_smith@cpe-76-174-26-91.socal.res.rr.com)
14:38.19*** join/#asterisk qxork (~qxork@unaffiliated/qxork)
15:06.18*** join/#asterisk tomaluca95 (~quassel@kde/developer/tomaluca)
15:07.35*** join/#asterisk justdave (~dave@unaffiliated/justdave)
15:12.50*** join/#asterisk bmg505 (~leon@196-210-23-49.dynamic.isadsl.co.za)
16:01.03*** join/#asterisk clarjon1 (~clarjon1@unaffiliated/clarjon1)
16:02.18*** join/#asterisk elguero (~miguel323@74-95-21-41-Connecticut.hfc.comcastbusiness.net)
16:22.10*** join/#asterisk justdave_ (~dave@unaffiliated/justdave)
16:34.16*** join/#asterisk joako (~joako@opensuse/member/joak0)
16:55.35*** join/#asterisk andresmujica (~andresmmu@unaffiliated/andresmujica)
16:55.37*** join/#asterisk Iamnach0 (~Iamnacho@ip68-102-129-52.ks.ok.cox.net)
17:04.55*** join/#asterisk Chotizei (chotaire@unaffiliated/chotaire)
17:47.06*** join/#asterisk clarjon1 (~clarjon1@unaffiliated/clarjon1)
17:49.52*** join/#asterisk clarjon1 (~clarjon1@unaffiliated/clarjon1)
17:51.20*** join/#asterisk Asgaroth (~Asgaroth@212.2.172.228)
18:57.03*** join/#asterisk justdave (~dave@unaffiliated/justdave)
19:01.20*** join/#asterisk justdave (~dave@unaffiliated/justdave)
19:16.53*** join/#asterisk forgotmynick (uid24625@gateway/web/irccloud.com/x-ahpwumhqcamodkuy)
19:51.02*** join/#asterisk corretico (~corretico@186.176.242.119)
20:23.24*** join/#asterisk justdave_ (~dave@unaffiliated/justdave)
20:24.52*** join/#asterisk justdave (~dave@unaffiliated/justdave)
21:14.20*** join/#asterisk sinaowolabi (~Sina@41.58.100.206)
21:21.22*** join/#asterisk justdave_ (~dave@unaffiliated/justdave)
21:27.37*** join/#asterisk justdave (~dave@unaffiliated/justdave)
21:32.08*** join/#asterisk justdave (~dave@unaffiliated/justdave)
22:03.46*** join/#asterisk tonybaqain (bcf74979@gateway/web/freenode/ip.188.247.73.121)
22:04.31tonybaqainhello, can anyone please let me know if there is any other App other than Telephone for mac to test asterisk ? with numpad and so on
22:09.48*** join/#asterisk tomaluca95 (~quassel@kde/developer/tomaluca)
22:09.55craigifytonybaqain, zoiper has a free edition
22:10.51Reinhildeif you have an android phone or androidx86 on your mac, CSipSimple
22:38.13*** join/#asterisk Micc_ (~micster@static-50-125-113-34.frr01.both.wa.frontiernet.net)
22:39.10sibiriatonybaqain: Linphone
22:39.48sibiriabut Telephone has DTMF capabilites, if that was your concern
22:44.02*** join/#asterisk clarjon1 (~clarjon1@unaffiliated/clarjon1)
22:46.56*** join/#asterisk qxork (~qxork@unaffiliated/qxork)
22:51.42*** join/#asterisk justdave (~dave@unaffiliated/justdave)
22:53.32*** join/#asterisk justdave_ (~dave@unaffiliated/justdave)
23:33.32*** join/#asterisk mutin-s (~s-mutin@85.234.114.134)

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