Callerid Not Received From Dahdi

Home » Asterisk Users » Callerid Not Received From Dahdi
Asterisk Users 6 Comments

Hi,

my scenario is below

analog phone (10 to 99)——> pbx——>(77)asterisk——–> jitsi(2000)

i have analog telephone interface numbered 77 attached with Asterisk and other sip user is 2000 on jitsi.

I can call from any number from 10 to 99(in intercom) on 77 and ivr response will come then i can typed 2000# and call go to 2000 named user in asterisk.

Now my problem is when i am calling from 10 to 99 (any number) this number should display to sip 2000’s user. But its not showing to user. Its shows asterisk@my_asterisk_server_ip.

my config. as follow

extension.conf

exten => s,1,Goto(phrase-menu,s,1)

[phrase-menu]

exten => s,1,Answer()
exten => s,2,Wait(1)
exten => s,3,Read(PHRASEID,/var/lib/asterisk/sounds/custom/soip)
exten => s,4,Wait(2)
exten => s,5,Set(CALLERID(num,CID)=${CALLERID})
exten => s,6,Dial(SIP/${PHRASEID},40,tT)
exten => h,1,Hangup()

and in chan_dahdi.conf

; General options
[channels]
usecallerid=yes hidecallerid=no callwaiting=yes threewaycalling=yes transfer=yes echocancel=yes echocancelwhenbridged=yes cidsignalling=dtmf cidstart=polarity callerid=asreceived rxgain=0.0
txgain=0.0
;FXO Modules group=1
echocancel=yes signalling=fxs_ks context

6 thoughts on - Callerid Not Received From Dahdi

  • [snip]

    I realize this probably seems silly, but I do not think it’s in my best interest to ignore threats of appropriate legal action for forwarding this email to someone who might be able to help or archiving on a message board, etc..

    Do you think you could talk to the people who manage your mail server and have the disclaimer removed? They may be interested in:

    http://www.goldmark.org/jeff/stupid-disclaimers

  • Remove the CID option. It does nothing in this case because it does not apply. The CID option here only applies to reading not writing. Please re-read the documentation for CALLERID().

    From your description, the link between the pbx and (77)asterisk is analog. Analog can only pass caller id information in one direction. It looks like you have it setup to pass caller id from the pbx to (77)asterisk. Is the pbx even sending caller id?
    Is it sending it in the form you have configured in Asterisk?
    (dtmf, polarity start, dtmfcidlevel=???)

    Richard

  • my scenario is below

    analog phone (10 to 99)——> pbx——>(77)asterisk——–> jitsi(2000)

    i have analog telephone interface numbered 77 attached with asterisk and other sip user is 2000 on jitsi.

    I can call from any number from 10 to 99(in intercom) on 77 and ivr response will come then i can typed 2000# and call go to 2000 named user in asterisk.

    Now my problem is when i am calling from 10 to 99 (any number) this number should display to sip 2000’s user. But its not showing to user. Its showsasterisk@my_asterisk_server_ip
    < https://webmail.cdac.in/twig/index.php?&s%5Bmailbox%5D=mail%2Fsent-mail&s%5BmailGroup%5D=%2A&s%5Bmail_startmsg%5D=1&s%5Bsortby%5D

  • From the last time you sent this to the list, here’s the response from Richard Mudgett

    Remove the CID option. It does nothing in this case because it does not apply. The CID option here only applies to reading not writing. Please re-read the documentation for CALLERID().

    From your description, the link between the pbx and (77)asterisk is analog. Analog can only pass caller id information in one direction. It looks like you have it setup to pass caller id from the pbx to (77)asterisk. Is the pbx even sending caller id?
    Is it sending it in the form you have configured in Asterisk?
    (dtmf, polarity start, dtmfcidlevel=???)

  • Hi,

    Thank you for your reply.
    77 ext. number is connected with my asterisk. so any one want to talk with jitsi(pc), they have to dial 77 then 2000#(jitsi sip user number).

    my pbx is sending callerid. i can see on other analog phone display.

    Yes pbx is sending callerid. When i dial any ext. number from jitsi.

  • Does the manual for your PBX say anything about how it’s sending the CallerID information?

    Knowing specifically how the CallerID is supposed to be sent can allow us to more quickly narrow in on why you may not be detecting it.

    Also, in the configs you originally posted you had #include dahdi-channels.conf. Would it be possible to send that configuration options you have attached in that file as well?

    Cheers, Shaun