Hello everybody,

currently I'm implementing redirection into my dialplan.

What I want to do is: If a call comes in to my extension I want to dial back out to my cell phone.
So far it works very well, but I've got a problem with the displayed number on the cell phone.

What I want is that the caller's number ist displayed.

I have contracts with 2 SIP providers. I played a lot with Set(CALLERID(number)=xxx) and Set(CALLERID(rdnis)=xxx) before calling Dial (...).
Surpisingly, the providers behave different:

  • Call comes in via Provider 1 and goes out via Provider 2: 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.

  • Call comes in via Provider 1 and goes out via Provider 1: CALLERID(number) has to be set to the basenumber 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.

Now my question(s):

Is it possible to solve this and if yes, how?
Or is RDNIS curently not supported in Asterisk?
Or are some setting at my providers wrong?
Or am I doing something wrong?

Thanks a lot,
Norbert

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to