[asterisk-users] Is it possible to get full callin number from E1?

MaxGao ssmax at 126.com
Fri Mar 13 01:52:04 CDT 2009


thanks all
     i found the telco only send me the normal number 87654321 
     i just want to start a fax service and people can direct dial some extend num like 87654321xxxx...but it never send to me ... so the only thing i can do is to provide a ivr and let the people enter the extend num then jump to fax.
     thanks alot ~



在2009-03-13 03:42:54,"D Tucny" <d at tucny.com> 写道:

2009/3/12 ssmax <ssmax at 126.com>
Hi all

   i have just set up a asterisk in china, using DE410P and one E1 line
   and get a phone number like: +86 020 87654321 from my sp
   when somebody dial  +86 020 87654321 , the asterisk will get the call in number by ${EXTEN} variable, but it can only get 87654321, no area code .

As others have mentioned in this thread, this is pretty normal... Telco's all have different policies on how many digits they will pass for the dialled number, some may let you specify, but often each telco has an internal standard... You don't need the rest of the number, but if you're doing something where it would be useful to have it, you can easily add the prefix yourself... It's also worth pointing out at this point, the prefix is either 020 or +86-20 for Guangzhou depending on whether it's written for national or international use, the 0 is not dialled internationally...
 

   when someone dial  +86 020 87654321xxxx , xxxx means 4 digits,  the phone can call in, and the  ${EXTEN}  is only  87654321 too ,
   is it possible to get  full call in number 87654321xxxx  in asterisk ?  thanks

 
This is confusing... Guangzhou numbers are only 8 digits long + prefixes, so, +86 20 87654321 would be the number... Where do you get 'xxxx' from? What would be more normal would be that you'd by DDIs with your ISDN30 service, such that you'd have for example, a range of 100 numbers say from 87654000 to 87654099, though you can buy more... With this, the number dialled (or the last 8 digits in your case) would be accessible through the ${EXTEN} variable... I guess it could be possible that your telco is attempting to offer some other type of service that allows them to issue you a single number, but, that they will accept as many as four additional digits that they will pass to you in some way, but, it's impossible to say what they are doing here and how it's been implemented... I would further suspect that if this is the case that there would be a very distinct chance that this would only work with inbound calls from other users of the same telco, and in China, in the same city...

Within China, telco interoperability can be flaky at best and, from experience, the fact the telco engineers don't entirely understand their huawei switches for local problems and for problems over a wider area, the fact that the national telcos are split into provincial and city organisations that don't appear to communicate without going through some circuitous route via the telco's head office both lead to some very long fix times if there ever is a fix... That said, as long as you have cash, you can get them to provide almost any service you want, though they won't often offer anything but the most basic service, you have to ask for it...


d
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090313/468f51ca/attachment.htm 


More information about the asterisk-users mailing list