Saturday, December 29, 2007

[asterisk-users] asterisk callerid

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@192.168.1.1>;tag ...
To: <sip:2-7@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@iinet.net.au>
Home in Perth!

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:

http://lists.digium.com/mailman/listinfo/asterisk-users

No comments: