[asterisk-users] asterisk callerid

William Kenworthy billk at iinet.net.au
Sun Dec 30 18:54:53 CST 2007


Fixed.

While trying to locate the fault, I had added a fixed callerid to the
extension I am using to test.  Once I fixed the original problem (dont
know what!), it still wouldnt work because of the fixed callerid

Feeling a bit ... ahhh ... stupid!

Thanks all,
BillK




On Sun, 2007-12-30 at 19:49 -0500, C F wrote:
> In fact the from user is making you the trouble.
> 
> On Dec 30, 2007 7:48 PM, C F <shmaltz at gmail.com> wrote:
> > Take out the fromuser field, you don't need it.
> >
> >
> > On Dec 30, 2007 7:37 PM, William Kenworthy <billk at iinet.net.au> wrote:
> > > sip.conf:
> > >
> > > [iinet-PSTN]
> > > type=friend
> > > disallow=all
> > > allow=ulaw
> > > allow=g729
> > > allow=alaw
> > > host=dynamic
> > > port=5061
> > > username=iinet-PSTN
> > > fromuser=iinet-PSTN
> > > secret=yetta90
> > > context=incoming
> > > canreinvite=no
> > > nat=route
> > > qualify=yes
> > > insecure=very
> > >
> > > *Note - below I said that 9355nnnnn is the username - its actually the
> > > display name.  The username is iinet-PSTN as above.  I also just changed
> > > it to iinet-PSTN - still no callerid showing up at asterisk.
> > >
> > > BillK
> > >
> > > On Sun, 2007-12-30 at 10:06 -0500, C F wrote:
> > > > what does your sip.conf look like for the spa
> > > >
> > > > On 12/30/07, William Kenworthy <billk at iinet.net.au> wrote:
> > > > > 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!
> > > > >
> > > > > _______________________________________________
> > > > > --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
> > > > >
> > > --
> > > William Kenworthy <billk at iinet.net.au>
> > > Home in Perth!
> > >
> >
-- 
William Kenworthy <billk at iinet.net.au>
Home in Perth!



More information about the asterisk-users mailing list