reallly? really sonus? you're gonna ignore packets cos you don't like how the PAI header is formatted?
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15252 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
7c3e30ce73
commit
9638aee919
|
@ -196,7 +196,7 @@ char *generate_pai_str(switch_core_session_t *session)
|
|||
callee_name = callee_number;
|
||||
}
|
||||
|
||||
if (ua && !zstr(callee_number) && !switch_stristr("polycom", ua)) {
|
||||
if (!zstr(callee_number) && (zstr(ua) || !switch_stristr("polycom", ua))) {
|
||||
callee_number = switch_core_session_sprintf(session, "sip:%s@%s", callee_number, tech_pvt->profile->sipip);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue