Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] How to capture destination number when receive call through ZAP


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Mon Mar 24, 2008 1:09 pm    Post subject: [asterisk-users] How to capture destination number when rece Reply with quote

Distinctive Ringing might be available from your telecom provider.

mark morreny wrote:
Quote:
Hi all,

I am using Digium PCI board to receive PSTN call through regular phone
line. It is no problem for me to receive calls, but I am not able to
capture the destination number through the ZAP channel


exten => s, n, Verbose(1|destination to ${EXTEN} )


${EXTEN} returns 's' instead of the actual destination number. Since
I have multiple phone numbers, I want to be able to route different
calls to different places.

Is this possible to do with Asterisk?

Thanks,
Mark
------------------------------------------------------------------------

_______________________________________________
-- 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
Back to top
rob at hillis.dyndns.org
Guest





PostPosted: Mon Mar 24, 2008 5:44 pm    Post subject: [asterisk-users] How to capture destination number when rece Reply with quote

Distinctive ring is still not going to provide the line that was called
in the ${EXTEN} variable, so you're still stuck with dialplan trickery
to figure out which number was rung.
Mojo with Horan & Company, LLC wrote:
Quote:
Distinctive Ringing might be available from your telecom provider.

mark morreny wrote:

Quote:
Hi all,

I am using Digium PCI board to receive PSTN call through regular phone
line. It is no problem for me to receive calls, but I am not able to
capture the destination number through the ZAP channel


exten => s, n, Verbose(1|destination to ${EXTEN} )


${EXTEN} returns 's' instead of the actual destination number. Since
I have multiple phone numbers, I want to be able to route different
calls to different places.

Is this possible to do with Asterisk?

Thanks,
Mark
------------------------------------------------------------------------

_______________________________________________
-- 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080325/ddcdaa0b/attachment.htm
Back to top
Guest






PostPosted: Mon Mar 24, 2008 7:00 pm    Post subject: [asterisk-users] How to capture destination number when rece Reply with quote

Rob Hillis wrote:
Quote:
Distinctive ring is still not going to provide the line that was
called in the ${EXTEN} variable, so you're still stuck with dialplan
trickery to figure out which number was rung.


Mojo with Horan & Company, LLC wrote:
Quote:
Distinctive Ringing might be available from your telecom provider.

Of course, but I didn't think OP was stuck on using ${EXTEN}, so was
assuming they'd be great with separate contexts.

Anybody say distinctive ring detection has worked out well for them? I
haven't tried it, myself, but would appreciate the potential if it did
work reliably.

Moj
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services