Adnan Ahmed
2004-Nov-21 10:22 UTC
[Asterisk-Users] I Am Missing Something Somewhere Somehow!
hi,
I am not registered my SIP Phone with Asterisk i spend almost one day
but find no luck my configs are.
sip.conf
[general]
port=5060
bindaddr=192.168.10.195
disallow=all
allow=alaw
allow=ulaw
[101]
username=101
type=friend
secret=1234
host=192.168.10.195
context=sip
callerid="101"<101>
defaultip=192.168.10.176
extensions.conf
[globals]
[incoming]
exten => s,1,Dial(Zap/1)
[outgoing]
exten => _NXXXXXX,1,Dial/Zap/4/${EXTEN:0}
exten => _0NXXXXXXXX,1,Dial,Zap/4/${EXTEN:0}
exten => _0NXXXXXXXXX,1,Dial,Zap/4/${EXTEN:0}
exten => _0NXXXXXXXXXX,1,Dial,Zap/4/${EXTEN:0}
exten => 101,1,Dial,Zap/4(SIP/101)
[sip]
exten => 101,1,Dial(SIP/101,20)
here are the console output : show no errors but also not working
(running Asterisk in quite mode :-X ).
*cli>sip show registry
Host Username
Refresh State
*cli>sip show users
Username Secret Authen
Def.Context A/C
101 12345678 md5,plaintext
sip No
*cli>sip show peers
Name/Username Host Mask
Port Status
101/101 192.168.10.195 255.255.255.255
5060 Unmonitored
*cli>sip show channels
Peer User/ANR Call ID Seq
(Tx/Rx) Lag Jitter Buffer
0 active SIP channel(s)
kindly pointout my mistakes/errors and helping me out.
I am searching wiki,google but no luck i am tried several configs but
all in vein please please helping me out :-( .
Thanks In Advance .
Adnan Ahmed.
Adnan Ahmed
2004-Nov-21 11:23 UTC
[Asterisk-Users] I Am Missing Something Somewhere Somehow!
el Flynn wrote:> Adnan Ahmed wrote: > >> hi, >> I am not registered my SIP Phone with Asterisk i spend almost one >> day but find no luck my configs are. >> > > <snip> > >> *cli>sip show peers >> Name/Username Host >> Mask Port Status >> 101/101 192.168.10.195 255.255.255.255 >> 5060 Unmonitored >> > > your "sip show peers" command shows that the phone is indeed connected > to your Asterisk server. If you are having problems doing stuff with > it, may I suggest you changing your dialplan to the following just to > test things out: > > [sip] > exten => 1,1,VoicemailMain > exten => 1,2,Hangup > > then restart asterisk and dial "1" from your SIP phone. If you can > hear the voicemail application prompts then you're okay. > > flynn > > *It's not working still in silence mode don't show anything don't do > anything any other suggestions,tips ,configs .*Thanks In Advance
Soren Rathje
2004-Nov-24 05:43 UTC
[Asterisk-Users] I Am Missing Something Somewhere Somehow!
Adnan Ahmed wrote:> hi, > I am not registered my SIP Phone with Asterisk i spend almost one > day but find no luck my configs are.Please post console log with errormessage.. My guess is the "host=192.168.10.195" definition and the use of "context=sip" not matching the dialplan. /Soren
Matthew Marlowe
2004-Nov-24 06:22 UTC
[Asterisk-Users] I Am Missing Something Somewhere Somehow!
Are you sure your phone is registered? It probably is. In sip.conf you you have context=sip and in sip you have only 101, So all you can dial from your phone is 101. You might want to put under sip context include => outgoing and try making an outgoing call On Wed, 24 Nov 2004 13:43:58 +0100, Soren Rathje <asterisk@lolle.org> wrote:> Adnan Ahmed wrote: > > hi, > > I am not registered my SIP Phone with Asterisk i spend almost one > > day but find no luck my configs are. > > Please post console log with errormessage.. > > My guess is the "host=192.168.10.195" definition and the use of > "context=sip" not matching the dialplan. > > /Soren > > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- MBM