Norbert Zawodsky
2006-Dec-30 17:22 UTC
[asterisk-users] Theory behind RDNIS and does it work or not?
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Hello everybody,<br> <br> currently I'm implementing redirection into my dialplan.<br> <br> What I want to do is: If a call comes in to my extension I want to dial back out to my cell phone.<br> So far it works very well, but I've got a problem with the displayed number on the cell phone.<br> <br> What I want is that the caller's number ist displayed.<br> <br> I have contracts with 2 SIP providers. I played a lot with Set(CALLERID(number)=xxx) and Set(CALLERID(rdnis)=xxx) before calling Dial (...).<br> Surpisingly, the providers behave different:<br> <br> <ul> <li><u>Call comes in via Provider 1 and goes out via Provider 2: </u>Provider 2 seemst to ignore everything. No matter what I set CALLERID(number) and/or CALLERID(rdnis) to, on the cellphone appears the number Provider 2 assigned to me.<br> <br> </li> <li><u>Call comes in via Provider 1 and goes out via Provider 1: </u>CALLERID(number) has to be set to the <u><b>base</b></u>number Provider 1 assigned to me. Otherwise I get the error "Forbidden - wrong password on authentication for INVITE to ....". But I can set CALLERID(number) to whatever I like as long as it starts with my base number. For example, Set(CALLERID(number)=${EXTEN] displays basenumber+my extensio n on the cellphone. Setting CALLERID(rdnis)=xxx is completely ignored.<br> </li> </ul> <br> Now my question(s):<br> <br> Is it possible to solve this and if yes, how?<br> Or is RDNIS curently not supported in Asterisk?<br> Or are some setting at my providers wrong?<br> Or am I doing something wrong?<br> <br> Thanks a lot,<br> Norbert<br> <br> </body> </html>