[Asterisk-Users] chan capi: Long incomingmsn line in capi.conf?

Peter Braidwood Peter at braidwood.co.uk
Mon Apr 25 10:19:43 MST 2005


I modified the source code as I have 10 msn numbers here at home, I will try to make a diff of the changes.

Peter

> -----Original Message-----
> From: Stefan Helbing [mailto:sth at weblab.de]
> Sent: 22 April 2005 16:40
> To: asterisk-users at lists.digium.com
> Subject: [Asterisk-Users] chan capi: Long incomingmsn line in 
> capi.conf?
> 
> 
> Hello,
> 
> the incomingmsn line in chan_capi's capi.conf is limited to 
> 80 characters (AST_MAX_EXTENSION default value).
> My problem: I have to include several MSNs but NOT all. The 
> interface is a 30 channel PRI card with a number area of 600 
> numbers, splitted in different functions. Some numbers are 
> used for fax, some for PPP, some for telephony.
> (Example: 1234567xx is used for fax, 1234568xx is used for 
> ppp, 1234569xx is used for telephony)
> When I set incomingmsn to * it's fine for asterisk - it gets 
> all calls - but PPP and fax are not working anymore because 
> they don't get any calls.
> In Germany I have to take the whole number without the 
> leading zero of the area prefix. So every MSN has a length of 
> 10 characters. This limits the count of usable MSN to 7 (7*10 
> + 6 commas = 76 chars).
> I tried out to use a wildcard in the string (using the 
> example above: 1234569*) but this doesn't work.
> 
> Any idea (except modifying the source code)? Thank you! :-)
> 
> Best regards
> Stefan
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at 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
> 
> ______________________________________________________________
> __________
> This email has been scanned for all viruses by the Star 
> Internet Virus Screen.
> The service is provided in partnership with MessageLabs, the 
> email security company.
> For more information on a higher level of virus protection 
> visit www.star.net.uk
> ______________________________________________________________
> __________
> 

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________



More information about the asterisk-users mailing list