I have a dialplan entry that needs to send the call to internal extension 1234, here is how it looks
exten => 1230,n,Dial(SIP/1234)
When this happens call never connects and I get “Purely numeric hostname (1234), and not a peer–rejecting!”
exten => 1234,1,Answer()
exten => 1234,n,Record(asr/mymessage.wav,1,4,nobeep)
exten => 1234,n,Playback(asr/mymessage)
exten => 1234,n,Hangup()
Seems like asterisk expects this extension to be registred user extension, but it is system extension.
I am sure I am just missing something due to lack of sleep.