From mboxrd@z Thu Jan 1 00:00:00 1970 From: "briangpowell ." Subject: Re: sip: links Date: Tue, 23 Jun 2015 00:24:18 -0400 Message-ID: References: <20150620172345.5ec7bd92@jupiter.pipapo.org> <87y4jdjqjj.fsf@strey.biz> <20150621181508.613cf089@jupiter.pipapo.org> <87mvzshz3l.fsf@strey.biz> <20150622170202.286a8986@jupiter.pipapo.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e011849c486557a051927c3b3 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38146) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7Fky-0002dL-Lh for emacs-orgmode@gnu.org; Tue, 23 Jun 2015 00:24:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7Fkx-000600-BT for emacs-orgmode@gnu.org; Tue, 23 Jun 2015 00:24:20 -0400 Received: from mail-vn0-x22f.google.com ([2607:f8b0:400c:c0f::22f]:34699) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7Fkx-0005zt-66 for emacs-orgmode@gnu.org; Tue, 23 Jun 2015 00:24:19 -0400 Received: by vnbg190 with SMTP id g190so652022vnb.1 for ; Mon, 22 Jun 2015 21:24:18 -0700 (PDT) In-Reply-To: <20150622170202.286a8986@jupiter.pipapo.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Christian Thaeter Cc: emacs-orgmode --089e011849c486557a051927c3b3 Content-Type: text/plain; charset=UTF-8 Cool, what do you do with "xmpp:"? On Mon, Jun 22, 2015 at 11:02 AM, Christian Thaeter wrote: > > > On 2015-06-22 11:27, Michael Strey wrote: > > > On So, 2015-06-21, Christian Thaeter wrote: > > > > [...] > > > > > looks good, I'll use that instead of my hack. > > > > Look out for bugs. It's one of my very first emacs-lisp hacks. > > > > > I've a minor ideas to add: > > > > > > Instead just append the telephone number to the end of the > > > dial command one could use (org-replace-escapes STRING TABLE), that > > > allows little more flexible commandline generation. > > > > Thanks for the hint. Could you please give me an example where this > > increased flexibility would be required? > > I am using linphone too, where that just works to append the > sanitized telephone number at the end. But I can imagine that other > dial programs may have different calling conventions. Also I may feel a > bit safer by quoting the telephone number, For example: > > linephone -c 'sip:%n' > > Maybe in the long run (I have no urge here, works for me now). > You/we/someone could make this whole thing more generic, handling > different kinds of communication protocols (I made another one for > xmpp: meanwhile). > > tel: urls are somewhat simple https://www.ietf.org/rfc/rfc3966.txt > (still surprisingly more syntax than just a number) but when you look > at sip: http://tools.ietf.org/html/rfc3261#section-19.1 things get way > more complicated. > > Christian > > > > > > > Best regards > > -- > > Michael Strey > > http://www.strey.biz * https://twitter.com/michaelstrey > > > > > > > --089e011849c486557a051927c3b3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Cool, what do you do with "xmpp:"?

On Mon, Jun 22, 2015 at 1= 1:02 AM, Christian Thaeter <ct.orgmode@pipapo.org> wrote= :


On 2015-06-22 11:27, Michael Strey wrote:

> On So, 2015-06-21, Christian Thaeter wrote:
>
> [...]
>
> > looks good, I'll use that instead of my hack.
>
> Look out for bugs.=C2=A0 It's one of my very first emacs-lisp hack= s.
>
> > I've a minor ideas to add:
> >
> > Instead just append the telephone number to the end of the
> > dial command one could use (org-replace-escapes STRING TABLE), th= at
> > allows little more flexible commandline generation.
>
> Thanks for the hint.=C2=A0 Could you please give me an example where t= his
> increased flexibility would be required?

I am using linphone too, where that just works to append the
sanitized telephone number at the end. But I can imagine that other
dial programs may have different calling conventions. Also I may feel a
bit safer by quoting the telephone number, For example:

=C2=A0 linephone -c 'sip:%n'

Maybe in the long run (I have no urge here, works for me now).
You/we/someone could make this whole thing more generic, handling
different kinds of communication protocols (I made another one for
xmpp: meanwhile).

tel: urls are somewhat simple https://www.ietf.org/rfc/rfc3966.t= xt
(still surprisingly more syntax than just a number) but when you look
at sip: http://tools.ietf.org/html/rfc3261#section-19= .1 things get way
more complicated.

=C2=A0 =C2=A0 =C2=A0 =C2=A0 Christian



>
> Best regards
> --
> Michael Strey
> = http://www.strey.biz * https://twitter.com/michaelstrey
>
>



--089e011849c486557a051927c3b3--