[asterisk-users] asterisk callerid

William Kenworthy billk at iinet.net.au
Sun Dec 30 00:41:04 CST 2007


I'm missing something simple I think:

I have an spa3102 for which I want asterisk to use the incoming pstn
callerid when it sends the call to a local extension (207).

callerid works fine for the internal phones (between each other)
The spa3102 is picking up the PSTN callerid and displays it in its own
status pages

Asterisk however, doesnt see the callerid at all.  

The spa3102 is set to:
PSTN CID For VoIP CID to Yes
Dialplan 3 to (S0:<207>)

In the SIP messages I can see the callerid as:
From: MOBILE <sip:0419nnnnnn at 192.168.1.1>;tag ...
To: <sip:2-7 at 192.168.1.1>

At the cli I get (The 935nnnnn is the user ID for the pstn)

    -- Executing NoOp("SIP/Main-08169b68", ""935nnnnn" <207>") in new
stack
    -- Executing Dial("SIP/Main-08169b68", "SIP/207|60|t") in new stack


Context is a basic 'catchall'
[incoming]
 exten => s,1,NoOp(${CALLERID})
 exten => s,n,Dial(SIP/207,90,t)
 exten => s,n,Dial(SIP/202,90,t)
 exten => s,n,Congestion
 exten => s,n,Busy
 exten => s,n,Hangup

What am I missing?

BillK


-- 
William Kenworthy <billk at iinet.net.au>
Home in Perth!



More information about the asterisk-users mailing list