Regards for everybody Joseph your solution is very interesting, but I think I will have another two problems the first trouble is with billing, Because if I answer the call it will be charged right? And the second trouble is when I send the Hangup the asterisk will drop the call right? 2008/9/2 Joseph <tech at ekn.com> > On 09/02/08, Rony Ron wrote: > > Hi, > > imho you can do it with call forward, > > you receive the number > > you check the database if the number is there > > then forward to the new number (prefixing it with what ever you want) > > BR, > > There is a way to redirect your call back to the central(Ericsson AXE) > instead of keeping the media in your path. > > Here is a sample: > > exten => _X.,1,Set(_SS7_LSPI_IDENT=ON) > exten => _X.,n,Set(_SS7_RLT_ON=YES) > exten => _X.,n,Answer() > exten => _X.,n,Playback(demo-congrats) > > <Do your database lookup here and than redirect the call > back to the ss7 switch based on your lookup results > and drop out of the media path> > > exten => _X.,n,Dial(ZAP/r2/8005551212,30) > exten => _X.,n,Hangup() > > > > > > > Virmones Pereira a ?crit : > > > Hi, > > > > > > I would like to use asterisk with SS7 as a STP for Number Portability > > > GW, the idea of the system is follow: > > > > > > When the SS7 central(Ericsson AXE) receive the call this should be > > > route to the Asterisk to trigger the number portability database by > > > SS7/ISUP method if the asterisk found this destination number in the > > > number portability database asterisk will insert the Routing Number in > > > the begin of the called number and then route back this call to the > > > SS7 central. > > > > > > Ex: > > > > > > user dial 551132323232 this call go the asterisk and asterisk turn > > > back with 55112551132323232. > > > > > > I wanna do this operation using asterisk as a STP where the SS7 use > > > only the signaling channel, the media should go directly to the SSP > > > > > > somebody knows how to do it? > > > > > > > > -- > respectfully, > Joseph > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > > iEYEARECAAYFAki9GN4ACgkQ5CyZqOno04xQ5ACfdnzkePZP4Ubt/A20ZuK6o9E9 > iS0AniIN8HWmn3iASu7VU3RA8zNqJQOl > =rRpr > -----END PGP SIGNATURE----- > > _______________________________________________ > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-ss7 mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-ss7 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-ss7/attachments/20080902/ee7f96d9/attachment.htm