Tim Burt
2005-Feb-06 13:52 UTC
[Asterisk-Users] Voicepulse DNID is blank - Any other options?
I just signed up for a second voicepulse number. I assumed that I would be able to differentiate which number the caller dialed. But DNID is empty and DIALEDPEERNUMBER is empty and CHANNEL contains the same info (almost, with the exception of a randomly assigned suffix) for both numbers. Does anyone know how I might determine which number was called? Note, this is not CALLERID. I need the number that the caller CALLED. As a last resort, I guess I could use a different provider for the second number. Can anyone shed any light? Thanks in advance!
Brian Dingman
2005-Feb-06 14:04 UTC
[Asterisk-Users] Voicepulse DNID is blank - Any other options?
Maybe I am missing your exact point, but what about handling this in your extensions.conf [voicepulse-incoming] exten => 2124007999,1,Goto(nyc,s,1) exten => 2124007998,1,Goto(nyc2,s,1) That will put calls to 2124007999 into context nyc and calls to 2124007998 into context nyc2. I guess the real questions is what is your ultimate goal? On Sun, 6 Feb 2005 12:52:21 -0800 (PST), Tim Burt <asterisk-list@timburt.com> wrote:> I just signed up for a second voicepulse number. > > I assumed that I would be able to differentiate which number the caller > dialed. > > But DNID is empty and DIALEDPEERNUMBER is empty and CHANNEL contains the > same info (almost, with the exception of a randomly assigned suffix) for > both numbers. > > Does anyone know how I might determine which number was called? > > Note, this is not CALLERID. I need the number that the caller CALLED. > > As a last resort, I guess I could use a different provider for the second > number. > > Can anyone shed any light? > > Thanks in advance! > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >