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