[Asterisk-Users] getting callerid from spa3k to asterisk

Randy Bush randy at psg.com
Sun Nov 7 16:28:58 MST 2004


i am still dying on this one, and my critical user, my fiance'e,
is giving me hell over it on my home test environment; even my
daytime job, for which i am prototyping, is more patient. :-)

i can not get caller-id from a call coming in to the spa3k pstn
to asterisk.  fwiw, this used to work with older * and spa3k
versions, but of course it could be something i did to configs.

essentially, if i tell the spa3k to pass callerid to *, the sip
session gets rejected by *.  since no one seemed to like to see
ethereal output, i have posted * sip debug form of the sessions.

does anyone have their spa3k and * config working that i could
look at?  or, if you can shoot the bug, i'll pay you US$100 by
paypal or whatever.

the spa3k configiuration
<http://rip.psg.com/~randy/spa3k.html>

sip debug with spa3k config set to
PSTN / PSTN-To-VoIP Gateway Setup / PSTN CID For VoIP CID: = NO
call accepted ok, but no callerid received by asterisk
<http://rip.psg.com/~randy/debug-0.txt>

sip debug with spa3k config set to
PSTN / PSTN-To-VoIP Gateway Setup / PSTN CID For VoIP CID: = YES
call rejected by asterisk
<http://rip.psg.com/~randy/debug-1.txt>

sip.conf entry

    [spa3k-in]
    type=friend     ; user fails to register
    host=dynamic
    port=5061
    auth=md5
    secret=dontbesilly
    qualify=1000
    dtmfmode=rfc2833
    canreinvite=yes
    context=ext-in42

extensions.conf for the incoming

    [ext-in42]
    exten => _X.,1,NoOp("ext-in42 cid=${CALLERIDNUM}")
    exten => _X.,2,SetVar(areacode=206)
    exten => _X.,3,SetVar(mailbox=1)
    exten => _X.,4,GoTo(ext-common,s,1)

    [ext-common]
    exten => s,1,NoOp("ext-common cid=${CALLERIDNUM}")
    exten => s,2,Background(zz-who-common)
    exten => i,1,Hangup()
    exten => t,1,GoTo(ext-common,s,1)
    include => speeddials
    include => extensions
    include => conferences
    include => applications

randy




More information about the asterisk-users mailing list