[asterisk-users] Connection two asterisk via SIP (call forward)

Frank Becker computersachen at beckerwelt.de
Thu Oct 30 10:59:16 CDT 2008


Hi all,

I try to connect two asterisk-server together. There is a server
(obelix) which receives a call. This call should be transfered to
another server.


In my dialplan at obelix I have the following:
exten => 920622201,1,Dial(SIP/outbound:geheim at asterix.local:${EXTEN})
exten => 920622201,n,Hangup
exten => i,1,Congestion
exten => t,1,Congestion

If I call the number 920622201 obelix shows an output like this

obelix*CLI>
  == ISDN1#02: Incoming call 'XXXX2029870' -> '920622201'
    -- ISDN1#02: Updated channel name: CAPI/ISDN1/920622201-43
    -- Executing Dial("CAPI/ISDN1/920622201-43",
"SIP/outbound:geheim at asterix.local:920622201") in new stack
    -- Called outbound:geheim at asterix.local:920622201


It seems to be correct but at the other server there is no reaction.
Nothing happens.


At the other server I have the following in the sip.conf

[outbound]
context=outbound
type=peer
secret=secretpassword
auth=plaintext
host=192.168.100.2
nat=yes


Can anybody help me?

Best regards and many thanks in advance

Frank Becker




More information about the asterisk-users mailing list