Dialplan patterns

Hi guys!
I use Asterisk v.13. I created two sip-accounts in my users.conf(333 and 334). Also i wrote a simple dialplan in extension.conf

[default]
exten => _33х,1,Goto(dial-local,${EXTEN},1)

[dial-local]
exten => _33х,1,Dial(SIP/${EXTEN},40,tT)
same=>n,Hangup() 

But when a calling, for example, from 333 to 334 the conversation fails with next error

[Mar 10 15:37:17] NOTICE[101094][C-00000106]: pbx.c:4963 pbx_extension_helper: No such label 'stdexten' in extension '334' in context 'default'
[Mar 10 15:37:17] WARNING[101094][C-00000106]: pbx.c:12404 pbx_parseable_goto: Priority 'stdexten' must be a number > 0, or valid label
[Mar 10 15:37:17] ERROR[101094][C-00000106]: app_stack.c:575 gosub_exec: Gosub address is invalid: '334,stdexten(SIP/334&IAX2/334)' 

What can be wrong?

Howdy,

Use of users.conf is strongly discouraged. I presume you’re running into some issue caused by it.

Little remark.
I connecting between two asterisk servers. All peer configuration located in sip.conf
Server A.

[ServB]
type=friend
host=192.168.1.100
port=5060
secret=servB
qualify=yes
qualifyfreq=60
canreinvite=no
insecure=port,invite
dtmfmode=auto
disallow=all
allow=alaw
allow=ulaw

Server B.

[ServA]
type=friend
host=192.168.1.200
port=5060
secret=servA
qualify=yes
qualifyfreq=60
canreinvite=no
insecure=port,invite
dtmfmode=auto
disallow=all
allow=alaw
allow=ulaw

Few sip-client also connected to ServerA and use next dial-plan:

exten=>_33X,1,Dial(SIP/ServB/${EXTEN})

Call reaching Server B, but then fails with error.

[Mar 10 15:37:17] NOTICE[101094][C-00000106]: pbx.c:4963 pbx_extension_helper: No such label 'stdexten' in extension '334' in context 'default' [Mar 10 15:37:17] WARNING[101094][C-00000106]: pbx.c:12404 pbx_parseable_goto: Priority 'stdexten' must be a number > 0, or valid label [Mar 10 15:37:17] ERROR[101094][C-00000106]: app_stack.c:575 gosub_exec: Gosub address is invalid: '334,stdexten(SIP/334&IAX2/334)'

But when I create separate entry for numbers in [default] context on Server B, call is working.

[default]
exten =>333,1,Goto(dial-local,${EXTEN},1)
exten =>334,1,Goto(dial-local,${EXTEN},1)

[dial-local]
exten => _33х,1,Dial(SIP/${EXTEN},40,tT)
same=>n,Hangup() 

What I doing wrong?

It’s complaining about a part of the dialplan you haven’t provided.