Chinaunix首页 | 论坛 | 博客
  • 博客访问: 145721
  • 博文数量: 18
  • 博客积分: 1799
  • 博客等级: 上尉
  • 技术积分: 210
  • 用 户 组: 普通用户
  • 注册时间: 2005-04-05 20:07
文章分类

全部博文(18)

文章存档

2015年(1)

2012年(2)

2010年(1)

2009年(1)

2008年(3)

2007年(4)

2006年(3)

2005年(3)

分类: 系统运维

2008-07-10 15:22:41

朋友在用asterisk与华为的软交换(大概是x300)对接时,注册和呼叫过程都没问题,被叫也能振铃,但是一接起电话就会断,很郁闷,叫我帮他看看。一听,心想不会吧,是开放标准sip对接喔,即使又不兼容的东西,也不会直接就拆线。于是搭个环境试试,asterisk端作被叫。果然,在asterisk回了200ok后,软交换直接就发了个bye过来,断线。
在asterisk上打开sip debug,看看信令包有何异常。发现软交换发过来的bye上有个reason,
Reason: Q.850;cause=100;text="Invalid information element contents"
呵呵,不理解。上网搜了一下,发现之前有个tx也遇到同样的问题,但是没有给出解决办法。算了,还是看看200ok里面有什么把柄。
看来看去,sdp里面就这个嫌疑最大:a=silenceSupp:off - - - -。
这个有什么用呢?google一下
 
  • Asterisk uses the incoming Stream as a timing source for sending its outgoing Stream. If the incoming stream is interrupted due to silence suppression then musiconhold will be choppy. So in conclusion, you cannot use silence suppression. Make sure ALL SIP phones have disabled silence suppression. There is a solution for the silence suppression problem, see for details.
  • 原来如此,那没什么影响,直接把它从sdp去掉,再试。ok,呼叫一切正常。

    阅读(5909) | 评论(4) | 转发(0) |
    给主人留下些什么吧!~~

    zhyiquan2009-02-04 23:18:27

    请问是改成这样吗 ? if (!p->owner || !ast_internal_timing_enabled(p->owner)) ast_build_string(&a_audio_next, &a_audio_left, "\r\n");

    davidshen2008-08-17 10:30:46

    呵呵,element contents 的提示应该是SDP的问题了

    davidshen2008-08-17 10:30:42

    呵呵,element contents 的提示应该是SDP的问题了

    davidshen2008-08-17 10:30:38

    呵呵,element contents 的提示应该是SDP的问题了