[pjsip] Incoming call with multiple accounts

Matthias Hardt mhardt at berlinux-solutions.de
Wed Feb 4 05:45:35 EST 2009


Hi,

I have registered two accounts. When I'm calling
one of them, the account-id for the incoming call
is always the account I registered first.

I'm using pjsip version 1.0.1. So maybe this
is already fixed. If so I'll update my pjsip
installation.

Right now I'm having a workaround by parsing the
Request-line and matching the user name.
I tried using pjsua_acc_find_for_incoming(), but
it gives me the same account id as the on_call_state
callback which is always the first registered
account.

Did someone notice this problem before?

Best regards,
Matthias

___________________________________________
Matthias Hardt
Software Developer

BerLinux Solutions GbR
Stefan Schwarzer & Guido Madaus
Rhinstr. 84
12681 Berlin
Germany

E-Mail: MHardt at berlinux-solutions.de
Phone:  +49 30/86437990




More information about the pjsip mailing list