No subject


Fri Sep 2 03:59:05 CDT 2011


ard
Mudgett <rmudgett at digium.com>...

> 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 at my_asterisk_server_ip.
>
> my config. as follow
>
> extension.conf
>
> exten =3D> s,1,Goto(phrase-menu,s,1)
>
> [phrase-menu]
>
> exten =3D> s,1,Answer()
> exten =3D> s,2,Wait(1)
> exten =3D> s,3,Read(PHRASEID,/var/lib/asterisk/sounds/custom/soip)
> exten =3D> s,4,Wait(2)
> exten =3D> s,5,Set(CALLERID(num,CID)=3D${CALLERID})

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().

> exten =3D> s,6,Dial(SIP/${PHRASEID},40,tT)
> exten =3D> h,1,Hangup()
>
>
> and in chan_dahdi.conf
>
> ; General options
> [channels]
> usecallerid=3Dyes
> hidecallerid=3Dno
> callwaiting=3Dyes
> threewaycalling=3Dyes
> transfer=3Dyes
> echocancel=3Dyes
> echocancelwhenbridged=3Dyes

> cidsignalling=3Ddtmf
> cidstart=3Dpolarity
> callerid=3Dasreceived

> rxgain=3D0.0
> txgain=3D0.0
> ;FXO Modules
> group=3D1
> echocancel=3Dyes
> signalling=3Dfxs_ks
> context=3Ddefault
> channel=3D1-20
>
> #include dahdi-channels.conf



More information about the asterisk-users mailing list