Incoming Call not being handled properly

I am connected with VoipStreet and my iax2 show registry displays ‘registered’.

There is no firewall between me and them.

I am trying to use the demo example from the config file and have set up the following in my extensions.conf

[default]
include => debug
exten => s,1,Wait,1 ; Wait a second, just for fun
exten => s,n,Answer ; Answer the line
exten => s,n,Set(TIMEOUT(digit)=5) ; Set Digit Timeout to 5 seconds
exten => s,n,Set(TIMEOUT(response)=10) ; Set Response Timeout to 10 seconds
exten => s,n(restart),BackGround(demo-congrats) ; Play a congratulatory message
exten => s,n(instruct),BackGround(demo-instruct) ; Play some instructions
exten => s,n,WaitExten ; Wait for an extension to be dialed.

exten => 2,1,BackGround(demo-moreinfo) ; Give some more information.
exten => 2,n,Goto(s,instruct)

exten => 3,1,Set(LANGUAGE()=fr) ; Set language to french
exten => 3,n,Goto(s,restart) ; Start with the congratulations

[debug]]
exten => h,1,NoOp(EXTEN : ${EXTEN})
exten => h,2,NoOP(SIPDOMAIN : ${SIPDOMAIN})
exten => h,3,NoOP(SIPCALLID : ${SIPCALLID})
exten => h,4,NoOP(SIPUAGENT : ${SIPUSERAGENT})
exten => h,5,NoOP(CALLERID : ${CALLERID})
exten => h,6,NoOP(CALLERNAME: ${CALLERIDNAME})
exten => h,7,NoOP(CALLERNUM : ${CALLERIDNUM})
exten => h,8,NoOP(RDNIS : ${RDNIS})
exten => h,9,NoOP(DNID : ${DNID})
exten => h,10,NoOP(SIPDOMAIN : ${SIPDOMAIN})
exten => h,11,NoOP(CONTEXT : ${CONTEXT})

I call the number and I get the following error on the console:

Tx-Frame Retry[-01] – OSeqno: 001 ISeqno: 002 Type: IAX Subclass: ACK
Timestamp: 00045ms SCall: 00001 DCall: 00152 [208.100.6.10:4569]

Oct 25 11:32:04 NOTICE[42456]: chan_iax2.c:7320 socket_read: Rejected connect attempt from 208.100.6.10, request ‘1514XXXXXXX@default’ does not exist

Tx-Frame Retry[000] – OSeqno: 001 ISeqno: 002 Type: IAX Subclass: REJECT
Timestamp: 00040ms SCall: 00001 DCall: 00152 [208.100.6.10:4569]
CAUSE : No such context/extension
CAUSE CODE : 3

I am very new to this but if I put the following there instead of the above, the call gets routed properly and the phone rings:

exten => 1514XXXXXXX,1,Dial(SIP/user1)

However, I want to install an IVR and I need to get it working like in all the config files I saw on the Internet.

What am I doing wrong in the demo context ?

Note: I don’t actually have X’s in there. I just edited my real phone # out.

Hi just change to the following

exten => 1514XXXXXXX,1,Goto(default,s,1)

or whatever destination

Genius!!

thank you very much.