Hi all, i’m learning about Asterisk server and i have a problem. I built an Asterisk server where softphones can call to each other. It’s simple, but i want my system (Asterisk server) allows a softphone (Sip client) that isn’t sip user in my asterisk can call to my system or (a sip user in my system). It is described below:
My system is A server, and another system is B system.User 1 is a sip user in B system and isn’t sip user in A system. User 2 is a sip user in A system but isn’t user in B system. A and B are in the same LAN network but have no channel or connection together.User 1 can calling to system A, or user 2.
I know asterisk can do it, but i don’t know how to configure. Please help me how to configure it.
Thanks alot!![/b]
You must know which call where to forward.
When 1 (B) dial 2(A) - he should dial number that B knows it must forward to A.
This is done by dialplan, or you can check dundi
[quote=“g2010”]i believe you are looking for the “autocreatepeer=yes” option in the general block of sip.conf.
This should allow non-peer SIP UAs to connect with your server and access the specified context.[/quote]
Thanks for help me, but what’s about specifed context, can you explain more clearly. I have to create a specified context for it or i should add special extension in the already context and what is extension to do this?
[quote=“g2010”]i believe you are looking for the “autocreatepeer=yes” option in the general block of sip.conf.
This should allow non-peer SIP UAs to connect with your server and access the specified context.[/quote]
Thanks for help me, but what’s about specifed context, can you explain more clearly. I have to create a specified context for it or i should add special extension in the already context and what is extension to do this?