Speaking from T1 PRI and E1 PRI in West Africa, you tell the telco how many digits to send. Often times, at least in my experience, if not specified, they will only send the last four providing there are no conflicts.<br>
<br>They should be able to send however many digits you require, but maybe they wont.<br><br>-- <br>Thanks,<br>Steve Totaro <br>+18887771888 (Toll Free)<br>+12409381212 (Cell)<br>+12024369784 (Skype)<br><br><br><div class="gmail_quote">
On Thu, Mar 12, 2009 at 10:38 AM, Jimmy Godbout <span dir="ltr"><<a href="mailto:sip@inbox.com">sip@inbox.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Sorry, I indicated the wrong variable.<br>
You can always ask your provider what is sent.<br>
<div class="im"><br>
> -----Original Message-----<br>
> From: <a href="mailto:ssmax@126.com">ssmax@126.com</a><br>
</div><div class="im">> Sent: Thu, 12 Mar 2009 22:11:32 +0800<br>
> To: <a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a><br>
</div><div><div></div><div class="h5">> Subject: Re: [asterisk-users] Is it possible to get full callin number<br>
> fromE1?<br>
><br>
> hi,Jimmy Godbout<br>
><br>
> when +86 13666666666 make a call to -><br>
> +86 020 87654321xxxx -> asterisk<br>
><br>
> the CALLERID(num) will show the caller number +8613666666666<br>
> the ${EXTEN} is the dialed number 87654321<br>
> i will try the CALLERID(dnid) tomorrow, will this get the whole dialed<br>
> number 87654321xxxx ?<br>
> i don't know whether the sp will send me the whole number....<br>
><br>
> ------------------<br>
> ssmax<br>
> 2009-03-12<br>
><br>
> -------------------------------------------------------------<br>
> 发件人:Jimmy Godbout<br>
> 发送日期:2009-03-12 21:35:06<br>
> 收件人:Asterisk Users Mailing List - Non-Commercial Discussion<br>
> 抄送:<br>
> 主题:Re: [asterisk-users] Is it possible to get full callin number fromE1?<br>
><br>
> ssmax,<br>
><br>
> Use CALLERID(num) to get the number that was dialed.<br>
><br>
> Jimmy<br>
><br>
>> -----Original Message-----<br>
>> From: <a href="mailto:ssmax@126.com">ssmax@126.com</a><br>
>> Sent: Thu, 12 Mar 2009 20:40:59 +0800<br>
>> To: <a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a><br>
>> Subject: [asterisk-users] Is it possible to get full callin number from<br>
>> E1?<br>
>><br>
>> Hi all<br>
>><br>
>> i have just set up a asterisk in china, using DE410P and one E1 line<br>
>> and get a phone number like: +86 020 87654321 from my sp<br>
>> when somebody dial +86 020 87654321 , the asterisk will get the<br>
>> call<br>
>> in number by ${EXTEN} variable, but it can only get 87654321, no area<br>
>> code .<br>
>> when someone dial +86 020 87654321xxxx , xxxx means 4 digits, the<br>
>> phone can call in, and the ${EXTEN} is only 87654321 too ,<br>
>> is it possible to get full call in number 87654321xxxx in asterisk<br>
>> ? thanks<br>
>><br>
>> --------------<br>
>> ssmax<br>
>> 2009-03-12<br>
>><br><br>
</div></div></blockquote></div><br><br clear="all"><br>