1.8 and prematuremedia problem

Home » Asterisk Users » 1.8 and prematuremedia problem
Asterisk Users 11 Comments

hi:
our current connection is below:

sip phone< --->asterisk< ---->alcatel PBX< ---->PSTN

asterisk and alcatel PBX is connected via E1 isdn-pri.

when I use sip phone to dial outside PSTN world:
1. with 1.4 it is fine.
2. with 1.6.2, I need to set prematuremedia=no is sip.conf. or sip
phone can not hear the ring and the beginning of the PSTN voice.
3. with 1.8.3.2, I can not hear ring and the beginning of the PSTN
voice. I try to play options with “prematuremedia” and
“progressinband”. but I can not find working settings.

I don’t know what other options I can try.
thank a lot for information!!

11 thoughts on - 1.8 and prematuremedia problem

  • hi:
    I apply sig_pri.c patch for 1.8.3.2 manually. (the patch can not
    apply to 1.8.3.2 or 1.8.4-rc3).
    but the situation is the same. do I need to play with other options
    with the patch? or I need
    newer asterisk versions to solve the problem?
    thanks a lot for information!!

    2011/5/10 d tbsky :

  • What does your dialplan look like

    Maybe a progress could help
    exten => _9.,1,Progress()
    exten => _9.,n,Dial(DAHDI/g0/${EXTEN}:1)

    Alec

  • hi:
    ok I will create a bug report. and I found I still need
    “prematuremedia=no” in asterisk 1.6.2.18.
    yesterday I was testing at home with zoiper softphone + iax. today I
    test snom hardware sip phone and found that “prematuremedia=no” is
    still necessary.

    Regards,
    tbskyd

    2011/5/11 satish patel :

  • hi:
    I report my issue as issue 19628.
    it is fixed and I run asterisk 1.8 in production now.
    thanks a lot for your help!

    Regards,
    tbskyd

    2011/5/11 d tbsky :

  • Thanks for reply,

    How do i find asterisk using which timing res_timing_timerfd or res_timing_dahdi ?

    -S

  • At the asterisk CLI type “module show like timing”

    Whichever has a use-count >1 is the one you are using.

    Nic.

    Sent: 13 May 2011 16:03

    Thanks for reply,

    How do i find asterisk using which timing res_timing_timerfd or res_timing_dahdi ?

    -S

  • You mean say i don’t use res_timing_dahdi.so ? I guess this is just timing module nothing related to Card.

    _S

    sangoma cards do not use dahdi…

    13.5.2011 v 17:16, satish patel :

    Thank you so much!! I found following (res_timing_timerfd.so in USE). But we have asterisk dahdi install and sangoma A102D pri card configured. Do you think i should use res_timing_dahdi.so ?

    campbx1*CLI> module show like timing
    Module Description Use Count
    res_timing_pthread.so pthread Timing Interface 0
    res_timing_timerfd.so Timerfd Timing Interface 1
    res_timing_dahdi.so DAHDI Timing Interface 0
    3 modules loaded

    At the asterisk CLI type “module show like timing”

    Whichever has a use-count >1 is the one you are using.

    Nic.

    On Behalf Of satish patel

    Sent: 13 May 2011 16:03

    Thanks for reply,

    How do i find asterisk using which timing res_timing_timerfd or res_timing_dahdi ?

    -S

  • hi:
    maybe you can try noload res_timing_timerfd in modules.conf and see
    what asterisk pick up for timing.
    in my system, if I disable res_timing_timerfd, then dahdi timing is
    selected and system become stable.

    Regards,
    tbskyd

    2011/5/14 satish patel :