Hi All,

I've a very strange error.
I've configured a Cisco gw with * and when an incoming call is arriving from the Cisco to * asterisk will always put the call in the default context (ignoring the part in the [Cisco])

I'm attaching my conf files:

[general]
port = 5060           ; Port to bind to (SIP is 5060)
bindaddr = 0.0.0.0    ; Address to bind to (all addresses on machine)
disallow=all
allow=alaw
allow=gsm
allow=ulaw
context = from-trunk ; Send unknown SIP callers to this context
callerid = Unknown

[Cisco]
type=user/friend/peer (tried all options)
port=5060
host=myip
context=from-Cisco
disallow=all
allow=alaw
allow=ulaw
qualify=yes
autocreatepeer=yes (with and without this option, in here and in the
general setting)
nat=no
canreinvite=no

on Asterisk Console I see (with Verbose 9):
Executing AbsoluteTimeout("SIP/myip-b6895f10", "15") in new stack
    -- Set Absolute Timeout to 15
    -- Executing Congestion("SIP/myip-b6895f10", "") in new stack
    -- Executing AbsoluteTimeout("SIP/myip-b6895f10", "15") in new
stack
    -- Set Absolute Timeout to 15
    -- Executing Congestion("SIP/myip-b6895f10", "") in new stack

which is my default context:
[from-trunk]
exten => _.,1,AbsoluteTimeout(15)
exten => _.,2,Congestion
exten => _.,3,Hangup

[from-Cisco]
exten => s,1,Answer
exten => s,2,Dial($bla)
exten => s,3,Hangup

Thanks!

 

_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to