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 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://lists.digium.com/pipermail/asterisk-ss7/attachments/20080902/af8dab48/attachment.pgp