bug in pjsua_callback::on_incoming_call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Good day!

>I have one account 1002 on server 192.168.19.115
>and another account 1002 on server 192.168.19.116
>I have incoming call from server 192.168.19.115 and acc_id =0
>I have incoming call from server 192.168.19.116 and acc_id =0 too. -
should it
be = 1 ?

Question1: how many account have you registered in PJSIP? one or both.
Question2: Do you created separate accounts at you PJSUA application, or
use one
of them?

>next,
>I have one account 1002 on server 192.168.19.115
>and another account 1003 on server 192.168.19.116
>I have incoming call from server 192.168.19.115 and acc_id =0
>I have incoming call from server 192.168.19.116 and acc_id =1.

Then I create acount in PJSUA application I do the next:
0) remove both default accounts (type commands "-a", "1" - first account,
"-a",
"0" - account number zero)
1) type "+a" // create a new account
2) type "sip:6005 at 192.168.2.134:5060" as SIP URL
3) type "sip:192.168.2.134:5060" as URL of the registar
4) type "6005" as Auth Realm
5) type "6005" as Auth Username
6) type "666" as Auth Password

the same for another account - so you will have 2 accounts in PJSUA
accounts list.
Then you call to specified account - it should have correct acc_id.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120217/b49cb9eb/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux