Page 1 of 1

SIP Peering & Additional SIP Accounts

PostPosted: Thu May 29, 2008 2:20 am
by mtaib
I just downloaded Vicidialnow 1.1rc2, everything works great. But strange enough, i couldn't add any extra sip peering or sip clients in the system. Asterisk only accepts those pre-defined sip accounts.. the same goes to IAX as well.

Any Idea..? I just want try with a sip peer and non-internal number..


Regards

Kondela

PostPosted: Thu May 29, 2008 3:56 am
by Op3r
yes you can add anything by editing iax.conf and sip.conf and extensions.conf

PostPosted: Thu May 29, 2008 6:03 am
by mtaib
Yes, i know with base VICIDIAL install i could do it. but with Vicidialnow, anything new is not accepted.

for example, i tried to add a new extension 2100 (just to simulate an extennal number) and i tried to to map my new DID with my provider. both didn't work fine. But with Base Install, it was pretty much easy.

Is it a bug in rc2, because i tried with 1.0.1, it works fine.

Regards

Kondela

PostPosted: Thu May 29, 2008 6:24 am
by Op3r
post the context here.

PostPosted: Thu May 29, 2008 7:55 am
by mtaib
Ok This is What i did. In my sip.conf :

[cc476]
context=external
disallow=all
allow=ulaw
allow=alaw
type=friend
usernanme=cc476
secret=test
host=dynamic
dtmfmode=inband
qualify=1400
mailbox=2100


in my externsions.conf:

[external]

exten => 2100,1,Dial(sip/cc476)


And.. This is what i recieved when i do debug the SIP in asterisk:
May 29 08:38:30 NOTICE[2637]: chan_sip.c:11320 handle_request_register: Registration from '"Kondela"<sip:cc476@192.168.1.201>' failed for '192.168.1.105' - ACL error (permit/deny)
Scheduling destruction of call 'YThlMmZiZWI5YWIyMWQyMDcwOGU1NDc1M2M4NzRlMmY.' in 15000 ms