pjsip beginner with 2 questions

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

 





--- On Mon, 3/23/09, Ming-Ching Tiew <mctiew at yahoo.com> wrote:


> 
> 1. How do I configure a Display Name ?
> 

I fixed it with pjsua --id='Display Name <sip:username at domain.com>'


> 2. When I make a call, I want to script it by playing a
> file or send DTMF. How do I do that ?
> 
>

When I make call, the program will hang at :-

Choices:
   0         For current dialog.
  -1         All 1 buddies in buddy list
  [1 - 1]    Select from buddy list
  URL        An URL
  <Enter>    Empty input (or 'q') to cancel
Make call: 1
 12:58:00.172  pjsua_media.c  Opening sound device PCM at 16000/1/20ms
 12:58:00.176    ec0x81b3848  AEC created, clock_rate=16000, channel=1, samples per frame=320, tail length=200 ms, latency=96 ms

It will never return. But if I run pjsua --null-audio, then the program will proceed without hang. But I don't need this to be fixed as long as I could get going to script my outgoing calls my playing a file and send dtmf after that.

Any help will be much appreciated.



      



[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