Skip to Content.
Sympa Menu

isn-discuss - caller-ID / asterisk 1.6.x extensions.conf

Subject: Discussion List for Freenum/ITAD Subscriber Number (ISN) Project

List archive

caller-ID / asterisk 1.6.x extensions.conf


Chronological Thread 
  • From: Maxim Samo <>
  • To:
  • Subject: caller-ID / asterisk 1.6.x extensions.conf
  • Date: Fri, 05 Dec 2008 12:56:12 +0100
  • Domainkey-signature: a=rsa-sha1; s=swillux; d=swill.org; c=simple; q=dns; b=b/uvIloE0HnzqT92QMxyFpeGMc7SRlGZyd0Gtwve8Cvo1A5PWhx/1s5ORK/Sd9oJn K/dEMtCAmGdjMTBmKjNzQ==

Hi,

I recently joined the ISN trial and like the idea. I hope it takes off.
2 things I noticed:

1. suggested caller-id is the sip URI. I noticed though that some
destinations - particularly freeworlddialup - think that this would be a
malformed URI and hence I reverted to using old-school phone number
(enum searchable).

2. The asterisk snipets in the cookbook needed some tweaking to get
working with 1.6.x. Here's what I use:

[isn]
exten => _X.,1,Set(CALLERID(num)=12125551212)
exten => _X.,n,Set(CALLERID(name)="name here")
exten => _X.,n,Set(TIMEOUT(absolute)=10800)
exten => _X.,n,Set(isnresult=${ENUMLOOKUP(${EXTEN},sip,,1,freenum.org)})
exten => _X.,n,NoOp(${isnresult})
exten => _X.,n,GotoIf($["${isnresult}" = ""]?end:dial)
exten => _X.,n(dial),Dial(SIP/${isnresult},100)
exten => _X.,n(end),Congestion


regards,

Maxim Samo

Attachment: smime.p7s
Description: S/MIME cryptographic signature




Archive powered by MHonArc 2.6.16.

Top of Page