[asterisk-users] splitting sip.conf to two files

Danny Nicholas danny at debsinc.com
Fri Feb 19 10:29:46 CST 2010


I think sip.conf will allow the inclusion of a second (or greater) sip2.conf
file.  This might only apply to extensions.conf, but I'm betting all .conf
files are processed with the same parser.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Joseph
Sent: Friday, February 19, 2010 10:22 AM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] splitting sip.conf to two files

Is it possible to split sip.conf into two files (sip1.conf sip2.conf)?

I have an Audiocodes gateway with two FXO ports, and (according to info I
received, and it appears to be correct) Asterisk find the peers based on
their IP 
and not on their IP+PORT. Thus, Audiocodes with two FXO ports registered on
the same devices (=> one single IP with different SIP ports), the last entry
into my sip.conf file is taken into consideration => all calls are sent to
the context of that last extension.

So I can only use one "context" for incoming calls. If I split the sip.conf
into two files will it make any difference.

Is it a limitation/bug in Asterisk or sip.conf?

-- 
Joseph

-- 
_____________________________________________________________________
-- 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




More information about the asterisk-users mailing list