You also want to add canreinvite=no and type=friend to both entries. Once you get it working you can try removing canreinvite=no. In [user2] you want usermane=2 of course.

David Liu wrote:
Hi Vincent,

This shouldn't be difficult.  Try the following:
in sip.conf

[user1]
username=user1
secret=password
nat=yes
disallow=all
allow=g723.1

[user2]
username=user1
secret=password
nat=yes
disallow=all
allow=g723.1

This will force both users to be in G723.1 mode and it should pass thru without problems.

Note that if you are trying to do transcoding, as in one client wants to talk in G723.1 and the other say in G711 ulaw, then you will get a complain on console saying no compatible codec.
_______________________________________________
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