[asterisk-users] asterisk misdn incoming line not working.

2006-10-27 Thread Mark Hannessen
Hi list,

I have a server running a simple hfs isdn card running with chan_misdn.
the problem is, I can't get asterisk to pick up the phone, outgoing calls work 
fine.

when running asterisk with -vvvc I get the following log when I try 
to dial the isdn server.

P[ 1] * Starting Ast ctx:kpn-in dad:0594643637 oad:0878722291 with 's' 
extension
P[ 1] MGMT: SSTATUS: L1_ACTIVATED
  == Starting mISDN/1-2 at kpn-in,s,1 failed so falling back to exten 's'
  == Starting mISDN/1-2 at kpn-in,s,1 still failed so falling back to 
context 'default'
Oct 27 01:28:42 WARNING[3514]: pbx.c:2357 __ast_pbx_run: Channel 'mISDN/1-2' 
sent into invalid extension 's' in context 'default', but no invalid handler

087822291 is the number i dial from, 0594643637 is the number that the 
asterisk server should respond to.

in misdn.conf i created a kpn section like this:
[kpn]
ports=1ptmp
;group=1
immediate=yes
always_immediate=yes
context=kpn-in
hold_allowed=yes
msns=*

and in extensions.conf i created a very basic kpn-in section like this:
[kpn-in]
exten = kpn-in,1,Dial(SIP/mark,25,tr)

I don't really have much experience with asterisk so I probably did something 
wrong here, but I couldn't really figure out how to get it done.

anyone out there any ideas?

Mark
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] set outgoing msn on chan_misdn

2006-10-27 Thread Mark Hannessen
hi, does anyone know if it is possible to set the outgoing msn number with 
chan_misdn (the number the people on the other side will see as the caller)

I already tried
Set(CALLERID(num)=1234)
SetVar(CALLERIDNUM=1234)
Set(CALLERID(name)=1234[|a])
Set(CALLERID(number)=1234)

but none of them seem to work :(

Mark
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] chan_misdn

2006-10-25 Thread Mark Hannessen
Hi list,

I ran into some trouble trying to get asterisk (1.4beta2) to compile with 
misdn support. (I need to run a hfc card in NT mode)

when I run ./configure --with-misdn=/usr
it results into the following error:

checking for mISDN_open in -lmISDN... yes
checking /usr/include/mISDNuser/mISDNlib.h usability... no
checking /usr/include/mISDNuser/mISDNlib.h presence... no
checking for /usr/include/mISDNuser/mISDNlib.h... no
configure: ***
configure: *** It appears that you do not have the mISDN development package 
installed.
configure: *** without explicitly specifying --with-misdn

I installed the latest snapshots of mISDN and mISDNuser fron:
http://ftp.uni-bayreuth.de/linux/drivers/isdn4linux/CVS-Snapshots/

mISDN-CVS-2006-10-21 and mISDNuser-CVS-2006-10-20 (both compiled without 
errors for as far as i could see)

ls /usr/include/mISDNuser/
asn1_diversion.h bchannel.h g711.h ibuffer.h isdn_msg.h isound.h mISDNlib.h  
net_l3.h tone.h asn1.h fsm.h helper.h isdn_debug.h isdn_net.h  l3dss1.h 
net_l2.h suppserv.h

anyone any idea what I should try next?

thanks!

Mark Hannessen
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users