Username mismatch between two freepbx servers

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?

Two suggestions:

  1. Use IP Authentication and just allow the two machines to connect to each other via their IP address.
  2. Switch to PJ-SIP for this.

Either (or both) of those should help.

Thank you Dave!

I have choosen ip authentication and that works perfect.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.