I want to do inbound routing of calls comming from sip trunks. Is there a way to force the DID that comes from a trunk that does not have DID support? (something like using the outgoing caller-id for the trunk?) My problem is this: I've got several sip trunks (SPA3000). I want to have an IVR in all but one of them, the one that is connected to a cellular adapter. In this line I want to let it ring until somebody picks up because many times we checks the caller-id and calls him back. -- Alejandro Vargas
> I want to do inbound routing of calls comming from sip trunks. Is > there a way to force the DID that comes from a trunk that does not > have DID support? (something like using the outgoing caller-id for the > trunk?) > > My problem is this: I've got several sip trunks (SPA3000). I want to > have an IVR in all but one of them, the one that is connected to a > cellular adapter. In this line I want to let it ring until somebody > picks up because many times we checks the caller-id and calls him > back.One way to do that is to put this special sip trunk in its own context, create a dialplan context specific to this trunk, and do whatever you need to do within that dialplan.
2006/2/22, Alejandro Vargas <alejandro.anv@gmail.com>:> I want to do inbound routing of calls comming from sip trunks. Is > there a way to force the DID that comes from a trunk that does not > have DID support? (something like using the outgoing caller-id for the > trunk?)I answers myself. To identify from where is camming the call, I configured SPA3000 dialplan for inbound calls like this: (S0<:line2@192.168.0.254:5060>) Then, Asterisk sees "line2" as DID and I can make inbound routing with this. -- Alejandro Vargas