Skip to Content.
Sympa Menu

isn-discuss - Re: [isn-discuss] caller-ID / asterisk 1.6.x extensions.conf

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

List archive

Re: [isn-discuss] caller-ID / asterisk 1.6.x extensions.conf


Chronological Thread 
  • From: John Todd <>
  • To:
  • Subject: Re: [isn-discuss] caller-ID / asterisk 1.6.x extensions.conf
  • Date: Fri, 5 Dec 2008 09:48:43 -0600


On Dec 5, 2008, at 5:56 AM, Maxim Samo wrote:

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).


I would suggest that's a major failing of FWD if they think that a SIP URI is malformed as the From: or Reply-To: header. The URI in the From: header doesn't necessarily have anything to do with the ISN sequence (though it could be an ISN in SIP format, such as sip:1234*) but should be the standard SIP URI for a return path. If FWD doesn't understand SIP URIs that are non-E.164, I would suggest that this is not a failing of the recommendations for ISN dialing behavior but is in fact a serious and fundamental flaw in their parsing engine.

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

OK, thanks! I should really start editing that document again to clean it up.

JT




Archive powered by MHonArc 2.6.16.

Top of Page