as5300 problem with ani/callerid

hi,

i use a cisco as5300 for sending calls to the pstn, but the calls do not have a ani/callerid. I set the callerid in the extensions.conf but that has not ssolved the problem.

any ideas ?

cu, florian

What do you see in the Caller Id display?

I also have an AS-5300 and I see the phone number of the calling party. You are not supposed to see the name of the calling party; that’s a separate service (which can be implemented with a script).

-RFH

no, that’s not the problem. When I look into the cdr-records of our pstn-switch (we are providing a call-by-call service for around 50.000 customers) the records have no ani. So somehow the as5300 or asterisk is not sending the callerid or ani.

the relevant lines of my sip.conf:

--snip--
[general]
context=replaced.net
realm=replaced.net
port=5060
;bindaddr=
srvlookup=yes
language=de
fromdomain=replaced.net

[connecttest1]
context=replaced.net
type=friend
insecure=yes
host=123.123.123.123
disallow=all
allow=g729
allow=ulaw
canreinvite=no
reinvite=no
dtmfmode=rfc2833
--snap--

and of my extensions.conf

--snip--
exten => _X.,1,SetCallerID(123412341234|a)
exten => _X.,2,SetCIDName(test)
exten => _X.,3,Dial(SIP/${EXTEN}@connecttest1)
--snap--

Maybe somebody know what value in the as5300 uses in the ip-dialog as ani (or callerid). So I can debug on asterisk if it sends this values.

thanks, florian

as5300, aterisk
call to as5300:
exten => _[2345]x,1,setcallerid(442352728)
exten => _X.,2,dial(SIP/${EXTEN}@cisco,ro)
this is working
’o’ in dial only for 1.2._beta