[Asterisk-bsd] getting callerid from spa3k to asterisk

Randy Bush randy at psg.com
Thu Nov 11 18:16:01 CST 2004


i have been beating my head against this ever since i upgraded
to 1.01 from 0.9.7.  i have spent many hours tweaking parametes 
on the spa3k etc.

i spent half of today working with someone running a very very
similar environment excpept he is running 1.0.2.  and it is
working for him.

so this is a whine for either clue on the actual problem, likely
from a sip-head or for a test version of 1.0.2 for freebsd current.

thanks for listening to my whining.  and sorry.

randy


From: Randy Bush <randy at psg.com>
To: splatters <asterisk-users at lists.digium.com>
Subject: getting callerid from spa3k to asterisk
Date: Sun, 7 Nov 2004 15:28:58 -0800

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-BSD mailing list