Michel Koenen
2005-Aug-02 15:38 UTC
[Asterisk-Users] How to let ZAPHFC work with and act on different incoming MSNs?
Hi all, I'm struggling some time now with this problem. Googling and searching on this topic did not deliver the answer yet, so my last hope is this list. Analogue to the things which are possible with modem.conf, where I can configure the MSN's to act on, I would like to have similar functionality. This is the idea: I have 1 ISDN line, it can be reached by 4 different MSN's. I have connected the ISDN line to HFC card and I use the ZAPHFC driver. I would like to tell the driver that it should jump to different places in the dial plan depending on the MSN number which was used by the caller. I have this working with a Teles ISA card, see config below (numbers are changed because I dont want everybody to call me;-) ) In modem.conf =====context=incoming_teles group=>0 msn=402911101 msn=402911102 device => /dev/ttyI0 device => /dev/ttyI1 =====In extensions.conf: =====[incoming_teles] exten => s,1,Goto(spiriimpuls,s,1) exten => 4029111101,1,Goto(context1,s,1) exten => 4029111102,1,Goto(context2,s,1) ===== With the ZAPHFC driver it seems that it reacts on every MSN number on that line and it always goes to the 's' extension in the specified context, it does not make use of the MSN id. How to get the same results with the ZAPHFC / zapata.conf / zaptel.conf and/or other config files, or is it not possible due to the nature of 'zap'? Thanks in advance for your contributions. Regards, Michel Koenen
Tzafrir Cohen
2005-Aug-02 23:04 UTC
[Asterisk-Users] How to let ZAPHFC work with and act on different incoming MSNs?
On Wed, Aug 03, 2005 at 12:38:17AM +0200, Michel Koenen wrote:> I have this working with a Teles ISA card, see config below (numbers > are changed because I dont want everybody to call me;-) ) > In modem.confZapHFC is configured in zapata.conf, not in modem.conf, right? -- Tzafrir Cohen | tzafrir@jbr.cohens.org.il | VIM is http://tzafrir.org.il | | a Mutt's tzafrir@cohens.org.il | | best ICQ# 16849755 | | friend
Michel Koenen
2005-Aug-03 02:00 UTC
[Asterisk-Users] How to let ZAPHFC work with and act on different incoming MSNs?
>> I have this working with a Teles ISA card, see config below (numbers >> are changed because I dont want everybody to call me;-) ) >> In modem.conf>ZapHFC is configured in zapata.conf, not in modem.conf, right?>-- >Tzafrir Cohen | tzafrir@jbr.cohens.org.il | VIM isYes, I know but I gave the modem.conf example to show you how it is working with the Teles card. The question was how to get the same thing working with zaphfc. In the mean time I spent some more time to experiment and I found out that with zaphfc I can make use of DID to get the same results. This page gave the solution: http://voip-info.org/tiki-index.php?page=Asterisk+tips+did I just had to set immediate=no and overlapdial=yes to get it working. There is only one tiny issue left: the MSN via modem.conf is delivered as extension 4029111101 to the dial plan, while the MSN via zapata.conf is delivered with an extra 0 prepended so 04029111101. This means that I cannot make use of the same context when using both cards. Does anybody know how to preprocess the extension before it is send to the dialplan context so that the MSN is always presented the same regardless of via which channel it is coming in? Best regards, Michel
Maybe Matching Threads
- Outbound Dialling on ISDN using CAPI - Individual Dial out Plans using msns
- zaphfc hardware & sound trouble
- If Then Else Statements - Outbound Dialling on ISDN using CAPI -Individual Dial out Plans using msns
- zaphfc does not indicate congestion!?
- more than 3 msns with chan_capi