OriginateAction - Asterisk-java 1.0.0 + Asterisk 1.8.10.1

Hi, I’m having some trouble when I try to do this OriginateAction:

Action: Originate
Channel: agent/1642
Context: extensions-1
Exten: 61234567
Priority: 1
Callerid: "“campaignid:4” <1642>"
Timeout: null
Async: true

In the Asterisk 1.4.42 it works fine, but when I use the Asterisk 1.8.10.1 I get a failure response. But it works if I try to do:

Action: Originate
Channel: SIP/5998
Context: extensions-1
Exten: 61234567
Priority: 1
Callerid: "“campaignid:4” <1642>"
Timeout: null
Async: true

I’m using asterisk-java 1.0.0 and asterisk 1.8.10.1

Thanks


This are the events I receive

Action: Originate
Channel: agent/1642
Context: extensions-1
Exten: 61234567
Priority: 1
Callerid: "“campaignid:4” <1642>"
Timeout: 30000
Async: true

Response: Success
Message: Originate successfully queued

Event: Newchannel
Privilege: call,all
Timestamp: 1346953799.426056
Channel: Agent/1642
ChannelState: 0
ChannelStateDesc: Down
CallerIDNum:
CallerIDName:
AccountCode:
Exten: *54
Context: extensions-1
Uniqueid: 1346953799.40

Event: MusicOnHold
Privilege: call,all
Timestamp: 1346953799.426640
State: Stop
Channel: SIP/5998-00000020
UniqueID: 1346953726.39

Event: NewAccountCode
Privilege: call,all
Timestamp: 1346953799.426679
Channel: Agent/1642
Uniqueid: 1346953799.40
AccountCode:
OldAccountCode:

Event: NewCallerid
Privilege: call,all
Timestamp: 1346953799.426697
Channel: Agent/1642
CallerIDNum: 1642
CallerIDName:
Uniqueid: 1346953799.40
CID-CallingPres: 0 (Presentation Allowed, Not Screened)

Event: Newstate
Privilege: call,all
Timestamp: 1346953799.683436
Channel: Agent/1642
ChannelState: 5
ChannelStateDesc: Ringing
CallerIDNum: 1642
CallerIDName:
ConnectedLineNum: 1642
ConnectedLineName:
Uniqueid: 1346953799.40

Event: Hangup
Privilege: call,all
Timestamp: 1346953823.136558
Channel: Agent/1642
Uniqueid: 1346953799.40
CallerIDNum: 1642
CallerIDName:
ConnectedLineNum: 1642
ConnectedLineName:
Cause: 0
Cause-txt: Unknown

Event: Agentlogoff
Privilege: agent,all
Timestamp: 1346953823.137109
Agent: 1642
Logintime: 87
Uniqueid: 1346953726.39

Event: OriginateResponse
Privilege: call,all
Timestamp: 1346953823.138437
Response: Failure
Channel: agent/1642
Context: extensions-1
Exten: 61234567
Reason: 1
Uniqueid:
CallerIDNum: 1642
CallerIDName:

Event: Hangup
Privilege: call,all
Timestamp: 1346953823.140115
Channel: SIP/5998-00000020
Uniqueid: 1346953726.39
CallerIDNum: 5998
CallerIDName: teste2
ConnectedLineNum:
ConnectedLineName:
Cause: 0
Cause-txt: Unknown

And after this my agent is logged off