Hi community,
i am trying to connect to freepbx servers over a sip trunk. Unfortunately the calls are working just in one direction. When PBX6 calls PBX60 everything works, but PBX60 to PBX6 results in username mismatch:
WARNING[10565][C-00000098] chan_sip.c: username mismatch, have <pbx6_to_60-sip>, digest has <pbx60_to_6-sip>
My Outgoing Settings on PBX60 are:
Trunk name: pbx60_to_6-sip
username=pbx60_to_6-sip
fromuser=pbx60_to_6-sip
type=peer
secret=XXXX
qualify=yes
host=192.168.1.6
context=from-trunk
disallow=all
allow=ulaw
sendrpid=yes
My incoming settings of PBX6 are:
Trunk name: pbx60_to_6-sip
type=friend
secret=XXXX
host=192.168.1.60
context=from-trunk
disallow=all
allow=ulaw
qualify=yes
trustrpid=yes
According to the error message, it trys to connect to the outgoing trunk of PBX6 not the incoming. What do I have to change?