Sorry, I indicated the wrong variable. You can always ask your provider what is sent.
> -----Original Message----- > From: ss...@126.com > Sent: Thu, 12 Mar 2009 22:11:32 +0800 > To: asterisk-users@lists.digium.com > Subject: Re: [asterisk-users] Is it possible to get full callin number > fromE1? > > hi,Jimmy Godbout > > when +86 13666666666 make a call to -> > +86 020 87654321xxxx -> asterisk > > the CALLERID(num) will show the caller number +8613666666666 > the ${EXTEN} is the dialed number 87654321 > i will try the CALLERID(dnid) tomorrow, will this get the whole dialed > number 87654321xxxx ? > i don't know whether the sp will send me the whole number.... > > ------------------ > ssmax > 2009-03-12 > > ------------------------------------------------------------- > 发件人:Jimmy Godbout > 发送日期:2009-03-12 21:35:06 > 收件人:Asterisk Users Mailing List - Non-Commercial Discussion > 抄送: > 主题:Re: [asterisk-users] Is it possible to get full callin number fromE1? > > ssmax, > > Use CALLERID(num) to get the number that was dialed. > > Jimmy > >> -----Original Message----- >> From: ss...@126.com >> Sent: Thu, 12 Mar 2009 20:40:59 +0800 >> To: asterisk-users@lists.digium.com >> Subject: [asterisk-users] Is it possible to get full callin number from >> E1? >> >> 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 . >> 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 >> >> -------------- >> ssmax >> 2009-03-12 >> >> >> >> _______________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users > > ____________________________________________________________ > GET FREE 5GB EMAIL - Check out spam free email with many cool features! > Visit http://www.inbox.com/email to find out more! > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users ____________________________________________________________ GET FREE 5GB EMAIL - Check out spam free email with many cool features! Visit http://www.inbox.com/email to find out more! _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users