[asterisk-users] mISDN

Timothy Parez timothyparez at linux.be
Wed Nov 29 08:43:47 MST 2006


Hi,

Sorry, uncomenting that actually worked.
Now I need to filter on the last two numbers, that shoulnd't be to hard 
I guess.

Tim.

Giorgio Incantalupo schreef:
> Hi Patrick,
> it seems like Asteirsk cannot match any number, try uncomment the two
> following lines:
>
>   
>> ;exten => _X.,1,Dial(SIP/timothy,30,r)
>> ;exten => _X.,2,Hangup()
>>     
>
> Giorgio Incantalupo
>
>   
>> On Wed, 2006-11-29 at 13:26 +0100, Timothy Parez wrote:
>>     
>>> Hi,
>>>
>>> I'm able to place outgoing calls using mISDN,
>>> but I cannot get incoming calls to work.
>>>
>>> Whenever someone calls one the incoming numbers I get this:
>>> Nov 29 13:21:48 WARNING[7221]: chan_misdn.c:4735 chan_misdn_log:
>>> Extension can never match, so disconnecting
>>>
>>> The caller is then informed by our telco company that the number is
>>> unavailable.
>>>
>>> In misdn.conf I have
>>>
>>> [myoutsidelines]
>>> msns=*
>>> ports=1,2,3,4
>>> context=inisdn
>>>
>>>
>>> I then have a context in extensions.conf
>>>
>>> [inisdn]
>>> ;exten => _.,1,NoOp(Incoming Call from telco ${CALLERID} for
>>> ${EXTEN}@${SIPDOMAIN})
>>> ;exten => _.,2,LookupCIDName
>>> ;exten => _NXXNXXXXXX,3,Dial(sip/sammy,30,r)
>>> ;exten => h,1,HangUp()
>>> ;exten => s,1,Dial(SIP/timothy)
>>> ;exten => s,2,Hangup()
>>> ;exten => _X.,1,Dial(SIP/timothy,30,r)
>>> ;exten => _X.,2,Hangup()
>>> exten s,1,NoOp(Incoming call from ${CALLERID} for ${EXTEN})
>>> exten s,2,Answer()
>>> exten s,3,Echo()
>>> exten s,4,Hangup()
>>> exten i,1,NoOp(Invalid call from ${CALLERID} for ${EXTEN})
>>> exten i,2,Answer()
>>> exten i,3,Echo()
>>> exten i,4,Hangup()
>>>       
>> I had a similar issue. If you turn on the chan_misdn debug messages than
>> you can see what chan_misdn sees as the incoming number. My problem was
>> that my dialplan had for example 881234567 while chan_misdn was seeing
>> 0881234567 so there was no match. A quick change from 881234567 to
>> 0881234567 in my dialplan fixed it.
>>
>> Regards,
>> Patrick
>>
>> _______________________________________________
>> --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
>>
>>     
>
>
> _______________________________________________
> --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
>
>   



More information about the asterisk-users mailing list