Skip to Content.
Sympa Menu

isn-discuss - Testing ISNs with FreePBX

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

List archive

Testing ISNs with FreePBX


Chronological Thread 
  • From:
  • To:
  • Subject: Testing ISNs with FreePBX
  • Date: Tue, 27 Oct 2009 17:11:13 -0400 (EDT)

Hello all,

I'm trying to embed outgoing ITAD dialing into FreePBX. Inbound will follow
sometime later. As far as I can tell, outbound is working, but I have no
numbers to dial! All I've got is 1234*256 and that one is reporting a server
error for both SIP and IAX2 technologies. (Softphone dialing to

yields the same.) Or am I wrong here?

If 1234*256 is indeed down, does any of you run a service that I can use for
my outbound tests without bothering a person? I like the ISN/ITAD scheme
very much, but wonder if it actually being used at all?

BTW, I am using an ISN parser programmed in Asterisk's tricky assemblish
language, perhaps it is useful to others as well. I've attached the code.


Best wishes,

Rick van Rein
OpenFortress



;
; Experiment to parse an ISN into ${DIAL_SUBSCRIBER} and ${DIAL_ITAD}.
; In case of a syntax error, both variables will be empty. In case of
; success, both variables will be non-empty.
;
[sub-parse-isn]
exten => _Z.,1,Set(DIAL_SUBSCRIBER=)
exten => _Z.,2,Set(DIAL_ITAD=)
exten => _Z.,3,Goto(sub-parse-isn-subscriber,${EXTEN},1)
exten => _.,1,Set(DIAL_SUBSCRIBER=)
exten => _.,2,Set(DIAL_ITAD=)
exten => _.,3,Return

[sub-parse-isn-subscriber]
exten => _X.,1,Set(DIAL_SUBSCRIBER=${DIAL_SUBSCRIBER}${EXTEN:0:1})
exten => _X.,2,Goto(sub-parse-isn-subscriber,${EXTEN:1},1)
exten => _*Z.,1,Goto(sub-parse-isn-domain,${EXTEN:1},1)
exten => _.,1,Set(DIAL_SUBSCRIBER=)
exten => _.,2,Return

[sub-parse-isn-domain]
exten => _X,1,Set(DIAL_ITAD=${DIAL_ITAD}${EXTEN:0:1})
exten => _X,2,Return
exten => _X.,1,Set(DIAL_ITAD=${DIAL_ITAD}${EXTEN:0:1})
exten => _X.,2,Goto(sub-parse-isn-domain,${EXTEN:1},1)
exten => .,1,Set(DIAL_ITAD=)
exten => .,2,Set(DIAL_SUBSCRIBER=)
exten => .,3,Return



Archive powered by MHonArc 2.6.16.

Top of Page