Call rejected No Extension Found

Hi,

Im receiving this error

Call from ‘’ to extension ‘333’ rejected because extension not found

when i try to reach an extension in asterisk from a Cisco Call Manager Express but i can call from Asterisk to CCME. I have another scenario where this works perfectly. In that scenario i have Elastix.

Here is part of my Extensions.conf

[from-monte]

exten => _3XX,1,Answer()
exten => _3XX,n,Dial(SIP/${EXTEN})
exten => _3XX,n,hangup

Here mi Sip.conf
[general]

context=default
bindport=5060
bindaddr=0.0.0.0
srvlookup=yes
language=es
insecure=invite
;--------------------------------------------

[ENCCM01]
type=peer
host=172.16.0.2
context=from-ciscocm
disallow=all
allow=g729
allow=ulaw
allow=alaw
nat=yes
canreinvite=yes
qualify=yes
reinvite=yes
relaxdtmf=yes

;[fromcmelv]
;type=peer
;context=from-ciscocm
;host=10.240.31.1
;disallow=all
;allow=g729
;allow=ulaw
;allow=alaw
;nat=yes
;canreinvite=yes
;qualify=yes
;reinvite=yes

[from-monte]
context=from-monte
host=10.240.40.129
username=userid
secret=password
type=peer
disallow=all
allow=g729
allow=ulaw
allow=alaw
nat=yes
canreinvite=yes
qualify=yes
reinvite=yes

[montecristi]
type=user
;username=username
secret=password
context=from-monte

[334]
type=friend
seret=123456
context=from-monte
;record_out=Adhoc
;record_in=Adhoc
qualify=yes
;port=5060
nat=yes
;mailbox=334@device
host=dynamic
;dtmfmode=rfc2833
;dial=SIP/334
disallo=all
allow=g729
allow=ulaw
allow=alaw
canreinvite=yes
qualify=yes
reinvite=yes

[333]
type=friend
secret=123456
;record_out=Adhoc
;record_in=Adhoc
qualify=yes
port=5060
nat=yes
mailbox=333@device
host=dynamic
dtmfmode=rfc2833
dial=SIP/333
context=from-monte
disallow=all
allow=g729
allow=ulaw
allow=alaw
nat=yes
canreinvite=yes
qualify=yes
reinvite=yes

HERE MY DIAL_PEER in CCME

dial-peer voice 333 voip
destination-pattern 33.
session protocol sipv2
session target ipv4:10.240.32.8:5060
session transport udp
dtmf-relay rtp-nte
codec g711ulaw
no vad

ANY IDEAS???

your cisco call manager needs to be a member of the from-monte context in your sip.conf or create the context from-ciscocm in extensions.conf and use include to make it a member.

you can use contexts to give the phone’s rights to dial phone numbers, like the boss can dial any number and the worker can’t dial to mobile numbers.

Thanks. Centainly the problem was with the context, the problem was that the call from CCME was going to DEFAULT CONTEXT so there was nothing and call die there. The problem was solved putting the configuration in the DEFAULT CONTEXT

THANKS