[Asterisk-Users] MSNs don't work for me... :(

Yoann Le Bihan ylebihan at gmail.com
Mon Sep 19 15:52:54 MST 2005


Hi,

My * server is running FreeBSD. The wonderful isdn4bsd with chan_capi
port by hselaski works great, everything is perfect in a perfect
world... but !
These [@$!#] MSNs don't work at all ! My extensions.conf is very
simple for my 5 MSNs (0353, 0416, 0618, 0619 and 0620) :

[rnis-in]
exten => 0353,1,Answer()
exten => 0353,2,Dial(SIP/600,,m)
exten => 0353,3,Hangup

exten => 0416,1,Dial(SIP/603)
exten => 0416,2,Hangup

exten => 0620,1,Dial(SIP/602)
exten => 0620,2,Hangup

exten => 0619,1,Dial(SIP/603)
exten => 0619,2,Hangup

exten => 0618,1,Dial(SIP/601)
exten => 0618,2,Hangup

And rnis-in is the context declared in capi.conf for incoming calls. Well.
But when a call arrives, I have this error in verbose mode :

    -- creating pipe for PLCI=0x1208
    -- started pbx on channel (callgroup=0)!
  == Starting CAPI/contr8/0620-1 at rnis-in,0620,1 failed so falling
back to exten 's'
  == Starting CAPI/contr8/0620-1 at rnis-in,s,1 still failed so
falling back to context 'default'
    -- Executing Answer("CAPI/contr8/0620-1", "") in new stack
    -- CAPI Answering for MSN 0620
    -- Executing Dial("CAPI/contr8/0620-1", "SIP/600||m") in new stack
    -- Called 600
    -- Started music on hold, class 'default', on CAPI/contr8/0620-1
    -- SIP/600-f5a7 is ringing
    -- Stopped music on hold on CAPI/contr8/0620-1
  == Spawn extension (default, s, 2) exited non-zero on 'CAPI/contr8/0620-1'
    -- CAPI Hangingup
    -- removed pipe for PLCI = 0x1208

I'm really disappointed : the MSN is detected (0620). But * tells me
that rnis-in,0620,1 fails !... (the server was rebooted several times,
as I've been trying to solve this problem for at least one week)
And if I add an exten 's' in context 'rnis-in', every calls go to this
exten, never to 0620.

I also tried with and without including 'rnis-in' to 'default'. No
way. Doesn't work.

Is there someone to help me before suicide ? ;o)) please, give me all
your ideas... :)

Cheers,

YLB.
yoann.lebihan at softroad.net



More information about the asterisk-users mailing list