Originating call with wrong context

Hi All!

I’m posting this topic because i’ve been having a problem with asterisk recently and I want to know if someone have seen this issue before.

I’m originating calls using asterisk-java, and i’m hard coding the context to “outbound”. After noticing that some receipts weren’t arriving I checked the cdr-csv records, and found out that some of the calls were sent to the default context (“did”) instead of “outbound” with no apparent reason. However, the last action performed in the dial plan belonged to the “outbound” context.

Any ideas? I’m using asterisk 1.4.22

my records:

s outbound SIP/is-0946d098 Hangup
s outbound SIP/is-09469018 Hangup
s outbound SIP/is-0946ba00 Hangup
s outbound SIP/is-09477788 Hangup
s outbound SIP/is-09469018 Hangup
s outbound SIP/is-0946ba00 Hangup
s outbound SIP/is-09477a98 Hangup
s outbound SIP/is-09469000 Hangup
s outbound SIP/is-0946ba00 Hangup
s outbound SIP/is-09468f80 Hangup
s outbound SIP/is-09477a68 Hangup
s outbound SIP/is-0946b738 Hangup
s did SIP/is-09468f70 WaitForSilence
s outbound SIP/is-09477a68 Hangup
s outbound SIP/is-0946b738 Hangup
s outbound SIP/is-09468f50 Hangup
s outbound SIP/is-0946b738 Hangup
s outbound SIP/is-09477a68 Hangup
s outbound SIP/is-09468f50 Hangup
s outbound SIP/is-09473d38 Hangup
s outbound SIP/is-0946b738 Hangup
s outbound SIP/is-09468f50 Hangup
s outbound SIP/is-09478098 Hangup
s outbound SIP/is-0946b738 Hangup
s outbound SIP/is-09468e88 Hangup
s outbound SIP/is-09477f50 Hangup
s outbound SIP/is-0946b738 Hangup
s outbound SIP/is-09468e58 Hangup
s did SIP/is-0946b738 WaitForSilence
s outbound SIP/is-09477f50 Hangup
s outbound SIP/is-09468e58 Hangup
s outbound SIP/is-0946b738 Hangup
s outbound SIP/is-09477e68 Hangup
s outbound SIP/is-09468e28 Hangup
s outbound SIP/is-0946b738 Hangup
s outbound SIP/is-09482d80 Hangup
s outbound SIP/is-094779c0 Hangup
s did SIP/is-0946b738 WaitForSilence
s outbound SIP/is-094699a8 Hangup
s outbound SIP/is-0946d380 Hangup
s outbound SIP/is-0946b738 Hangup

Thanks,
Laura