Re: [Freeswitch-users] Can this be done in FreeSWITCH?

2009-09-23 Thread Tihomir Culjaga
when i said inline ... i just meant to define some variables in your DP ... this is not a solution for you ... it is rather a proof of concept instead. you need to do a DB lookup (sqlite or mysql). T. On Wed, Sep 23, 2009 at 1:32 AM, Francis Vidal francisv.l...@gmail.comwrote: Yes, this is

[Freeswitch-users] Can this be done in FreeSWITCH?

2009-09-22 Thread Francis Vidal
Hi all, Consider the following scenario: Calling party -- DID provider -- Cisco AS5300 -- POTS provider -- Called party The Calling party calls a number provided by the DID provider. This is then processed by the AS5300 facing the POTS provider to do the following number translation: ANI = 1 +

Re: [Freeswitch-users] Can this be done in FreeSWITCH?

2009-09-22 Thread Michael Collins
How is the DID transported? SIP, PRI, analog DID trunks? -MC On Mon, Sep 21, 2009 at 9:17 PM, Francis Vidal francisv.l...@gmail.comwrote: Hi all, Consider the following scenario: Calling party -- DID provider -- Cisco AS5300 -- POTS provider -- Called party The Calling party calls a number

Re: [Freeswitch-users] Can this be done in FreeSWITCH?

2009-09-22 Thread Tihomir Culjaga
well .. it is AS .. it can be SIP or H323 ... well if it is hooked to a PGW it is MGCP but i doubt... so it is either SIP or H323. i will put a nickel for H323 :P T. On Tue, Sep 22, 2009 at 6:49 PM, Tihomir Culjaga tculj...@gmail.com wrote: so, you say ... CallingParty = AS5300 A: aNum

Re: [Freeswitch-users] Can this be done in FreeSWITCH?

2009-09-22 Thread Tihomir Culjaga
so, you say ... CallingParty = AS5300 A: aNum B: didNum AS5300 = PSTN A: 1 + didNum B: prefix (actually the PSTN subscriber's number) well, without a doubt... you can manipulate whatever number you want ... you just need to find the best way to do it. This depends of the number of DIDs you

Re: [Freeswitch-users] Can this be done in FreeSWITCH?

2009-09-22 Thread Francis Vidal
Hi Michael, The DID is transported via SIP to the router. From the router to the POTS provider, it's PRI. On Wed, Sep 23, 2009 at 12:34 AM, Michael Collins m...@freeswitch.orgwrote: How is the DID transported? SIP, PRI, analog DID trunks? -MC On Mon, Sep 21, 2009 at 9:17 PM, Francis Vidal

Re: [Freeswitch-users] Can this be done in FreeSWITCH?

2009-09-22 Thread Francis Vidal
Yes, this is the desired outcome. I was planning of using FreeSWITCH + MySQL to do this. How do I do this inline? On Wed, Sep 23, 2009 at 12:49 AM, Tihomir Culjaga tculj...@gmail.comwrote: so, you say ... CallingParty = AS5300 A: aNum B: didNum AS5300 = PSTN A: 1 + didNum B: prefix