Joseph wrote:
> 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.

there might be an "include" directive in sip.conf (i can't confirm)
however Asterisk will see it as one big sip.conf so it will do
absolutely nothing for you in this situation.

what you can do is setup automatic dial to different extensions on
the 2 ports on audiocodes.

-- 
Edwin Lam <edwin....@officegeneral.com>
Systems Engineer, Office General, Inc.
Ph: +1 415 439 4988 Fax: +1 415 283 3370
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0xD6506D20


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

Reply via email to