Well, here is a more detail debug info. The example is for a call make from 10102 to 10101, in the called phone (10101) i can see the correct CID info (agustin, 10102).
My Asterisk version is 1.2, the Jive messenger and Asterisk-im is the latest stable from this site.
That is my dialplan setup:
exten => 10101,1,SetCIDNum(10102)
exten => 10101,2,SetCIDName(agustin)
exten => 10101,3,Dial(SIP/10101,20,r)
exten => 10102,1,SetCIDNum(10101)
exten => 10102,2,SetCIDName(antoniofcano)
exten => 10102,3,Dial(SIP/10102,20,r)
And here is the Received message from Asterisk-IM:
It sets the CID of the called number and not of the phone that originates the call…
And the Manager output is that:
Event: Newchannel
Privilege: call,all
Channel: SIP/10102-c84d
State: Ring
CallerID: 10102
CallerIDName: agustin
Uniqueid: 1133898126.33
Event: ExtensionStatus
Privilege: call,all
Exten: 10102
Context: ext-local
Status: 1
Event: Newexten
Privilege: call,all
Channel: SIP/10102-c84d
Context: from-internal
Extension: 10101
Priority: 1
Application: SetCIDNum
AppData: 10102
Uniqueid: 1133898126.33
Event: Newcallerid
Privilege: call,all
Channel: SIP/10102-c84d
CallerID: 10102
CallerIDName: agustin
Uniqueid: 1133898126.33
CID-CallingPres: 0 (Presentation Allowed, Not Screened)
Event: Newexten
Privilege: call,all
Channel: SIP/10102-c84d
Context: from-internal
Extension: 10101
Priority: 2
Application: SetCIDName
AppData: agustin
Uniqueid: 1133898126.33
Event: Newcallerid
Privilege: call,all
Channel: SIP/10102-c84d
CallerID: 10102
CallerIDName: agustin
Uniqueid: 1133898126.33
CID-CallingPres: 0 (Presentation Allowed, Not Screened)
Event: Newexten
Privilege: call,all
Channel: SIP/10102-c84d
Context: from-internal
Extension: 10101
Priority: 3
Application: Dial
AppData: SIP/10101|20|r
Uniqueid: 1133898126.33
Event: Newchannel
Privilege: call,all
Channel: SIP/10101-4fb2
State: Down
CallerID:
Uniqueid: 1133898126.34
Event: ExtensionStatus
Privilege: call,all
Exten: 10101
Context: ext-local
Status: 8
What could it be? A problem of my Asterisk config? One bug in asterisk-im? A missconfigured option into asterisk-im?
I’‘m really confused and don’'t have any idea
Thanks for all,
PS: The support of Coccinella for asterisk-im is in advanced state, we have all features (presence notify, call origination, call forwarding and inbound notification) coded, and upload into the CVS version, now we are making tests.