asterisk - Originating VoIP call using AsterNET in C# -


i try doing

mconnection.sendaction(new originateaction()                 {                     channel = "sip/201test",                     exten = "401",                     context = "201",                      priority = "1",                     callerid = "201",                     timeout = 30000                 }); 

where 201 , 401 extensions connected local network. trying call 201 401. doing wrong?

edit:

  1. i have test application button "call"
  2. i have 2 extensions connected server - 201, 401
  3. i want call 201 401 on "call" button click

channel name selected randomly not sure if right.

update:

```

mconnection.sendaction(new originateaction()                 {                     channel = "sip/401",                     exten = "401",                     context = "default",                     priority = "1",                     callerid = "201"                     timeout = 3000000                 }); 

```

this way 401 receives call 201, when answering phone, voice tells 201 on phone, , followed beep. but 201 not calling, when taking phone tube of 201, not connected 401.

mconnection.sendaction(new originateaction()                 {                     channel = "sip/401",                     exten = "201",                     context = "default",                     priority = "1",                     callerid = "401"                     timeout = 3000000                 }); 

see solution here: https://asternet.codeplex.com/discussions/542916 post link, people having same issue able read discussion clarify mismatches have.


Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -